feat(journal): add compact resume handoff summary (#1027)#1113
Merged
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This was referenced May 12, 2026
Add a compact oc_journal handoff summary over existing sanitized journal and checkpoint artifacts. Keep the surface read-only, bounded, and explicit about unavailable live state so OpenChrome helps host agents recover without taking over planning. Constraint: The existing checkpoint store only has a current checkpoint file, so checkpointId is informational unless set to current. Rejected: Creating a new planner or durable task ledger | that would duplicate open task-ledger/context-handle work and expand OpenChrome beyond a harness surface. Confidence: high Scope-risk: moderate Directive: Keep future handoff fields evidence-first and mark non-persisted live state as unavailable instead of guessing. Tested: npm run build; eslint handoff/checkpoint/journal/mcp-server sources; jest handoff-summary/journal/task-journal; real OpenChrome E2E journal-handoff restart scenario. Not-tested: Full repository test suite. Co-authored-by: OmX <omx@oh-my-codex.dev>
2a0b4f6 to
ff42afd
Compare
…t cap After adding the "handoff_summary" action, the oc_journal description inflated to ~427 chars, tripping the issue #841 description-length audit. Compress the action list and guidance lines so the resolved description fits under MAX_DESCRIPTION_CHARS (400) while still documenting all three actions and the when-to-use / when-NOT-to-use heuristic. Restores green CI on every OS for PR #1113.
…pr-1113-fix # Conflicts: # src/tools/journal.ts
Closed
26 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progress / Review status
Auto-refreshed 2026-05-13 — owner comments cleaned up to reduce review noise.
feat/1027-journal-handoff→developff42afd— Help agents resume long browser sessions safelyOwner comment cleanup: 0 issue + 0 inline review comments deleted. Outstanding feedback from automated/external reviewers above is unchanged.
Summary
oc_journalactionhandoff_summary, a compact JSON read model over sanitized journal entries plus the existing current checkpoint file.isError: trueas failed in the task journal, so non-throwing tool failures can appear in recovery summaries.Direction / overlap review
checkpointIdis intentionally limited: the current checkpoint store only hascurrent, so non-current ids are reported inlimitsinstead of inventing state.Validation
npm run build./node_modules/.bin/eslint src/journal/handoff-summary.ts src/tools/journal.ts src/tools/checkpoint.ts src/mcp-server.ts --max-warnings=0./node_modules/.bin/jest --runTestsByPath tests/journal/handoff-summary.test.ts tests/tools/journal.test.ts tests/journal/task-journal.test.ts --runInBand./node_modules/.bin/jest --config tests/e2e/jest.e2e.config.js --runTestsByPath tests/e2e/scenarios/journal-handoff.e2e.ts --runInBandReal OpenChrome verification covered
oc_checkpoint, records a non-throwing failed tool result, callsoc_journalhandoff_summary, verifies redaction and bounded recovery options, restarts the MCP process, and verifies the summary can still be produced from persisted artifacts.