Repository navigation
docs(public-followup): document tasks-axi 0.2.3 requirement and add version guard to test suite - #53
Conversation
The suite drives `tasks-axi public-followup` end to end, but its guard only checked that tasks-axi exists. tasks-axi gained `public-followup` in 0.2.3, and the bootstrap compatibility probe in bin/fm-tasks-axi-lib.sh does not cover it (that gate owns the backlog-mutation verbs: --archive-body and mv [<id>...]). So a box with 0.2.2 installed passed the guard and then died on the first `public-followup add` with the opaque "could not create the public commitment", which reads as a product bug rather than a stale tool. CI never saw it because CI runs `npm install -g tasks-axi`, which resolves to the latest published build. Probe the verb directly and skip with a message that names the real cause and the fix.
|
Warning Review limit reached
Next review available in: 42 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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 |
…ersion guard to test suite (#53) * tests: skip fm-public-followup when tasks-axi predates the verb The suite drives `tasks-axi public-followup` end to end, but its guard only checked that tasks-axi exists. tasks-axi gained `public-followup` in 0.2.3, and the bootstrap compatibility probe in bin/fm-tasks-axi-lib.sh does not cover it (that gate owns the backlog-mutation verbs: --archive-body and mv [<id>...]). So a box with 0.2.2 installed passed the guard and then died on the first `public-followup add` with the opaque "could not create the public commitment", which reads as a product bug rather than a stale tool. CI never saw it because CI runs `npm install -g tasks-axi`, which resolves to the latest published build. Probe the verb directly and skip with a message that names the real cause and the fix. * no-mistakes(document): document tasks-axi 0.2.3 requirement for public-followup
…ersion guard to test suite (#53) * tests: skip fm-public-followup when tasks-axi predates the verb The suite drives `tasks-axi public-followup` end to end, but its guard only checked that tasks-axi exists. tasks-axi gained `public-followup` in 0.2.3, and the bootstrap compatibility probe in bin/fm-tasks-axi-lib.sh does not cover it (that gate owns the backlog-mutation verbs: --archive-body and mv [<id>...]). So a box with 0.2.2 installed passed the guard and then died on the first `public-followup add` with the opaque "could not create the public commitment", which reads as a product bug rather than a stale tool. CI never saw it because CI runs `npm install -g tasks-axi`, which resolves to the latest published build. Probe the verb directly and skip with a message that names the real cause and the fix. * no-mistakes(document): document tasks-axi 0.2.3 requirement for public-followup
Intent
The developer wanted to reconcile firstmate's diverged local main branch (54 commits ahead, 38 behind origin/main) into a PR using a real three-way merge that preserves all three groups of work: 22 genuinely unique local-only commits, 32 commits from a prior upstream-fork sync, and approximately 30 of origin's own merged PRs. The merge was to resolve roughly 25 conflicting files by intent, never silently dropping content from either side, then push the result as PR #38 against origin/main for firstmate's review before merging. The developer explicitly required that a command-injection/path-traversal vulnerability in bin/fm-spawn-hooks.d/beads.sh (unvalidated id interpolation in the beads hook) be fixed with a charset guard and quoted interpolation before shipping. Two fm-groom.sh security-design issues were explicitly deferred to a captain-held tracking task rather than self-applied, since fm-groom is off-by-default with no live exposure. The acceptance bar was CI fully green and every CodeRabbit actionable thread either fixed or explicitly acknowledged-deferred with a tracking reference.
What Changed
docs/configuration.mdto note thattasks-axi public-followuprequires version 0.2.3 or newer, and that the existing bootstrap probe inbin/fm-tasks-axi-lib.sh(which gates at 0.2.2) does not cover this command.tasks-axi public-followup --helpprobe totests/fm-public-followup.test.shthat skips the suite — with a clear, actionable message — when an oldertasks-axibuild is onPATHbut lacks thepublic-followupverb.Risk Assessment
✅ Low: Single test-infrastructure change that adds a capability skip-guard using an established repo pattern; no production code is touched and the probe correctly gates the suite against an older tasks-axi version that would otherwise produce opaque failures.
Testing
Exercised both the skip path (fake tasks-axi 0.x without public-followup subcommand exits 0 with actionable skip message) and the happy path (real tasks-axi 0.2.4 runs all 25 test cases, all passing). The version probe correctly discriminates old vs. new installs and prevents the prior opaque "could not create the public commitment" failure.
Evidence: Skip-probe output (old tasks-axi)
Exit code: 0 Output: skip: installed tasks-axi has no public-followup command (needs 0.2.3 or newer: npm install -g tasks-axi)Evidence: Full test suite run (tasks-axi 0.2.4, 25/25 pass)
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
PATH=<fake-old-tasks-axi>:$PATH bash tests/fm-public-followup.test.sh— verified skip path exits 0 with clear version-requirement messagebash tests/fm-public-followup.test.sh— all 25 tests pass with real tasks-axi 0.2.4✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.