Skip to content

fix: resolve Issue #10 — 12 edge-case bugs across agent-shared-contex… - #11

Merged
tak2-08 merged 1 commit into
mainfrom
fix/issue-10-comprehensive
Aug 27, 2026
Merged

fix: resolve Issue #10 — 12 edge-case bugs across agent-shared-contex…#11
tak2-08 merged 1 commit into
mainfrom
fix/issue-10-comprehensive

Conversation

@tak2-08

@tak2-08 tak2-08 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

…t tools

  • ac.mjs: YAML frontmatter injection (yq escaper) + unicode slug filename collision (data loss) via id-hex suffix; diary append uses readFileSync
  • agent-sessions.mjs / agent-radio.mjs: reject path-separator names (isValidName), create inbox before registry write (no poisoning), exit 1 on {error} results
  • agent-radio.mjs: validate mentions against sessions registry
  • agent-handoff.mjs: error (exit 1) on explicit nonexistent handoff file instead of silent CURRENT.md fallback; YAML-escape task/session
  • agent-context-validate.mjs: FAIL files without frontmatter (CURRENT.md/ README.md exempt) to fix validator/indexer count mismatch
  • agent-context-index.mjs: lint gate skips invalid entries when lint.onIndexRegenerate is true
  • agent-context-init.mjs: scaffold from repo config as single source of truth (search.synonyms + handoff type now propagated)
  • benchmark.mjs: dynamic scales in markdown (no crash with <3 scales)
  • agent-context.config.json: add 'handoff' to types enum

All fixes verified with before/after reproduction; repo CI-equivalent (validate, index --check, e2e-workflow) passes.

…t tools

- ac.mjs: YAML frontmatter injection (yq escaper) + unicode slug filename
  collision (data loss) via id-hex suffix; diary append uses readFileSync
- agent-sessions.mjs / agent-radio.mjs: reject path-separator names
  (isValidName), create inbox before registry write (no poisoning),
  exit 1 on {error} results
- agent-radio.mjs: validate mentions against sessions registry
- agent-handoff.mjs: error (exit 1) on explicit nonexistent handoff file
  instead of silent CURRENT.md fallback; YAML-escape task/session
- agent-context-validate.mjs: FAIL files without frontmatter (CURRENT.md/
  README.md exempt) to fix validator/indexer count mismatch
- agent-context-index.mjs: lint gate skips invalid entries when
  lint.onIndexRegenerate is true
- agent-context-init.mjs: scaffold from repo config as single source of
  truth (search.synonyms + handoff type now propagated)
- benchmark.mjs: dynamic scales in markdown (no crash with <3 scales)
- agent-context.config.json: add 'handoff' to types enum

All fixes verified with before/after reproduction; repo CI-equivalent
(validate, index --check, e2e-workflow) passes.
@tak2-08
tak2-08 merged commit 88ad22d into main Aug 27, 2026
1 check passed
@tak2-08
tak2-08 deleted the fix/issue-10-comprehensive branch August 27, 2026 02:07
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