Repository navigation
feat(loop): a journal issue per day, with the body as the summary - #5
Merged
Merged
Conversation
Closing the monthly journal forced this forward from Phase 4: rung 6 pointed at a hardcoded `journalIssue: 2`, so closing that issue would have left the loop with nowhere to write. One issue per day, found by title and label rather than by a number in config — so nothing needs updating when the day rolls over, and the old "open next month's issue and edit the config in the same PR" dance disappears. Created lazily: no issue on a day the loop does nothing. The date is a Vancouver date, because keying to UTC splits each local day across two issues. The real gain is that the body is editable and a comment is not. Comments stay the append-only per-run log; the body is rewritten every run to hold the day's rolling summary and, crucially, a current `Awaiting you`. That retires the addendum machinery, which existed only because a correction could not be made where the reader looks — the loop now fixes the summary in place and leaves the comment as the historical record of what that run believed. reflect reads `label:ops-journal is:open` for the week and closes them last, after its PR is open: a crash midway should leave the journals intact, since they are the only input it cannot reconstruct. Co-Authored-By: Claude Opus 5 <[email protected]>
Closed
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.
Summary
ops-journalissue per day, found by title and label instead of a hardcoded number in configreflectnow reads the week's open journals and closes themChanges
workflow/skills/loop-run/SKILL.md— rung 6 rewritten; the addendum section is replaced by body-rewrite guidanceworkflow/skills/reflect/SKILL.md— readslabel:ops-journal is:open, closes them lastloop-config.json—journalIssue/journalIssueNotereplaced by ajournalblock with no issue number in itContract impact
Changes the loop's own memory format. Brought forward from Phase 4 because closing the monthly journal (as requested) would otherwise leave rung 6 writing to a closed issue.
Test results
claude plugin validate ./workflow --strictpassesManual verification
Ops journal — YYYY-MM-DDin claude-workflow, unassigned, labelledops-journalNotes for reviewer
This retires the addendum rules. They existed only because the MCP surface can create comments but not edit them, so a correction could never be made where the reader looks. With the summary in the body, the loop corrects in place and the comment stands as the record of what that run believed at the time.
No issue number in config. The old design stored
journalIssue: 2and had rung 6 open next month's issue and edit the config in the same PR. Finding today's by title and label removes that whole path.