Repository navigation
Port upstream batch 3: optional tasks-axi backlog support (#55 + #60) - #4
Merged
Merged
Conversation
…chenguid#55 + kunchenguid#60) Cherry-pick-and-port of the two tasks-axi commits, adapted to this fork and delivered as the combined end state (doc deltas folded into CLAUDE.md, not AGENTS.md; secondmate-specific bits dropped - this fork has no secondmates). Inert by default: the fleet has no tasks-axi installed, so every path falls back to the existing hand-edited data/backlog.md, byte-for-byte unchanged. kunchenguid#55 (7651a3c) - groundwork: - Tracked .tasks.toml at repo root pins the markdown backend to data/backlog.md (done_keep=10). - fm-bootstrap.sh reports tasks-axi as an OPTIONAL capability (TASKS_AXI: available), never a MISSING line, never an install prompt. kunchenguid#60 (a1d66d6) - mutation adoption: - New bin/fm-tasks-axi-lib.sh: shared compatibility probe (tasks-axi >= 0.1.1), sourced by bootstrap and teardown. Verbatim from upstream (pure bash, no multiplexer or secondmate coupling). - fm-bootstrap.sh gates the capability line on fm_tasks_axi_compatible. - fm-teardown.sh: a backlog_refresh_reminder that, when tasks-axi is compatible, prints the exact `tasks-axi done` command (scout --report, local-only --note, PR-based --pr); otherwise the existing hand-edit reminder. The upstream secondmate case is dropped. Docs: CLAUDE.md (sections 1/2/3/10), CONTRIBUTING.md, README.md updated for the tracked .tasks.toml and the when-compatible-route / else-hand-edit policy. Not ported: upstream's test additions to tests/fm-bootstrap.test.sh and tests/fm-teardown.test.sh - the fork has neither test file (they rely on the kunchenguid#37 FM_ROOT_OVERRIDE / FM_HOME scaffolding this fork is not taking). The probe lib was sanity-checked directly (inert when tasks-axi absent); bash -n passes on all touched scripts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Third batch of the cherry-pick-and-port: optional
tasks-axibacklog support, delivered as the combined end state of kunchenguid#55 (groundwork) and kunchenguid#60 (mutation adoption). Adapted to this fork - doc deltas inCLAUDE.md(notAGENTS.md), and the upstream secondmate-specific bits dropped since this fork has no secondmates.Inert by default. This fleet has no
tasks-axiinstalled, so every path falls back to the existing hand-editeddata/backlog.md, byte-for-byte unchanged. This lands the wiring so it activates automatically if a compatibletasks-axi(>= 0.1.1) ever appears onPATH.kunchenguid#55 (7651a3c) - groundwork
.tasks.tomlpins the markdown backend todata/backlog.md(done_keep=10).fm-bootstrap.shreportstasks-axias an optional capability (TASKS_AXI: available) - never aMISSINGline, never an install prompt.kunchenguid#60 (a1d66d6) - mutation adoption
bin/fm-tasks-axi-lib.sh: shared compatibility probe (fm_tasks_axi_compatible, version >= 0.1.1), sourced by bootstrap and teardown. Verbatim from upstream - pure bash, no multiplexer or secondmate coupling.fm-bootstrap.shgates the capability line onfm_tasks_axi_compatible.fm-teardown.sh: abacklog_refresh_reminderthat, whentasks-axiis compatible, prints the exacttasks-axi donecommand (scout--report, local-only--note, PR-based--pr); otherwise the existing hand-edit reminder. The upstreamsecondmatecase is dropped.Docs
CLAUDE.md(sections 1/2/3/10),CONTRIBUTING.md, andREADME.mdupdated for the tracked.tasks.tomland the route-when-compatible / else-hand-edit policy.Deliberately not ported
tests/fm-bootstrap.test.shandtests/fm-teardown.test.sh- the fork has neither file (they lean on theFM_ROOT_OVERRIDE/FM_HOMEscaffolding from the secondmate rewrite feat: support persistent secondmates kunchenguid/firstmate#37, which this fork is not taking).Verification
bash -npasses on all touched scripts.tasks-axiis absent (the current default).tmuxintroduced; the lib is multiplexer-agnostic.