Skip to content

docs(public-followup): document tasks-axi 0.2.3 requirement and add version guard to test suite - #53

Merged
trillium merged 2 commits into
mainfrom
fix/robots-a6ga-public-followup
Aug 5, 2026
Merged

trillium merged 2 commits into
mainfrom
fix/robots-a6ga-public-followup

Conversation

@trillium

@trillium trillium commented Aug 5, 2026

Copy link
Copy Markdown
Owner

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

  • Updated docs/configuration.md to note that tasks-axi public-followup requires version 0.2.3 or newer, and that the existing bootstrap probe in bin/fm-tasks-axi-lib.sh (which gates at 0.2.2) does not cover this command.
  • Added an explicit tasks-axi public-followup --help probe to tests/fm-public-followup.test.sh that skips the suite — with a clear, actionable message — when an older tasks-axi build is on PATH but lacks the public-followup verb.

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)

=== Skip path (fake old tasks-axi without public-followup) ===
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)
ok - outcome text is collapsed to one line, bounded by codepoint, and never corrupts characters
ok - restart end-to-end: typed result reconciles from disk and delivers one reply to the original thread
ok - duplicate terminal results, restart replay, and repeated delivery are all no-ops
ok - wrong source, wrong work id, stale generation, malformed, unsupported deliverable, and forged identity are all refused
ok - a relay transport failure is held as retryable with no false completion, and the retry posts once
ok - a dry-run records no public delivery and leaves the commitment retryable
ok - a late success receipt closes the exact attempt with no second post, and a mismatched attempt is refused
ok - typed terminal cleanup clears the legacy link without posting
ok - a delivery interrupted between post and receipt refuses to repost
ok - a child home reports typed results but can never become the outward-post owner
ok - typed delivery refuses to post when its cleanup registration is missing
ok - marked secondmate teardown resolves its parent and fails closed when unavailable
ok - relay-disabled unmarked teardown runs no public-followup work
ok - a marked child proceeds without tasks-axi when its parent relay is disabled
ok - secondmate parent resolution matches the durable registry id literally
ok - traversal-shaped registrations are rejected before path construction or posting
ok - pending keeps registrations when tasks-axi returns malformed JSON
ok - the retained private request context keeps the original thread deliverable after inbox cleanup
ok - cleanup refuses while a public reply is owed and proceeds once it has landed
ok - a relay-disabled home runs no tasks-axi call, prints nothing, and gains no artifact
ok - a relay-enabled home with no commitments makes no backlog call and stays silent
ok - a relay-exhausted follow-up binding is escalated rather than retried into the thread
ok - the relay poll stays inert without a token, silent with no commitments, and surfaces a new result once
ok - startup surfaces unresolved public commitments only in a relay home that owes one
ok - typed public-followup records carry only public-safe summaries and deliverables

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 message
  • bash 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.

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.
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@trillium, you've reached your PR review limit, so we couldn't start this review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 62eb1ade-428d-49b6-97dd-2666c05996d5

📥 Commits

Reviewing files that changed from the base of the PR and between 3673dbd and 42ee0c0.

📒 Files selected for processing (2)
  • docs/configuration.md
  • tests/fm-public-followup.test.sh

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trillium
trillium merged commit ec46e19 into main Aug 5, 2026
10 checks passed
trillium added a commit that referenced this pull request Aug 6, 2026
…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
trillium added a commit that referenced this pull request Aug 6, 2026
…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
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