Repository navigation
Conversation
|
Important Review skippedWe couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 Walkthrough
Merge Risk: 🟡 Moderate · up to
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | Docstring coverage is 6.25% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 16 functions across 10 files. (2 skipped: … | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (4 passed)
-
Check name Status Explanation Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled. Title check ✅ Passed The title clearly and concisely describes the main change: adding the ApexCompress command safety extension. Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 6.25% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 16 functions across 10 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1
-
🧪 Generate unit tests (beta)
-
- Create a new PR
🛠️ Fix failing CI checks 💡
-
- Commit to this branch
- Create a new PR
-
Comment @coderabbitai help to get the list of available commands.
|
Expansion overlay removed; base matchers already review all mutating apex commands since they are unsafe by default (no |
kantorcodes
left a comment
There was a problem hiding this comment.
This needs the current Extension contribution wiring before it can merge: add the canonical contribution JSON, trust-class map, action/risk registration, docs catalog/README generation, control baseline/digest updates, wheel/release staging entries, and the installed-artifact/trust tests. The runtime matcher/test files alone leave command.apex unshipped and absent from generated policy/catalog surfaces. Regenerate from current main rather than hand-editing generated files.
…ification for apex
|
I've added the required extension contribution wiring:
(Note: I regenerated the docs locally with a light environment, but due to a local |
|
Fixed! Regenerated the docs directory now that the trust-class map is updated, so |
Superseded by the contributor's new head; contribution, trust, risk, docs, and frozen-staging wiring are now present.
kantorcodes
left a comment
There was a problem hiding this comment.
Finish the installed-runtime artifacts on this head: add command.apex.json to the wheel force-include, regenerate contracts/extensions/native-command-program.v1.json, the control baseline, decision-diff report, and projection vector, then add installed wheel/frozen verification for command.apex. Use the current generators rather than hand-editing those artifacts.
|
All the requested installed-runtime artifacts and hashes have been updated!
(Note: If |
Superseded after 9f27272 added the wheel, frozen staging, baseline, decision-diff, and projection artifacts.
kantorcodes
left a comment
There was a problem hiding this comment.
Rebase onto current main; this head is 5 commits behind. contracts/extensions/native-command-program.v1.json is still not regenerated, and there is still no installed wheel/frozen verification for command.apex. Add those two pieces from the rebased tree and rerun the generator/check plus installed-artifact gate.
9f27272 to
e97ad9c
Compare
|
Rebased onto the latest
|
Fixed on e97ad9c: rebased onto current main, native program regenerated, and package/frozen contribution coverage is in place.
|
PR author is not in the allowed authors list. |
372fdf0
e1647db
96cea52
CI failed: The required CI aggregate failed because native-workspace, ci-python-312, and macos-gates failed, plus one truncated Rust integration test (portable_command_source_fixtures) and one macOS gauntlet replay test hit native review unavailability; the logs don't show the underlying errors for most jobs, so change relation is unclear.OverviewFour unique error templates across 533 analyzed logs for commit e0ac049. The failures are a cascade: a required-jobs aggregate gate failing on three upstream jobs, a single truncated Rust integration test, and a single macOS replay test that appears unrelated to the PR. No finding has a confirmed link to the ApexCompress changes. FailuresRequired aggregate gate blocked by upstream failures in native-workspace, ci-python-312, macos-gates (confidence: high)
Rust test failure: portable_command_source_fixtures::every_portable_command_source_fixture_passes (confidence: medium)
macOS gauntlet replay: native_pre_tool_unavailable for queue-git-c-sibling-grep-head@codex (confidence: high)
Summary
Code Review ✅ Approved 7 closed / 7 findings🟡 Medium risk · Adds opt-in detection for Apex compression, extraction, and repair commands that may overwrite files, potentially prompting review of legitimate archive operations. Adds an opt-in ApexCompress command safety extension that flags destructive compress, extract/decompress, and repair/fix invocations while leaving list, diff, info, and test commands unflagged. Resolved this session: the unresolved-expansion matcher now applies to apex rules, the README protection model matches generator output, wrapped ✅ 7 closed✅ Quality: Unresolved-expansion matcher is dead code for apex rules
✅ Bug: apex README protection model contradicts generator output
✅ Edge Case: Wrapped apex --help/-h invocations bypass safe variants
✅ Edge Case: Leading apex options let expanded action evade review
✅ Security: command.apex missing from external trust map, so it defaults to on
...and 2 more closed from earlier reviews VerificationRules 2 not applicable Functional validation Not enabledFor more verification details, comment Options ✅ Auto-apply✅ Auto-apply is on → Gitar will commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Adds the ApexCompress command safety extension.
Uses the built-in extension registry to track mutating commands (compress, extract/decompress, repair/fix) while ignoring safe read-only operations (list, diff, info, test). Incorporates a rule to flag invocations carrying unresolved shell expansions, matching the structure of repo2nb's safety extension.
Summary by CodeRabbit
New Features
Documentation
Tests
Summary by Gitar
command.apexextension trust binding asexternalwith a generated contribution catalog entrycommand.apex.jsoncommand source and a largecommand-source-apex.v1.jsontest fixtureThis will update automatically on new commits.