Skip to content

fix(atlas): compact repeated verification reminders#5484

Draft
cosmosjeon wants to merge 1 commit into
code-yeongyu:devfrom
cosmosjeon:fix/start-work-reminder-compression
Draft

fix(atlas): compact repeated verification reminders#5484
cosmosjeon wants to merge 1 commit into
code-yeongyu:devfrom
cosmosjeon:fix/start-work-reminder-compression

Conversation

@cosmosjeon

@cosmosjeon cosmosjeon commented Jun 22, 2026

Copy link
Copy Markdown

Summary

Reduce context growth in Atlas/Boulder orchestrator sessions by showing the full verification reminder only once per parent session. Later subagent completions now get a compact reminder that points back to the already-shown protocol while preserving the verification gate, real-surface QA requirement, and task(task_id=...) resume guidance.

This is intentionally narrow for reviewability. It does not change boulder state, task tracking, file-change summaries, completion-gate ordering, or continuation injection.

Changes

  • Track whether the full verification reminder has already been shown in SessionState.
  • Add a compact verification reminder for repeated same-session completions.
  • Consume the "full reminder shown" state only when a verification reminder is actually emitted, so final-wave approval waits do not accidentally skip the first full reminder.
  • Add focused coverage for repeated completion behavior and compact reminder content.

Verification

  • bun test ./packages/omo-opencode/src/hooks/atlas/verification-reminders.test.ts ./packages/omo-opencode/src/hooks/atlas/tool-execute-after-reminder-compression.test.ts
    • latest post-edge-fix run: 13 pass, 0 fail
  • bun test ./packages/omo-opencode/src/hooks/atlas/*.test.ts
    • latest post-edge-fix run: 188 pass, 0 fail
  • bun run packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.ts <changed files>
    • latest post-edge-fix run: no violations in 5 files
  • bun run typecheck:packages
    • passed
  • bun build packages/omo-opencode/src/index.ts --outdir <tmp> --target bun --format esm --external zod
    • passed
  • bash .omo/evidence/20260621-start-work-reminder-compression/live-hook-qa.sh
    • passed against isolated opencode serve
  • bash .agents/skills/opencode-qa/scripts/lib/common.sh --self-check
    • passed
  • bash .agents/skills/opencode-qa/scripts/sse-hook-probe.sh --self-test
    • passed
  • bash .agents/skills/opencode-qa/scripts/server-smoke.sh --self-test
    • passed
  • bash .agents/skills/opencode-qa/scripts/serve-wake-split-probe.sh --self-test --evidence-dir .omo/evidence/20260621-start-work-reminder-compression/opencode-qa-serve-wake-self-test
    • passed

Live hook-fire QA proof from the isolated run:

  • real OpenCode DB session count stayed unchanged: 2738 -> 2738
  • sandbox DB contained 3 sessions
  • captured reminder parts showed db_phase_count=1 and db_compact_count=1
  • local plugin initialized once for the isolated server run

Notes

Full bun run build was not used as the primary build gate because this worktree's install/build path previously stalled while cloning the unrelated packages/shared-skills/upstreams/open-design submodule. The focused plugin entry build and package typecheck both passed.

LSP MCP diagnostics could not be collected at the end because the MCP transport was closed. TypeScript package typecheck passed as the substitute static gate.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA).

To sign the CLA, please comment on this PR with:

I have read the CLA Document and I hereby sign the CLA

This is a one-time requirement. Once signed, all your future contributions will be automatically accepted.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot added the opencode OpenCode edition: packages/omo-opencode label Jun 22, 2026
@cosmosjeon cosmosjeon changed the title [codex] compact repeated Atlas verification reminders fix(atlas): compact repeated verification reminders Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

opencode OpenCode edition: packages/omo-opencode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant