Repository navigation
v0.20.0 — adr-tools and tpl-tools join the marketplace; past-decision check uses adr-search
LatestAdded
- The
kompiro-hanemarketplace now lists the tpl-tools plugin (/plugin install tpl-tools@kompiro-hane), which carries thetest-perspectiveskill. If you addedkompiro-hanebefore this release, run/plugin marketplace update kompiro-hanefirst, or the install cannot find the plugin. (#101, #103) - The
kompiro-hanemarketplace now lists the adr-tools plugin (/plugin install adr-tools@kompiro-hane), which carries theadr-searchskill: it finds the ADRs that apply to a task and says which are still in force, withadr search/adr refsfrom adr-tools v0.0.14. Refresh the marketplace first if you added it before this release. (kompiro/adr-tools#39)
Changed
start-dev/design-doc: in a host that keeps its ADRs with adr-tools (adr.config.jsonat the repo root), the past-decision check now runs/adr-tools:adr-search, which tells which ADRs are still in force. Its "Decisions to keep" go into the plan or design doc as constraints, and its "Decisions that need a discussion before overriding" are the conflicts the check looks for. Without the plugin, the check greps as before and suggests/plugin install adr-tools@kompiro-hane, without waiting for it. Hosts withoutadr.config.jsonkeep the grep. See ADR-110. (#110)design-doc: a proactive TPL is now written with/tpl-tools:test-perspective, and the skill no longer says to take the TPL's number from the Issue, because the id follows the host'sidFormat. When the plugin is missing, the skill asks the user to install it; if they decline, the perspective is written into the design doc's## Related TPLssection as not yet a TPL. (#101, #103)init: adoptingdocs/test-perspectives/no longer copies a TPL template, whose copy now lives in the tpl-tools skill. It asks for the TPL id format and writestpl.config.json:issue-number(TPL-<number>, as hane numbered TPLs before) by default, ordate-sequence. It creates.gitkeepand the config only when the directory has no TPLs yet and the host has no tpl-tools config, and points to the tpl-tools plugin and CLI. Theprocess.mdskeleton names/tpl-tools:test-perspective, and TPL ids followidFormat. (#101, #103)- Deprecation convention: the Retire level now also adds
disable-model-invocation: true, because adescriptionwithout trigger phrases still let the model pick the skill. The retiredqaskill now has it. See ADR-103. (#103) ship/start-dev: the PR body no longer has aPost-merge follow-upssection, and an implementation PR links its Issue withCloses #N, so the Issue closes when the PR merges (except a PR that leaves an implementation step of the Issue's Plan open; see the next entry). An item that can only be checked or done after the merge (the next release, a production-only setting, a backfill onmain) gets its own Issue, opened before the PR and linked from the PR's Purpose in one line. Steps the host's process already defines after a merge (ADR promotion, cleanup) are not written down. The cleanup step that appended follow-ups to the Issue body is gone. In 0.19.0 most implementation PRs listed such a step as a follow-up, switched toRefs #N, and left their Issue open after the merge. (#97)ship/start-dev: the PR's Issue link now follows one test: after this PR merges, does the Plan written in the Issue body still have an implementation step? If not (or the Issue body has no Plan steps), the PR saysCloses #N. If it does, as with a PR that lands only a trial build, the PR saysRefs #N, names in its Purpose the step it finishes and the steps that remain, and the Issue stays open; cleanup marks the finished steps as done in the Issue body and moves it fromstatus: in-reviewback tostatus: readysopick-issueoffers the remaining steps again. Only the Plan section of the Issue body counts (not its acceptance criteria, and not a session's plan mode, which other sessions cannot see), and steps the host's process defines after a merge (ADR promotion, cleanup) are not counted even when the Plan lists them. A design-doc-only PR still saysRefs #Nwhatever the Plan says, andship's cleanup moves its Issue fromstatus: in-reviewtostatus: designed(the same labeldesign-docstep 9 sets). An item checkable only after the merge does not affect the link; the Plan test alone decides it. Issues blocked on #N are moved tostatus: readyafter aRefs #NPR only when they waited on the step it finished, and in either case only when their other prerequisites are done. On kompiro/karasu#3769 a trial-build PR saidCloses #3684, and the merge closed the Issue with its later steps still open. This follows kompiro/karasu ADR-3818. (#107)
Deprecated
test-perspectiveskill: retired. Superseded by/tpl-tools:test-perspective, because the rules for writing a TPL now live in tpl-tools. Trigger phrases were removed fromdescriptionanddisable-model-invocation: truewas added, so a repo that uses TPLs needs the tpl-tools plugin for the skill to be suggested. The banner tells a reader who calls it by name not to follow the old steps. The body is kept for provenance. A repo that already hasTPL-<number>files and notpl.config.jsonmust add{"idFormat": "issue-number"}totpl.config.json; without it the tpl-tools skill andtpl validateusedate-sequence(TPL-YYYYMMDD-NN). See ADR-101. (#101, #103)
Fixed
acceptance-test: whether a TPL is proactive is now decided by its origin: whether the failure it guards against had already happened when the TPL was raised. The skill no longer reads the presence ofissue:as retrospective, and no singlediscovered_fromfield or Issue label decides; the fields and the Issue are clues, and the skill asks the user when they do not settle it. Since ADR-92 a proactive TPL also names the Issue it was raised under, so the skill skipped proactive TPLs fromdesign-docand never carried their checklist items into the AT. See ADR-104, which replaces ADR-92's "hasroot_cause_file/root_cause_adr". (#104)acceptance-test/design-doc: related TPLs are now found withtpl relatedwhen the host has thetplCLI from@kompiro/tpl-tools(directly or through a host script): by topic, and by the files the change touches (--base/--changed-files, tpl-tools v0.0.14 and later). The frontmatter module fields (scope.packagesand the like) are grepped either way, because the CLI does not match them. Without the CLI, the skills also grep TPL bodies for the changed paths and matchscope.paths, because some TPLs name a file only in their body. The skills used to point only to host scripts named liketpl:relatedand grep the frontmatter.design-docnow points a proactive TPL'sroot_cause_fileat the principle it guards. (#104)test-perspective: a host whose TPL index is a generated file (its header says it is generated bytpl regenerateand not to edit it by hand) no longer gets that index edited or regenerated in a TPL PR. The PR changes only the TPL files, and the host'sdocs/test-perspectives/README.mdsays how the index is updated. A host that keeps a hand-maintained table still gets a row added. The skill used to assume every host had a hand-maintained table, so an agent could treat kompiro/karasu's generatedindex.mdas that table and fail karasu's check that keeps generated changes out of regular PRs (kompiro/karasu#3289). (#99)
Full Changelog: v0.19.0...v0.20.0