Repository navigation
chore: rolling promotion dev -> main - #2558
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NsWxejunK58EcPHpubGk2M
📝 WalkthroughWalkthroughRuntime convergence now reconciles stale planned intent with live Codex and Claude plugin state, accepts already-disabled Claude plugins during restoration, and adds coverage for these cases. Genie release manifests are updated to version ChangesRuntime convergence
Manifest release updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant RefreshState
participant RuntimeIntegrations
participant PluginRuntime
RefreshState->>RuntimeIntegrations: provide planned refresh intent
RuntimeIntegrations->>PluginRuntime: query live plugin state
PluginRuntime-->>RuntimeIntegrations: return enabled or disabled state
RuntimeIntegrations->>PluginRuntime: apply reconciled convergence action
RuntimeIntegrations->>RefreshState: clear refresh state file
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request introduces automated metrics tracking by adding run logs and state files under .genie/agents/metrics-updater/, and displaying these metrics in the README.md. Feedback was provided regarding the README.md changes, pointing out that wrapping a Markdown table inside HTML <p> tags prevents proper rendering on GitHub, and a suggestion was made to fix the layout.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| <p align="center"> | ||
|
|
||
| | Metric | Value | | ||
| |--------|-------| | ||
| | Releases (24h) | 5 | | ||
| | Avg merge time (7d) | 3.7h | | ||
| | SHIP rate (7d) | 100% | | ||
|
|
||
| <sub>Last updated: 2026-07-12</sub> | ||
| </p> |
There was a problem hiding this comment.
Markdown tables wrapped inside HTML block tags like <p> or <div> are not parsed or rendered correctly by GitHub Flavored Markdown (GFM). The table will render as plain text instead of a structured table. To fix this, either use standard HTML table tags (<table>, <tr>, <td>, etc.) inside the <p> tag, or remove the <p align="center"> wrapper entirely so the Markdown table renders correctly.
| <p align="center"> | |
| | Metric | Value | | |
| |--------|-------| | |
| | Releases (24h) | 5 | | |
| | Avg merge time (7d) | 3.7h | | |
| | SHIP rate (7d) | 100% | | |
| <sub>Last updated: 2026-07-12</sub> | |
| </p> | |
| | Metric | Value | | |
| |--------|-------| | |
| | Releases (24h) | 5 | | |
| | Avg merge time (7d) | 3.7h | | |
| | SHIP rate (7d) | 100% | | |
| <p align="center"><sub>Last updated: 2026-07-12</sub></p> |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d0ecc29642
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <a href="https://discord.gg/xcW8c7fF3R"><img alt="discord" src="https://img.shields.io/discord/1095114867012292758?style=flat-square&color=00D9FF&label=discord" /></a> | ||
| </p> | ||
|
|
||
| <!-- METRICS:START --> |
There was a problem hiding this comment.
Remove retired metrics artifacts from the promotion
This reintroduces the metrics block that the release-docs contract explicitly forbids: scripts/release-docs.test.ts:177-181 asserts README must not contain <!-- METRICS:START --> and that .genie/agents/metrics-updater/{runs.jsonl,state.json} must be absent. With this commit, bun test scripts/release-docs.test.ts fails on that assertion, so the full bun run check gate is broken until these generated metrics artifacts are removed or the contract is intentionally changed.
Useful? React with 👍 / 👎.
The Claude plugin manifest declared: "hooks": "./hooks/hooks.json" Claude Code already loads hooks/hooks.json automatically from the standard path, so naming it again in manifest.hooks registers the same file twice and the plugin fails to load its hooks: Failed to load hooks from .../automagik/genie/<version>/hooks/hooks.json: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file ... The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files. Drop the redundant field. The file itself is unchanged and still shipped by build-binary.sh; only the duplicate manifest reference is removed. The Codex manifest keeps its "hooks" field on purpose: it points at ./hooks/codex-hooks.json, a non-standard filename that is not auto-loaded. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…te-hooks fix(plugin): stop double-registering the Claude hooks file
…ale refresh intent The claude disabled-state restore shelled 'plugin disable' with allowAlready=false, so an already-disabled plugin (the normal case after 'plugin update') turned the whole integration refresh into FAILED, and the failure kept the refresh-intent file alive so every later update failed the same way. A leftover planned-phase intent also outranked live plugin state: a user who manually re-enabled the plugin had it silently re-disabled by the next update. Planned phase means no destructive command is in flight, so live state is authoritative; later phases keep trusting the file for crash recovery. Reproduced live on v5.260712.1 (stable).
A scheduled cloud session re-added the README metrics block and .genie/agents/metrics-updater state after their retirement, breaking the release-docs guard test and holding dev CI red.
…e-idempotent fix(update): tolerate already-disabled claude plugin and reconcile stale refresh intent
Rolling Promotion PR
Auto-maintained rolling promotion PR from
devtomain.Process:
ready-to-mergeadded when all checks passSummary by CodeRabbit
5.260712.2, and adjusted the genie plugin manifest by removing thehooksentry.