Skip to content

feat: harden degraded inspection and config validation#24

Merged
ganesh47 merged 3 commits intomainfrom
feat/spec-gap-closure-loop
Mar 26, 2026
Merged

feat: harden degraded inspection and config validation#24
ganesh47 merged 3 commits intomainfrom
feat/spec-gap-closure-loop

Conversation

@ganesh47
Copy link
Owner

Summary

  • validate malformed active config surfaces with source-aware, path-specific errors
  • make stale child lineage more visible in inspect summaries and suggestions
  • add degraded-run coverage for stale child runs and malformed run-ledger entries

Why

This is the first execution slice from the long-horizon spec-gap closure board. It targets the highest-leverage trust gaps from the audit:

  • malformed config silently undermining workflow behavior
  • partial or stale run artifacts making inspect less trustworthy
  • malformed run directories weakening the ledger surface

Validation

  • npm test -- test/config.test.ts test/inspect.test.ts test/runs.test.ts
  • npm run typecheck
  • npm test
  • npm run build
  • /tmp/sqlite-metadata-proposal:
    • bin/cstack.js runs --recent 3
    • bin/cstack.js inspect 2026-03-16T12-49-00-888Z-intent-what-are-the-gaps-in-this-project-can-you-work-o

Notes

  • This PR intentionally does not tackle the broader GitHub-robustness track yet.
  • Unknown config keys are still tolerated; this slice hardens known active config surfaces first.

@ganesh47 ganesh47 merged commit a80070e into main Mar 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant