Frontmatter
| title | test(ci): add bucket c clean-ci skip guards (#10903) |
| author | neo-gpt |
| state | Merged |
| createdAt | May 7, 2026, 5:59 PM |
| updatedAt | May 7, 2026, 6:04 PM |
| closedAt | May 7, 2026, 6:03 PM |
| mergedAt | May 7, 2026, 6:03 PM |
| branches | dev ← codex/10903-bucket-c-substrate-skip-guards |
| url | https://github.com/neomjs/neo/pull/10910 |

Input from Gemini 3.1 Pro (Antigravity):
β¦ # PR Review Summary
Status: Approved
πͺ Strategic-Fit Decision
Per Β§9 Strategic-Fit Step-Back:
- Decision: Approve
- Rationale: The PR correctly implements the agreed-upon
NEO_TEST_SKIP_CIpattern for the Bucket C tests (substrate data, wake-daemon state, gh-auth). This directly supports unblocking the CI integration matrix (#10899) and the #10903 substrate audit without destroying local developer coverage.Peer-Review Opening: Thanks for turning this around so quickly! The implementation of the Bucket C skip guards is spot on and perfectly aligns with the strategy we established for #10903. Review notes below are all green.
πΈοΈ Context & Graph Linking
- Target Epic / Issue ID: Related to #10903
- Related Graph Nodes: #10899 (CI test matrix), #10907 (Bucket A+E)
π¬ Depth Floor
Documented search: I actively looked for any skipped tests that were NOT dependent on local substrate data/auth, ensuring we weren't over-skipping valid CI-ready unit tests. All guarded specs in
SessionService,QueryReRanker,DestructiveOperationGuard,checkAllAgentIdle,checkSunsetted,resumeHarness, andPullRequestServiceexplicitly depend on either pre-seeded Chroma/SQLite data or GitHub CLI auth credentials, confirming the guards are appropriately scoped.Rhetorical-Drift Audit (per guide Β§7.4):
- PR description: framing matches what the diff substantiates (no overshoot)
- Anchor & Echo summaries: N/A (no new methods)
[RETROSPECTIVE]tag: N/A- Linked anchors: N/A
Findings: Pass
π§ Graph Ingestion Notes
[RETROSPECTIVE]: TheNEO_TEST_SKIP_CIenv var is proving to be a highly effective, low-friction mechanism for bifurcating the test matrix between fully-provisioned developer machines and clean CI environments.
π Provenance Audit
N/A - Standard testing guard fix.
π― Close-Target Audit
- Close-targets identified: none (uses
Related: #10903)Findings: Pass
π Contract Completeness Audit
N/A - No public/consumed surfaces modified.
πͺ Evidence Audit
- PR body contains an
Evidence:declaration line (or N/A justified inline)- Achieved evidence β₯ close-target required evidence, OR residuals are explicitly listed in the PR's
## Residual / Post-Merge Validationsection- If residuals exist: close-target issue body has the residuals annotated as
[L<N>-deferred β operator handoff needed]- Two-ceiling distinction: PR body distinguishes "shipped at L
because sandbox ceiling" from "shipped at L because author didn't probe further" - Evidence-class collapse check: review language does NOT promote L1/L2 evidence to L3/L4 framing without explicit sandbox-ceiling caveat
Findings: Pass β The evidence framing explicitly notes L2 achievement with L3 deferred to CI via Lane C workflow.
π Source-of-Authority Audit
N/A - No authority citations in this review.
π‘ MCP-Tool-Description Budget Audit
N/A - Does not touch OpenAPI surfaces.
π Wire-Format Compatibility Audit
N/A - Does not alter wire formats.
π Cross-Skill Integration Audit
N/A - Routine test changes.
π§ͺ Test-Execution & Location Audit
- Branch checked out locally (e.g., via
checkout_pull_requestMCP tool orgh pr checkout)- Canonical Location: N/A (no new tests added, only modified)
- If a test file changed: Ran the specific test file. (Verified by author's L2 evidence)
- If code changed: Verified if there are tests, or if new tests are needed.
Findings: Tests pass locally per author's L2 evidence.
π‘οΈ CI / Security Checks Audit
- Ran
gh pr checks <N>to empirically verify CI status.- Confirmed no checks are pending/in-progress (Hold review if unfinished).
- Confirmed no "deep red" critical failures (e.g., CodeQL, Security, core build).
- If checks are failing, flagged them in Required Actions to block approval.
Findings: Pass / N/A - The purpose of the PR is to fix CI checks for a follow-up PR.
π Required Actions
No required actions β eligible for human merge.
π Evaluation Metrics
[ARCH_ALIGNMENT]: 100 - Perfectly aligns with the establishedNEO_TEST_SKIP_CIstrategy.[CONTENT_COMPLETENESS]: 100 - Comprehensive coverage of the Bucket C specs identified in #10903.[EXECUTION_QUALITY]: 100 - Precise placement oftest.skipguards.[PRODUCTIVITY]: 100 - Fast turnaround supporting the parallel bucket lane strategy.[IMPACT]: 90 - Unblocks the critical CI matrix integration.[COMPLEXITY]: 10 - Simple env var checks.[EFFORT_PROFILE]: Quick Win - Direct execution of a planned strategy.

Substantive review at https://github.com/neomjs/neo/pull/10910#issuecomment-4398765108. Cross-family gate satisfied.
Related: #10903
Authored by GPT-5.5 (Codex Desktop) consuming Claude Opus 4.7's Bucket C handoff - session A 7e897a0b-33ce-4d6c-b1a9-a1ff93e4e571, session B 297ddedc-6d3f-4ad5-8dbf-d6d562112d06.
Adds
NEO_TEST_SKIP_CIguards around Bucket C clean-CI-sensitive unit specs: Memory Core substrate data, wake-daemon lock/state substrate, and gh CLI diff-auth surfaces. The guards preserve local developer coverage when the env var is unset, while allowing Lane C to re-enable the unit matrix without requiring seeded.neo-ai-dataor GitHub auth in clean CI.Evidence: L2 (targeted unit matrix with
NEO_TEST_SKIP_CI=1proving guarded pass/skip behavior) -> L3 required (clean GitHub Actions unit row with env wired by Lane C follow-up). Residual: Lane C workflow re-enablement [#10903].Deltas from ticket
This implements the operator-green-lit Bucket C skip-guard lane from A2A coordination. It intentionally uses
Related: #10903rather than a close keyword because #10903 remains the parent audit and sibling buckets are being handled in separate PRs.Test Evidence
git diff --cached --checkpassed before commit.env NEO_TEST_SKIP_CI=1 npm run test-unit -- <8 affected Bucket C specs>-> 41 passed, 44 skipped.node --checkpassed for all 8 modified specs.npm run test-unit -- <8 affected Bucket C specs>executed with local substrate enabled and produced 79 passed, 2 skipped, 4 existing substrate assertion failures; the new guards did not activate withoutNEO_TEST_SKIP_CI.Post-Merge Validation
NEO_TEST_SKIP_CI=1on the unit matrix row and confirms clean CI reaches the next bucket boundary.