Hey. I am Aniruddha Adak.
A final year computer science student coding from a hostel room in West Bengal.
Two years ago, I was staring at a blank terminal. I was trying to understand how Git actually worked. I was terrified of merge conflicts.
Today, I am looking back at 348 merged pull requests across dozens of repositories.
Open source completely changed how I write code.
But for the DEV Summer Bug Smash, I do not want to talk about the easy wins. I want to share a real Smash Story.
I want to talk about the chaos.
Here are the 11 critical bugs across modern AI and web frameworks that forced me to become a better software engineer.
The Windows Curse
Bugs in open source rarely look like simple syntax errors. They look like complete system failures.
While contributing to advanced Graph RAG tools like cognee and AI frameworks like openclaw, I noticed a silent killer.
Most maintainers build on Unix systems. They use Mac. They use Linux.
Windows users are often left in the dark.
🐞 In cognee, users were facing a chaotic OS Error 3. Windows was struggling with long file paths during dataset context resolution. It completely broke the local database integration.
I dove into the LanceDB integration and wrote a fix to automatically prefix Windows paths. This bypassed the legacy path limits.
Closes #2941
This PR automatically normalizes and prefixes absolute Windows paths for the vector_db_url when using local filesystem storage. This resolves OS Error 3 triggered by LanceDB subprocesses when generating long file paths for persisting vector data on Windows.
posted on
The Silent AI Crashes
AI agents are powerful. But they are incredibly fragile when they receive unexpected data.
🦗 In the hermes-agent repository, I found a bug where the system would panic if an API returned an empty response. I implemented a fix to handle None responses gracefully from the ACP permission requests.
What does this PR do?
This PR hardens the ACP ? Hermes permission-approval bridge by safely handling an unexpected None result from
equest_permission, preventing attribute errors and defaulting to a safe deny.
Related Issue
Fixes #13449
Type of Change
- [x] ?? Bug fix (non-breaking change that fixes an issue)
- [ ] ? New feature (non-breaking change that adds functionality)
- [ ] ?? Security fix
- [ ] ?? Documentation update
- [x] ? Tests (adding or improving test coverage)
- [ ] ?? Refactor (no behavior change)
- [ ] ?? New skill (bundled or hub)
Changes Made
- Return "deny" when
equest_permission resolves to None in the approval callback.
- Add a unit test covering the None response case to ensure the callback denies safely.
How to Test
- Connect via an ACP client that sends an empty response to permission requests.
- Verify the permission is denied rather than throwing an exception.
Checklist
Code
- [x] I've read the Contributing Guide
- [x] My commit messages follow Conventional Commits
- [x] I searched for existing PRs to make sure this isn't a duplicate
- [x] My PR contains only changes related to this fix/feature (no unrelated commits)
- [x] I've run pytest tests/ -q and all tests pass
- [x] I've added tests for my changes (required for bug fixes, strongly encouraged for features)
- [x] I've tested on my platform
Documentation & Housekeeping
- [x] I've updated relevant documentation (README, docs/, docstrings) � or N/A
- [x] I've updated cli-config.yaml.example if I added/changed config keys � or N/A
- [x] I've updated CONTRIBUTING.md or AGENTS.md if I changed architecture or workflows � or N/A
- [x] I've considered cross-platform impact (Windows, macOS) per the compatibility guide � or N/A
- [x] I've updated tool descriptions/schemas if I changed tool behavior � or N/A
posted on
🪰 Second, I found a vulnerability where global settings were exposed and public registration was left wide open. I locked it down.
Closes #3084
This PR addresses the security vulnerabilities reported in #3084:
- Requires superuser privileges for POST /api/v1/settings to prevent global configuration takeover.
- Fully masks LLM and VectorDB API keys in GET /api/v1/settings to prevent leaking key prefixes.
- Adds a COGNEE_PUBLIC_REGISTRATION_ENABLED environment variable to allow administrators to disable public self-registration.
posted on
🐛 Batch 3 Edge Cases: I patched another layer of database failures.
Resolves #606, resolves #607, resolves #608, resolves #609, resolves #610. Expands the
_build_database_directive()function to correctly train the LLM to identify Compositional Faults (treating simultaneous CPU and Storage constraints as independent sources while filtering out connection bounds), infer replication lag from bare WAL metrics despite missing Replica metrics, accurately ignore historical maintenance distractions via timestamps, identify stale autoscaling recovery, and distinguish VACUUM-driven Checkpoint Storms.
posted on
🪳 Validation Status: I fixed a critical bug by including eks_* keys so the system could correctly identify a healthy state.
Fixes #582
Type of Change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
What changed and why
The
is_clearly_healthy()short-circuit relies on the presence of keys in_INVESTIGATED_EVIDENCE_KEYSto verify that an investigation collected evidence. This set was missing all Kubernetes / EKS keys. Because of this gap, investigations finding pure-Kubernetes workloads in a healthy state missed the short-circuit and incorrectly ran the root cause LLM.
This PR adds the missing EKS investigation keys (
eks_pods,eks_events,eks_deployments,eks_node_health,eks_pod_logs) to_INVESTIGATED_EVIDENCE_KEYS.
Note: This relies on the changes from #581 where the EKS mappers populate these keys in
state["evidence"].
Testing steps with evidence
- Added parameterized unit tests in
tests/nodes/root_cause_diagnosis/test_evidence_checker.py.
- Tested the
is_clearly_healthyfunction directly, ensuring pure-EKS healthy configurations returnTrue, mixed outputs returnTrue, and an unhealthystatecorrectly blocks it returningFalse.
Impact analysis
Backward Compatibility: Yes, fully compatible.
Breaking Changes: None. This saves redundant reasoning LLM tokens and time.
AI-Assisted Contribution
- [x] I have reviewed every line of code.
- [x] I understand the logic.
- [x] I have tested edge cases.
- [x] I have verified the code matches the project conventions.
posted on
The Ghost in the UI
Sometimes the most annoying bugs are the ones the user stares at directly.
🪰 In openclaw, the configuration wizard would just look broken if a user had no skills set up. It was a blank void. I jumped into the frontend and built an empty state notice to guide the user forward.
Summary
- Rebase the skills wizard empty-state fix onto current
main.
- Show an explicit all-ready note when skill setup has no missing dependencies to install.
- Add localized title copy and focused regression coverage.
Real behavior proof
Behavior addressed:
setupSkills()could show the status summary, ask to configure skills, and then exit without any next-step note when every non-blocked skill was already eligible and no requirements were missing.
Real environment tested: local OpenClaw source checkout on macOS, Node/pnpm repo runtime, with a temporaryOPENCLAW_HOMEand the production skills status/setup path exercised directly throughnode --import tsx.
Exact steps or command run after this patch:OPENCLAW_HOME=$(mktemp -d) TMP_WS=$(mktemp -d) node --import tsx --input-type=moduleprobe that builds real workspace skill status, disables the few missing non-blocked local skills to create the all-ready state, then callssetupSkills()with a recording prompter.
Evidence after fix:
{
"disabledMissingSkills": [
"qqbot-channel",
"qqbot-media",
"qqbot-remind"
],
"finalNote": {
"title": "All skills ready",
"message": "No missing skill dependencies to install.\nTo inspect available skills, run: openclaw skills list --verbose\nTo check skill status, run: openclaw skills check"
}
}
Observed result after fix: the wizard emits an
All skills readynote withopenclaw skills list --verboseandopenclaw skills check, does not show dependency multiselect, and does not call the installer.
What was not tested: no manual interactive terminal wizard session; the direct probe exercises the production setup path with a recording prompter, and the focused test covers the exact prompter calls.
Verification
pnpm test src/commands/onboard-skills.test.ts
pnpm check:test-types
git diff --check
- Auto Review: clean, no accepted/actionable findings.
powered by Sentry.
Let us keep creating in the open.
↗ Original-Artikel auf dev.to lesenVollständiger Original-BerichtAusführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.Wie bewertest du diesen Beitrag?1 Klick FeedbackTeilen mit Netzwerk & Team:Hat Ihnen dieser Tipp / Anleitung geholfen?Community-Analysen & Experten-Meinungen 0
Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf „ Eigene Analyse verfassen“!Community Pulse: Relevanz-Einschätzung1 Klick Experten-Votum🔴 Akute Relevanz 0%🟡 In Evaluierung 0%🟢 Keine Auswirkung 0%Spannende Innovation 0%Port 8095 EngineVerwandte Story-Cluster & Quellen (Vektor-KI)
Tipp: Mit Pfeiltasten [ ← ] und [ → ] blättern![]()
Ähnliche Beiträge
🔍 Verwandte NewsAuch interessante Nachrichten I Merged 348 PRs. Here Are The 11 Bugs That Tested My Sanity.
Thematisch verwandte Begriffe: Merged, Here, Bugs, That · 6 Treffer
🔧 Programmierung DEV CommunityCatching Cross-Language Copy-Paste Debt with Static Analysis and AI Pair-Programmers
🕵️ Sicherheitslücken freeCodeCamp Programming TutHow AI Is Changing Patching and What Devs Need to Know About Exposure Management
🕵️ Sicherheitslücken InfoSec Write-ups - MediumHow I Turned Self-XSS into Reflected XSS (and Bypassed the WAF)
🔧 AI Nachrichten DZone.com FeedBuilding Agentic RAG, Step by Step: From Static Retrieval to Reasoning Pipelines
🔧 Programmierung Towards Data ScienceWhy Most Multi-Agent Systems Fail Even When Evaluation Passes
Laden...Videos werden geladen ...
Laden...Beiträge werden geladen ...
Laden...Videos werden geladen ...
Laden...Beiträge werden geladen ...
Laden...Videos werden geladen ...
Laden...Beiträge werden geladen ...
Laden...Videos werden geladen ...
Laden...Beiträge werden geladen ...
Laden...Videos werden geladen ...