Repository navigation
docs(skills): tasks plans write scope as repository paths and lint before review - #91
Merged
Merged
Conversation
…fore review
The repository-rule check that tasks graph import and tasks review run
uses each node's scope to pick language rules and read repository
context. The skill's example used a prose label ("Export API"), which
matches no files. The skill also never mentioned the check.
- Field guidance and the example now write scope as repository paths.
- Section 3 adds a dry-run lint step: fix errors in the node, override
only with the human's approval, read not_evaluated as a model outage,
and inspect every verdict with extract run plan.rule-verdicts.
- Regenerated harness copies with tools/plugin-gen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Review on ArchCode
Merge order: after ArchAstro/firstlanding#21117 ships in a release. This skill text describes that CLI's behavior: every applicable rule is judged, and
not_evaluatedshows as one warning per task.Problem and author intent
archdev tasks graph importandarchdev tasks reviewjudge each plan node's brief against the repository's rules (plan.rule-verdicts, Jev). The node'sscopedrives that check: git pathspecs inscopepick the rules for the touched languages and supply up to 8 KB of repository context. A scope entry that matches no files selects every rule with no context.The
tasksskill:"scope": ["Export API"]in its example, a label that matches no files;--allow-lintoverride, or how to readnot_evaluated. The firstlanding task that added the check (tsk_69hAt30rUu5VfmR1uFMiR2) listed this skill update as remaining work.Intent: agents write
scopeas paths and clear lint errors before opening the review.What changed
scopelists the repository paths the task changes (files, directories, git globs), not a prose label, with the reason.tasks graph import --dry-run. Fix errors in the node, or add anExemplar:line. Pass--allow-lint/allow_lintonly with the human's approval.not_evaluatedmeans the model was unavailable and does not block. Useextract run plan.rule-verdicts --plan … --jsonto see every verdict.plugins/*/skills/tasks/were regenerated withtools/plugin-gen(npm run build).Scope: docs/skill only.
Risk
Low. Skill text only. The added commands exist in the released CLI. The new dry-run step adds about 15–25s of model time per plan on a cold run.
User impact
Agents using the
tasksskill write path scopes and run the plan lint before handing a plan to the human, so rule violations show up before review instead of at save.Testing
tools/plugin-gen:npm run buildregenerated 180 files,npm testpasses,npm run checkpasses ("180 generated files match the catalog").archdev --json tasks graph import --dry-run(firstlanding branch build). It parses and lints with the new path scopes. Inside firstlanding it is blocked by that repo'sinfrastructure-features-have-local-proof-pathsrule, which is expected for a generic example.tasks graph import --dry-run --allow-lint,extract run plan.rule-verdicts --plan --json; dry-run JSON has a top-levellintlist.🤖 Generated with Claude Code