Skip to content

Tests: pin afd-plugin's shadow-only invariant, not its enabled flag - #271

Merged
tzhouam merged 1 commit into
mainfrom
kb/afd-shadow-invariant
Sep 30, 2026
Merged

tzhouam merged 1 commit into
mainfrom
kb/afd-shadow-invariant

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Two tests asserted the afd-plugin adapter has knowledge_lifecycle.enabled: false. kb init's deepen stage flips exactly that key to true (design kb-init, PR 3), so its knowledge PR #270 failed CI on those two assertions, which a knowledge PR cannot touch. The invariant both tests meant is that afd-plugin never auto-merges: they now assert mode == "shadow" and not auto_merge, which holds on either side of the flip.

Unblocks #270 (re-run its checks after this merges).

🤖 Generated with Claude Code

Two tests asserted the afd-plugin adapter has knowledge_lifecycle
enabled: false. kb init's deepen stage flips exactly that key to true
(design kb-init, PR 3), so its knowledge PR #270 failed CI on those
two assertions, which a knowledge PR cannot touch. The invariant both
tests meant is that afd-plugin never auto-merges: they now assert
mode == shadow and not auto_merge, which holds on either side of the
flip.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T19:43:51.186271Z 5d62301 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tzhouam
tzhouam merged commit 611bd6d into main Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant