docs: add changelog#2
Open
suJayhh wants to merge 1 commit into
Open
Conversation
m13v
added a commit
that referenced
this pull request
Jul 6, 2026
) Root cause of lost drafts: a producer cycle that dies after its worker writes the result but before consuming it strands the result in claude-queue/result/ (a consumed result is deleted, so a surviving one = never consumed) -> no plan, no merge, no card. Nothing detected or recovered these. #1 Salvage (scripts/salvage_orphaned_prep_results.py, wired into run-draft-and-publish.sh): scans result/ for orphaned twitter-prep results (past the queue timeout so no live producer is racing, and within a max-age so stale threads are retired) and merges their candidates into the review queue via merge_review_queue.py (dedup-safe). Recovered 11 real stranded drafts on first run. #2 Success/orphan visibility (claude_job.py): log a "consumed result for job X" event on the success path (the silent gap that made an orphaned result look identical to a healthy one); the salvage script logs the "ORPHAN ..." event. #3 Correlation (claude_job.py): every provider.log line now carries batch=<BATCH_ID> so it links to the cycle's own twitter-cycle-<batch>.log. #4 Remote visibility (scripts/relay_provider_log.py, wired into mcp/src/index.ts): tail claude-queue/provider.log to Cloud Logging (context="queue-provider"), incremental + self-locking + forward-only baseline, so a stranded batch on a customer box is queryable remotely instead of only on the box. Also: refresh the CLAUDE.md note now that the persona lane is arm-aware. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
This PR adds a project changelog to document recent changes.
Generated with OpenHelper.