Repository navigation
fix(ci): unblock authority and policy gates - #1845
EffortlessSteven wants to merge 2 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Summary by CodeRabbit
WalkthroughThe change adds traceability and allowlist metadata for editor integration and legacy dialect conformance, while updating authority audit tests to derive repository paths from the workspace manifest location. ChangesAuthority audit conformance
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e76d362e3
ℹ️ 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".
| "crates/ripr/src/lsp/capabilities.rs", | ||
| "crates/ripr/src/lsp/agent_protocol.rs", | ||
| "crates/ripr/src/lsp/actions.rs", | ||
| "editors/vscode/package.json", |
There was a problem hiding this comment.
Add the VS Code client to SPEC-0129 traceability
RIPR-SPEC-0129's Implementation Mapping names editors/vscode/src/client.ts as the VS Code client capability-advertisement surface, but this new traceability row only records editors/vscode/package.json for the editor side. For any future editor-capability change in client.ts, the long-context traceability graph will say SPEC-0129 is registered while omitting the file that owns Layer 2 negotiation, so client drift can escape the spec→code audit. Add editors/vscode/src/client.ts to the code array and rerun cargo xtask check-traceability.
Useful? React with 👍 / 👎.
|
Follow-up proof update: the coverage artifact showed two remaining cwd-relative fixture reads in hidden_singleton_and_legacy_ready_block_migration and duplicate_consumer_and_issue_identities_are_rejected. Commit 72e63bd anchors both through CARGO_MANIFEST_DIR; the full �ctive_goal_authority::tests:: module is now 14/14 passing, with cargo fmt --check, cargo xtask check-file-policy, and cargo xtask check-traceability also passing. Hosted checks are rerunning on the new exact head. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.ripr/traceability.toml:
- Around line 6889-6890: Remove the duplicate array-of-table headers so each
metadata record has exactly one header: in .ripr/traceability.toml lines
6889-6890, retain one [[behavior]] before RIPR-SPEC-0129; at lines 6915-6916,
retain one [[behavior]] before RIPR-SPEC-0130; and in
policy/non-rust-allowlist.toml lines 452-453, retain one [[allow]] before the
legacy-dialect metadata.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: f78f5a2a-dd2d-404e-9a14-b99565c5a943
📒 Files selected for processing (3)
.ripr/traceability.tomlpolicy/non-rust-allowlist.tomlxtask/src/active_goal_authority.rs
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
EffortlessMetrics/ripr(auto-detected)EffortlessMetrics/unsafe-review(auto-detected)EffortlessMetrics/perl-lsp(auto-detected)EffortlessMetrics/ub-review(auto-detected)
|
|
||
| [[behavior]] |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Remove the duplicate array-of-table headers.
Each edited manifest currently creates an empty record before the intended populated record, leaving the traceability/policy gates with malformed metadata.
.ripr/traceability.toml#L6889-L6890: retain one[[behavior]]header beforeRIPR-SPEC-0129..ripr/traceability.toml#L6915-L6916: retain one[[behavior]]header beforeRIPR-SPEC-0130.policy/non-rust-allowlist.toml#L452-L453: retain one[[allow]]header before the legacy-dialect metadata.
📍 Affects 2 files
.ripr/traceability.toml#L6889-L6890(this comment).ripr/traceability.toml#L6915-L6916policy/non-rust-allowlist.toml#L452-L453
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.ripr/traceability.toml around lines 6889 - 6890, Remove the duplicate
array-of-table headers so each metadata record has exactly one header: in
.ripr/traceability.toml lines 6889-6890, retain one [[behavior]] before
RIPR-SPEC-0129; at lines 6915-6916, retain one [[behavior]] before
RIPR-SPEC-0130; and in policy/non-rust-allowlist.toml lines 452-453, retain one
[[allow]] before the legacy-dialect metadata.
Summary
Swarm / Source Boundary
ipr-swarm
Source-of-truth Links
Proposal: n/a
Spec: docs/specs/RIPR-SPEC-0128-active-goal-authority-audit.md, docs/specs/RIPR-SPEC-0129-editor-integration-contract.md, docs/specs/RIPR-SPEC-0130-ripr-authority-map.md
ADR: n/a
Plan item: docs/IMPLEMENTATION_PLAN.md
Active goal:
ust-one-shot-evidence-to-repair
Issue: Reconciles inherited gate failures affecting #1830, #1831, and #1837
Scope
Scope Classification
This PR is scoped by:
Production delta:
Evidence/support delta:
Single acceptance criterion:
Non-goals:
Support-tier Impact
Policy Impact
Ledger or exception notes:
Proof
�ash cargo test -p xtask --bin xtask active_goal_authority::tests::repository_inventory_is_complete_and_deterministic -- --exact cargo test -p xtask --bin xtask tests::policy_checker_facade_runs_current_repo_checks -- --exact cargo test -p xtask --bin xtask active_goal_authority::tests:: cargo xtask check-file-policy cargo xtask check-spec-format cargo xtask check-traceability cargo fmt --check cargo xtask precommitResult, failures, or skipped proof:
Claim Boundary
Rollback
Revert commit 8e76d36; this removes the path anchoring, traceability registrations, and exact fixture exception together.
Spec-Test-Code Traceability
Static Language Check
CI Economics
Engineering Check
Gates
References: #1830 #1831 #1837