Repository navigation
Clarify offline default branch planning - #320
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 18, 2026, 4:55 PM ET / 20:55 UTC. Summary Reproducibility: yes. from source inspection: current main's offline helper reports Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the narrow metadata correction after the contributor adds real offline-run proof and normal CI completes. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current main's offline helper reports Is this the best way to solve the issue? Yes; reporting an unknown branch and linking the repository root is the narrowest maintainable correction when offline mode cannot hydrate the real default branch. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a6ee02e323c1. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Validation evidenceLocal validation run against this branch: Result: Behavior covered by the regression test: The test verifies that offline planning reports: {
"name": "unknown",
"sha": null,
"url": "https://github.com/openclaw/openclaw",
"note": "offline mode did not fetch current default branch"
}This keeps online behavior unchanged while avoiding fabricated |
|
Landed after maintainer verification. Proof:
Landed commit: |
Summary
Avoid reporting
mainas the repository branch when plan-cluster runs in offline mode and cannot hydrate the real default branch.Online planning already asks GitHub for
default_branch. Offline planning cannot know that value, so the artifact should mark it as unknown instead of fabricating amainbranch URL.Changes
maintounknown./tree/main.Validation
corepack pnpm run build:repairnode --test test/repair/plan-cluster.test.ts