Repository navigation
docs(status): record the plan-review-verdict fix, the token root cause, and the Codex re-request fix - #115
Merged
Conversation
… auth token Session summary: dashboard PR openclaw#306 hardened the Codex-review verdict logic (4 adversarial rounds folded, merged bc44ebe). Also records the root cause found while diagnosing the loop being fully manual since ~Jul 9: CLAUDE_CODE_OAUTH_TOKEN in both the repo secret and this server's ~/.bashrc does not have the shape a real `claude setup-token` value has — needs the owner to re-mint and re-set it in both places before either automated lane can run again. Co-Authored-By: Claude Opus 5 <[email protected]>
The entry claimed CLAUDE_CODE_OAUTH_TOKEN was still broken and listed rotating it as the top follow-up. It was fixed by the owner on 2026-08-08 19:16; the claim came from a stale read plus mistaking skipped/cancelled runs for failures. Records the real root cause instead (ANSI codes and terminal wrapping corrupting the token), the fact that claude[bot] is now folding unattended, and PR openclaw#318's re-request fix — which is still unproven, since a workflow cannot be exercised from a branch. Co-Authored-By: Claude Opus 5 <[email protected]>
cryptolir
force-pushed
the
docs/status-2026-08-10-session
branch
from
August 10, 2026 15:33
55ff577 to
7b81d7e
Compare
cryptolir
added a commit
that referenced
this pull request
Aug 11, 2026
…#120) diagnostic-cron.sh pulled $REPO unconditionally with --rebase --autostash. The dashboard checkout immediately below it is already guarded, with the comment "only touch it on main — never yank someone's feature branch out from under them". The checkout the cron RUNS FROM had no such guard, where the consequence is worse: a --rebase there does not merely fail, it rewrites whoever's branch is checked out. Measured today. The 06:00 run found /root/AgentGlob_Apps/openclaw on a local feature branch (docs/status-2026-08-10-session, unpushed, 2 commits), rebased it onto main, hit a STATUS.md conflict, and left the repo detached mid-rebase with an unmerged path. The `|| echo WARN` swallowed it, so the run still looked successful. Every later `git pull` there failed with "needs merge" — about 9 hours, until it was aborted by hand. The scripts kept running from a half-rebased tree the whole time. Recovery was non-destructive (git rebase --abort restored the branch with both commits; its STATUS.md turned out to be identical to main, the work having already landed as #115), but nothing about the failure mode guarantees that — the same conflict on genuinely unmerged work is a worse morning. Now: pull only on main; if detached or mid-rebase, print a loud ERROR with the exact recovery command, because that state means every script below is running from an unknown tree; otherwise skip the pull and say which branch blocked it. Verified all three arms, including that an off-main checkout skips rather than rewrites. This is OB-32's mechanism, one level worse than that entry describes: OB-32 records the cron silently SKIPPING work when a shared checkout is off main. This is the cron actively CORRUPTING the checkout, then reporting success. Co-authored-by: Liran Peretz <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
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.
Records the 2026-08-09/10 session per MULTI_AGENT_PROTOCOL.md §2 (update at session end).
claude.ymlre-requests Codex review throughCODEX_REVIEW_PATinstead of writing a mention asclaude[bot], which Codex always bounces. Still unproven: §6 forbids exercising a workflow from a branch, so the next plan PR is the real test./root/projects/openclaw*paths repointed.claude setup-tokenemits ANSI colour codes, and a terminal narrower than the 108-char token wraps it — either corrupts the HTTP header. Plus the trap that the local CLI cannot verify a token at all.Also corrects an earlier draft of this entry that called the token outage still-open. It was fixed 2026-08-08 19:16; I had read a stale timestamp and mistaken
skipped/cancelledruns for failures — the exact misreading §5 warns about. Noted in the file so the next session does not repeat it.Doc-only change to STATUS.md. No code touched.