Skip to content

Self-heal stale VS Code repo-scan ignores in older Guardex repos#364

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/self-heal-repo-scan-ignores-2026-04-23-12-12
Apr 23, 2026
Merged

Self-heal stale VS Code repo-scan ignores in older Guardex repos#364
NagyVikt merged 1 commit intomainfrom
agent/codex/self-heal-repo-scan-ignores-2026-04-23-12-12

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • self-heal managed git.repositoryScanIgnoredFolders entries from the Active Agents extension on activation and workspace-folder changes
  • mirror the repo-scan ignore merge logic into the template extension copy
  • add focused regression coverage plus a T1 OpenSpec notes change

Verification

  • node --test test/vscode-active-agents-session-state.test.js test/metadata.test.js (new self-heal regression and live-template sync assertions passed; unrelated local semver baseline failures remain)
  • openspec validate --specs

Older repos can keep stale git.repositoryScanIgnoredFolders until setup or doctor reruns, so the Active Agents extension now merges the managed ignore list on activation and workspace-folder changes while preserving user entries and tolerating read-only settings.

Constraint: Existing repos can have tracked .vscode/settings.json values that predate the newer managed ignore list
Rejected: Require operators to rerun gx setup or gx doctor | stale repos stay noisy in default VS Code repo scan
Confidence: high
Scope-risk: narrow
Directive: Keep the managed repo-scan ignore list in sync across src/context.js and the live/template Active Agents extension copies
Tested: node --test test/vscode-active-agents-session-state.test.js test/metadata.test.js (new self-heal regression and live-template sync assertions passed; unrelated semver baseline failures remain)
Tested: openspec validate --specs
Not-tested: Full Node suite without the pre-existing local semver module failure
@NagyVikt NagyVikt merged commit 6cb3c21 into main Apr 23, 2026
1 check passed
@NagyVikt NagyVikt deleted the agent/codex/self-heal-repo-scan-ignores-2026-04-23-12-12 branch April 23, 2026 10:22
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