Repository navigation
chore(skills): resolve the skills issues filed up to #2407 - #2379
Merged
Merged
Conversation
function-over-a-type-is-its-method said each of the 34 functions taking allOfComposition after another parameter takes it after lowering.Ctx. At 4a7a384, 28 do; the other six take it after a slice, a schema or an Unmodeled value. The Why now says 28.
memo-across-charged-walks spelt out the two-order diff at each limit, which determinism.md#two-orders-at-every-limit already owns. It now cites that rule for the diff and keeps only what is particular to a memo: charge the reuse, or run the diff at the first reader's spend and one below it.
The seam rule's Probe grepped Go files for the budget package's import path, which also matched internal/archtest, whose rules map names the path as a string, so the Probe had to excuse it. go list -e -test reads the import graph itself: it lists no package outside compilers/openapi on the tree, and lists a planted importer under ir/ whether the import sits in a file, an in-package test or an external test.
…o chore/skills-gaps-2301-2372
…o chore/skills-gaps-2301-2372
read-standing-reviews' Probe listed a PR's reviews and its review comments, the inline ones under pulls/<N>/comments, but not the comments on its conversation, which live under issues/<N>/comments. #2179's conversation holds three nit: findings that the review comments' path does not list. The Probe now reads that path too, and pages through each listing with --paginate, as the files listing in another-contributors-pull-request does, since each returns 30 entries a page by default.
TestDocuments_CiteNoRetiredPage walked the root alone, which passes over every directory starting with a dot, so the skills fell to a copy of the pattern in skills_lint.py. The two copies disagreed: the lint read the name from a word's start, so "their-design" passed there, while archtest matched it anywhere. The archtest walk now reads .claude/skills as well, and its pattern starts at a word boundary, so "their-design" passes and "ir-design" fails in either tree. The lint's copy and its test rows go.
skills_lint.py passed any span shaped as an ir/, pass/, compile/ or engine/ code, and skipped every openapi/ span, so an invented code and a missing openapi/ path both passed, which #2296 asked it to catch. It now reads the codes the module declares: every "<prefix>/<kebab>" string literal in a Go file that is neither a test nor a testdata fixture, by one git grep. A span naming one passes; any other span shaped as a path is held to the tree, so ir/bogus-code, compile/registry-refusd and openapi/gone.go are reported. A code built from parts is not read. The one span naming such a code, ir/duplicate-property-id in ir-lessons.md, now spells it as irverify builds it, ir/duplicate-<noun>-id.
trial-merge-reads-what-the-head-adds still spelt the PR's added lines with a nested git merge-base, where the rest of merging-main.md already takes the shorter git diff "origin/main...<head>", which prints the same diff.
moved-provenance-pointer said a node recording another Provenance.Pointer bumps nothing, while the skill's Version step says a hint moved at a position hint_positions.yaml does not write is a bump no test sees. Both hold where the hint is composed from the recorded position, as commonFor in compilers/openapi/internal/schema/hoist.go composes an anonymous node's from the pointer it records. The rule now says so and leaves that bump to the Version step, and its heading says the pointer alone bumps nothing.
The lint read a code only where a Go file spells it as one literal, so the codes irverify builds as "ir/duplicate-" + noun + "-id" and the OpenAPI validation codes built as diag.Validation + "/" + class read as missing paths, and ir-lessons.md had to spell a real code as a template. The same git grep now also reads a family, a literal head, one expression and a literal tail, which matches the head and tail with any words between, and a name joined to more words by a "/", resolved to the literal a declaration binds the name to. A one-word literal such as "openapi/validation" is read as a code too. ir-lessons.md names ir/duplicate-property-id again.
cost-without-a-budget-or-seam restated count-work-not-wall-clock and counting-seam-for-optimizations, OnVerify example included; split-into-tested-commits restated the condition test-first-against-a-stand-in sets for a test-first commit; and conjunct-walk-follows-a-bare-ref restated resolve-to-true-target's follow-to-the-end rule without citing it, while that rule cited it from an unrelated clause. Each now cites the rule that owns the text, and resolve-to-true-target's citation sits on the clause it specializes.
The probe for cost-without-a-budget-or-seam listed the budget package's importers with go list, which shows only that none outside compilers/openapi imports it today. The Why says ir, pass, irverify and engine cannot count through it, and Go's internal-package rule is what makes that so: go build refuses the import. The probe now plants the import under ir/ and reads that refusal.
TestDocuments_OpenNoLineWithAPlus and the retired-page check each looped over the root and .claude/skills, one spelling the skills' path and the other naming skillsTree. documentTrees now holds the pair, with why the skills are walked on their own, so a walk widened to the skills takes the same list.
Stopping a plant run signalled each timeout by its pid before the run's group, and the descent rule stopped each listed process without the run itself. A run looping over timeouts then started another the moment the listed one died, which no list held, so the check that every listed process was gone passed while a go test kept running on the tree the next restore changes. The descent rule now stops the run with SIGSTOP and stops each process as the walk lists it, so nothing in the run starts another, then kills the run and each listed with SIGKILL, which a stopped process does not hold back as it does TERM.
The lint read the diagnostic codes the module builds through a git grep subprocess, which needed exit-status handling of its own and a git repository in every lint test's fixture. It now reads the same patterns in Python from the Go files load_tree already lists that are neither tests nor testdata fixtures: untracked files included and ignored ones not, as git grep --untracked read them. A family stays on one line, as git grep read it line by line, and a name starts at a word boundary, so the tail of a longer identifier is no name. Each pattern now matches on its own rather than inside git's longest match on a line, so the binding's anchor at its line's end gets a test of its own: a name bound to a literal and more is bound to no code. At 9c0b562 the reader builds the same 316 forms git grep did, and the lint's output on the tree and on 3,942 code-shaped spans planted in a skill is byte-identical. The reader takes 0.21 s where git grep took 0.29 s, and the whole lint 0.65 s where it took 0.81 s.
TestRetiredCitations_ReportsEachForm planted its skill under skillsTree but expected the finding at a literal .claude/skills path. The expected path now starts from the same constant, so the plant and its finding name one tree, as the walks over documentTrees already do.
CODE_LITERAL wrote the words after a code's prefix as its own copy of CODE_WORDS, with a capturing group nothing reads, and CODE_FAMILY put optional spaces on both sides of an expression whose class already takes spaces. CODE_LITERAL now builds on CODE_WORDS and CODE_FAMILY drops the spaces its class covers. Both match exactly what they did: on the tree the reader builds the same 316 forms, and no Go file, tests and testdata included, matches either pattern differently.
stop-a-plant-run spelt out list-a-run-by-descent's freeze, list, kill and check, said "before the next restore" and "before git reset" both, and repeated that rule's loop failure in its Why. It now names the descent rule as how a plant run stops and keeps what is its own: when, and why a kill of the run's group misses each timeout. The descent rule drops a sentence its Why and Probe already show, that pgrep -P lists only children.
background-start-ignores-sigint named genv in its Rule and again in its Probe. The Probe keeps it, with the package that provides it, in the form the two timeout Probes in mutation.md use.
Their-design and repair-design each put a letter before the name, the one case the word boundary decides, so the plant keeps the first, which the pattern's comment quotes. The test still fails with the boundary dropped.
Both callers built Linter with declared_codes(root, known) beside the known it already takes and derives its names and paths from. Linter now derives the codes from the same root and known, so its constructor and the test's helper are as they were before the codes were read. The lint's output on the tree is unchanged, and the code tests still fail with the codes ignored or a test file read for them.
The test's comment still spoke of words ending in the retired name after the plant kept one.
The case giving main no profile went through the same wiring as the one giving it an undefined flag: every change to main's arguments, writers or exit code that reddened it reddened the flag case too, and only the flag case sees the flag package write to the process's stderr. With one case left, the test drops its table.
The callee and the parameter types sit in one callgraph line, callee first, so one pattern matches what the two piped greps did.
`git rebase --rebase-merges` re-merges a merge that merged cleanly and drops a fix committed inside it, exiting 0. The merge rules commit such fixes inside the merge, so the amend! and autosquash recipe silently reverted them where a merge followed the reworded commit. Where a merge follows it, reword with `git filter-branch --msg-filter`, changing only the target's message by `$GIT_COMMIT`, which keeps every tree. The range excludes origin/main, as filter-branch would otherwise rewrite main's signed commits as the branch's own. The amend! recipe stays for a range with no merge, as a rule of its own. Both move to merging-main.md, as commits-and-prs.md would pass its word cap.
rule-format.md pinned a Why's evidence to "a revision" without saying where a reader finds it. Skills cite commits of open PRs and of squashed ones, which main does not hold: after a squash merge a branch's commits are reachable only through pull/<N>/head, so a hash naming no PR leaves the reader nothing to fetch. pin-a-revision-where-it-stays asks each cited revision to be on main or named with the PR whose head holds it, and its Probe checks either with git merge-base --is-ancestor, against origin/main or the fetched pull/<N>/head. The preamble keeps a claim resting on an open PR's moving head barred, and lets a Why name an open PR as its evidence's source when the pin is durable, the PR adding the citation included. heading-matches-the-rule's Probe now names #2379 beside 67bbcf8.
another-contributors-pull-request asks the plan and each of its pull requests touching a shared fact to name another contributor's open pull request on it, but its Probe checked the plan alone, so a touching pull request's body that left it out passed. The Probe now reads both.
Adding TestName as a placeholder let a lookup by the bare name skip a.TestName, a real package's test, as it skips the package.TestName shape, and no row told the two apart. The row now names a.TestName, which package a does not declare.
Rule 2.18 lists r and w as idioms at any scope. The departure from it kept the one-letter names name-what-it-holds allows without naming them, so a reviewer reading 2.18 beside it could not tell whether r io.Reader, the example the departure was asked to give, still stands. It now names r io.Reader and w io.Writer as standard-library conventions it keeps.
The probe's for-statement pattern passes the first variable whatever it holds, so for v := range seq, an element the naming rule renames, prints nothing. The Rule said it passed a for counter, which read as listing every other first variable.
Where another PR's head lacks a file this branch's diff edits, applying that diff there applies nothing, and the joint-claim rules ended at reporting that no test ran. Applying the other PR's diff, limited to the files the claim reads, onto this branch's head reaches the same joint tree for those files: #2187's end-to-end tests applied onto this branch's head, where the skills' test-name check ran.
"Such conventions as X among them" said its list twice; the sentence now names the two conventions once and rewraps the lines below it.
"The PR adding the citation is one" left "one" to be resolved against the clause before it, where "an open PR" reads first and contradicts the merge that follows. Naming it "such a pin" says at once that the citing PR pins the evidence, being merged by the time the citation lands.
The rule restated the failed-apply rule's missing-file case beside a citation of that rule, and "its own conflicts" could be read as the head's. Drop the restated case and name the other PR as the one whose conflicts with main bar a file.
"Each one touching its files" followed a clause about each pull request's own files, so "its" could be read as theirs. Name the plan's files.
The amend! recipe covered a reword with no merge after it, and the filter-branch one a reword below a merge. The filter-branch recipe keeps every tree in both cases, so one rule now covers every reword of an unpushed commit below the tip, and its Why carries the reasons --amend and rebase -i do not serve. The message file is named by an absolute path: filter-branch runs its filters in .git-rewrite/t, where a relative path names nothing and the filter fails.
pin-a-revision-where-it-stays asks that a revision off main be named
with the PR whose head holds it, but its Probe had to be handed that PR
number. GitHub lists the PRs holding a commit through
repos/{owner}/{repo}/commits/<sha>/pulls, so the Probe now finds them
that way and keeps the fetch of pull/<N>/head and the
git merge-base --is-ancestor check as the test. The API call exits 1
for a hash GitHub lacks. The rule stays at 150 words.
decide-once's Why named the files holding disjoint and disjointAtoms. #2354 renames the first of them, and only the skills lint, which no CI job runs, would see the citation go stale once both changes merge. Naming the package and the two functions keeps the evidence and holds through the rename.
apply-the-other-diff-onto-the-head's Probe applied the other PR's end-to-end tests alone. Its documents name tests in other packages' test files, so on #2194 the test-name check failed on names the partial apply had left out. The Probe now applies every file Upkeep's checks read, test files included, bar those the other PR's own conflicts with main touch, which merge-tree lists; #2194 and #2187 both pass there. Applying every file that does not conflict with main fails #2187's build instead: its schema/notes.go needs a schema/members.go change that conflicts with main.
project-ci-time-from-counts forbids projecting a CI time from local wall time or a local profile's share, but its heading named only "a local share", so a reader projecting from wall time, the commoner mistake, would pass it by. The heading now names both.
reword-an-unpushed-commit ran filter-branch with its default backup namespace, refs/original, which every worktree of a repository shares, then deleted all of refs/original. A backup another worktree had left there made the rewrite refuse, and the cleanup, run after the failed rewrite, deleted that backup. The rewrite now backs up under refs/worktree/reword, which git keeps per worktree, and deletes only that namespace, after && so that a failed rewrite keeps its backup. filter-branch-backup-per-worktree states this, with a two-worktree scratch repository as its Probe.
handed-in-answers-join-the-key covers a function or interface handed to a remembered reading as a parameter or a field of one, but its probe printed only each parameter's own type and kept only the lines naming a function or an interface, so a caller handed one through a struct parameter or its receiver printed nothing. operation.readSchema, whose memo reads through branchReading's read field, is such a caller on the tree. The probe now prints the receiver and each parameter, and the fields of a struct or a pointed-to struct one level down, and names readSchema as the line it lists.
review-head-in-own-ref's first sentence told a reviewer to add the worktree from the fetched ref alone, while the setup adds it at the local branch head where that branch holds commits the fetched ref lacks, so a reader following that sentence missed the case. The sentence now names both refs, and the next states the worktree's HEAD before any merge as the commit it was added from.
OmarAlJarrah
added a commit
that referenced
this pull request
Dec 2, 2026
The rules main gained in #2379 wrote words the glossary that opens docs/compilers/openapi.md retires: "stand" (a stand-in, a count that stands out), "meet" for an intersection and "reach" for a keyword scope. They now say stub, as tests-that-bite.md already does, "is well above the rest", the intersection and the keyword scope. The key test-first-against-a-stand-in keeps its word, as rule keys do.
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.
Summary
Resolves every
skills:issue filed up to #2407 that was still open: each gets the rule, probe or route it asked for, and each that asks for a decision gets one.Decisions
departures.md#enum-zero-states-its-meaning). An enum starts atiota + 1, names its zero for the unset state (NoRole,FormatNone), or says in the zero constant's comment that an unset value means that member, asidRequireddoes. 65 production enums start atiotaat 4a7a384. 19 name an unset, none or invalid zero, and 2 document their default. The other 44 are listed, each with the literals and lookups that produce its zero, in style: 44 enums start at an ordinary member and say nothing of their zero #2378, whichrules-the-tree-still-breaksnow cites.design-rules.md#function-over-a-type-is-its-method), as it could be one. This departs from the issue's first reading, which counted a function whose first parameter is the type: reordering parameters evades a first-parameter count, and the lowerings' pattern oflowering.Ctxfirst escapes it, as 34 of the 40 functions takingallOfCompositiontake it after another parameter. A function in another package, as each lowering overlowering.Ctxis, counts for none: 458 functions outsideloweringtakelowering.Ctxfirst, the ones openapi: rename the schema package's admission types and take admission off the method cap #2081 moved there among them. The way out is a narrower input, as openapi: rename the schema package's admission types and take admission off the method cap #2081 took (design-rules.md#leave-a-type-by-a-narrower-input). Counted that way at 4a7a384, ago/parsercount puts twenty types undercompilers/openapi/internalover 20 and the rule's one-line probe eighteen, missingstandandfinisher, whose signatures wrap; counting only the functions that read one of a type's fields, thirteen stay over, neither of those two among them. archtest: count a function taking a type against that type's method cap #2377 lists all twenty and widens the archtest count after they split.morphic-designing-code's "Already checked" leaves archtest a method cap's receivers and cites the rule for the functions.review-head-in-own-refnow names, and the gate cell stays unreached until a push gives that head a run, asci-is-the-gatesays of any head with no run. The alternative, pushing before every round, was rejected because it puts unreviewed commits on the PR.git filter-branch --msg-filter, changing only the target commit's message by$GIT_COMMIT, rewords an unpushed commit below the tip whether or not a merge follows it, and keeps every tree, a fix committed inside a merge included, wheregit rebase --rebase-mergesre-merges a merge that merged cleanly and drops such a fix, exiting 0, with--autosquashor without. Its range excludesorigin/main, asfilter-branchwould otherwise rewritemain's signed commits as the branch's own, which no tree diff shows. One rule,reword-an-unpushed-commit, covers both cases and sits inmerging-main.md. It names the message file by an absolute path, sincefilter-branchruns its filters in.git-rewrite/t, where a relative path fails the filter.--amendreaches only the tip andrebase -ineeds an editor, andgit history rewordwas left out because git marks it experimental. A per-commit tree diff, in topological order, checks the result, and an own-commit count checks thatmain's commits stayedmain's.--- FAIL, not a build failure. Its commit may fail only those tests, and it is pushed only together with the commit that fills it.OnVerifywraps the engine's verifier. An option or parameter production passes only as nil, a zero or a no-op, for tests alone to fill, is refused bydesign-rules.md#production-sets-each-parameter, split fromno-forwarding-layerat its word cap, whose Rule and Probe cite it; its Probe lists each production call throughcallgraph, as a line grep missed split calls and calls through a value, the parameter refused where each passes nil, a zero or a no-op, and each production setting of an option, andcost-without-a-budget-or-seamcites it rather than restating the case. The fallback is statement counts in the PR body.commonForincompilers/openapi/internal/schema/hoist.gocomposes an anonymous node's hint from the pointer it records, and the skill's Version step then decides the bump, as it does for any moved hint. A change to which place a whole class records bumps, as feat!: own I/O in the engine and lower each file of a split spec #1009 did for0.17.0.trial-merge-open-prsstill holds where its conditions do, departing from the issue's draft: a trial merge reads the other PR's head locally and writes nothing to it, and it is how a change learns it breaks another open PR, as one adding a line to every conformance golden broke those adding goldens (fix(compilers/openapi): compose a field redeclared as models #1181).stop-a-plant-runchecked a session withsetsidandps -s, which macOS lacks. It now stops a run by a new rule,toolchain.md#list-a-run-by-descent, which freezes the run, and each process it lists at every depth, withkill -STOPbefore any kill, then kills the run and each listed withkill -KILLand sees them gone.pgrep -x timeoutwould list every run's on the machine, againsttoolchain.md#stop-by-pid-not-pattern, andpgrep -P <the run's pid>lists the run's children alone, missing atimeoutthatxargsstarts. Without the freeze, a run looping overtimeoutstarts another the moment the listed one dies, which no list holds. The issue's two other Probes,run-a-limit-or-a-stray-panic-ended'stimeoutandbackground-start-ignores-sigint'senv --default-signal=INT, now name their macOS spellings,gtimeoutandgenvfromcoreutils.Moves. Two reference files were close to the 4,000-word cap, and a third reached it beside #2354, so their rules moved, with every citation updated. The emitter design rules moved verbatim; of the run-reading rules, five were then edited for #2360, #2361 and #2368, and three are new:
finding-cost.mdtomorphic-measuring-performance/references/reading-a-run.md;ir-lessons.mdtomorphic-changing-the-ir/references/designing-emitters.md. The name avoidsemitter-design, a retired page's name, whichTestDocuments_CiteNoRetiredPagerefuses;decide-once,one-rule-one-implementationandfold-the-whole-set, andstage-a-stepwise-fold, new for skills: no rule stages a stepwise fold's nodes and registers them once #2370) go fromdesign-rules.mdtomorphic-designing-code/references/deciding-once.md, verbatim but for two edits:fold-the-whole-setnow citesstage-a-stepwise-fold, the exception below it for a fold that must run in steps, anddecide-once's Why namesdisjointanddisjointAtomsby their package rather than by the files holding them, one of which feat!: unify schema composition, folding and routing #2354 renames.handed-in-answers-join-the-keyandcontext-reads-listed-by-type, new for skills: a remembered reading's key ignores what a handed-in walk can vary by #2319, join them there, andremembered-reading-keys-what-it-reads, which both extend, follows, with the skills: a remembered reading's key ignores what a handed-in walk can vary by #2319 edits below, to make room forproduction-sets-each-parameter. Without the movedesign-rules.mdwould pass the 4,000-word cap; it now stays within it, beside feat!: unify schema composition, folding and routing #2354's 141 words too.Lint and archtest.
skills_lint.pypassed any span shaped as anir/orpass/code and skipped everyopenapi/span, so it read the realcompile/registry-refusedas a missing path while passing an inventedir/bogus-codeand a missingopenapi/gone.go, which skills: skills_lint flags ir/ and pass/ diagnostic codes as missing tree paths #2296 asked it to catch. It now reads the codes the module builds, in Python, from the Go files it already lists that are neither tests nor testdata fixtures, untracked ones included: each"<prefix>/<words>"string literal, one word included (openapi/validation,engine/unencodable); each family written as a literal head, one expression and a literal tail, asirverifywrites"ir/duplicate-" + ir.RefNoun(...) + "-id", which matches the head and tail with any words between; and each name joined to more words by a"/", resolved to the literal a declaration binds it to, asdiag.Validation + "/" + classbuildsopenapi/validation/<class>. A family is read on one line and a name from a word's start, so the tail of a longer identifier is no name. A span naming one passes, and any other span shaped as a path is held to the tree.TestDocuments_CiteNoRetiredPage, whose walk passes over dot directories and so never read the skills, and a pattern inskills_lint.py. Both matched the name anywhere, sotheir-designread as a citation. archtest's walk now reads.claude/skillsbeside the root, throughkeydoc.DocumentTrees, which the plus-marker, link and test-name checks andkeydoc.Citationswalk too; its pattern starts at a word boundary sotheir-designpasses, and the lint's copy is gone.skills_lint.pyheld the skills' links, design-document headings, keyed entries and test names, which archtest, or for a keyed entryTestRecord_CitationsNameAnEntryandTestLoweringSpec_CitationsNameARule, hold on every other document, while their walks passed over.claude(skills: move skills_lint's link, heading and test-name checks into archtest #2381).TestDocuments_LinksResolveandTestDocuments_NameOnlyTestsThatExistnow walkkeydoc.DocumentTreestoo, and the test-name check also reads the test names in ago testcommand's-runpattern, anchored or not, each held to a test of that name or of its_family that the alternative matches asgo test -runmatches it, so^TestFamily$takes noTestFamily_test whileTestFamily$takesTestFamily_TestFamily, which the skills write and only the lint read, and the other documents write and nothing read;TestName,CLAUDE.md's example, joins the placeholders. The reader takes a name only from one line's code span, whole or in ago testcommand's-runpattern, so a-skippattern, another command's pattern, a span wrapped across lines and a name in prose stay unread, astestNameProblems' doc comment says; no document writes one today. The lint's four copies go, with their test rows and its scan of test files, and with them its misreading of ago listtemplate field such as{{.TestImports}}as a test.keydoc.Citations, which those two read citations through, now walks the skills too, so a skill's citation of a parser-library entry or a lowering rule is held to an entry, the forms withoutdocs/thatmain's lint held among them (parser-library.md#<key>,compilers/openapi.md#<key>), which archtest, reading adocs/path's heading, does not; the specification's citations are read by its file's name, soopenapi.md#<key>is held too. The tree list moves intointernal/keydoc(DocumentTrees,WalkDocuments,SkillsTree), which archtest's walks now take. The lint keeps what archtest has no counterpart for: frontmatter, word caps, the rule format, rule citations, paths, Go names placed in a file,architecture §Nsections, diagnostic codes, machine paths and the scripts.morphic-curating-skills' Upkeep step names onego testrun selecting the archtest, canary and lowering-specification tests that read the skills beside the lint, andCLAUDE.mdno longer credits the lint with the design documents' headings.trial-merge-lints-the-skillsand the push checklist inmorphic-shipping-prsrun Upkeep's checks in the lint's place, so a trial merge and a push meet the archtest run that now holds the skills' links, headings and test names.The issues filed after #2372
go test -overlayonly replaced a file that exists.morphic-verifying-changes/references/mutation.md#overlay-before-a-copyplants a defect, swaps in an alternative or adds a scratch test through an overlay first, withinoverlay-reaches-the-compiler-alone's reach: aReplacekey naming an absent path adds the file, and two packages' unexported readers are compared through a non-test shim and a scratch internal test, neither copied.plant-in-an-unpacked-copy, the claim-to-probe table,review-without-originand the testing angle's opening point to it.Binary file (standard input) matchesin place of every matching line when a test's message holds a NUL, and still exits 0.morphic-verifying-changes/references/toolchain.md#grep-test-output-as-textfiltersgo testoutput throughgrep -a, and notes that-cand-qcount and exit alike either way.redundant-guarddeleted a guard whose mutant survived without saying which tests it must survive or whether cost counts, so a guard that only saves work read as dead.morphic-reviewing-prs/references/testing.md#guard-only-a-cost-test-noticeshas a mutant survive only the runmorphic-verifying-changes/references/mutation.md#mutation-survivor-scopenames, over the whole module, cost tests included, and keeps a guard only a cost test notices as a commented optimization held through a counting seam; where the package has no cost test, the reviewer grows each input dimension first. skills: redundant-guard never runs the cost tests, so it deletes a guard that only saves work #2384's Direction named the owning package's suite; the rule takes the module-wide run instead, because an end-to-end test in another package can be what needs a guard, so a mutant passing its own package's suite could still delete a guard that test relies on. skills: redundant-guard never runs the cost tests, so it deletes a guard that only saves work #2384's asks became a rule of their own, whichredundant-guardcites, becauseredundant-guardhad no room for them under a rule's 150-word cap. Each package's own 100% coverage hides code only unit tests reach, sotesting.md#guard-only-unit-tests-reachprofiles the end-to-end suite alone over the packages it drives, lists the changed files' unreached blocks withmorphic-covergate -all, a flag added here that lifts the gate's 25-block bound on its listing, merging each test package's copy of a block and skipping blocks that hold no statement, and plants each guard among them;redundant-guardcites it, andmutation.md#find-what-only-excluded-callers-reachcites it for its profile. The two commands that run a whole suite, the survival run with its cost tests and the end-to-end profile, carry-timeout=30m, so a run a plant slows is not cut at Go's 10-minute default.name-what-it-holds' probe read only an unwrapped function with no receiver, listing 1 of skills: the name-what-it-holds probe misses one-letter method and literal parameters, fields and locals #2393's 6 one-letter names. It moves todesign-rules.md#one-letter-names-by-kind, whose grep reads a method's and a function literal's parameters, struct fields and:=andvarlocals on a diff's added lines, passes a receiver, aforcounter,t *testing.Tand a parameter list's leading pair sharing a type, comparison pair or not, as its Rule says, and says it misses a wrapped signature's parameter not opening its line. This widens the line probe and builds nointernal/lintrulesanalyzer, the issue's second option, because an analyzer needs a baseline over every one-letter name already in the tree or a rename across the whole tree; the rule routes that question to lintrules: decide whether a one-letter-name analyzer gates the module #2410.morphic-checking-style/references/departures.md#names-long-at-any-scoperecords the departure from styleguide rules 2.1 and 2.18's scope-sized names, with the exceptionsCLAUDE.mdwrites, rule 2.18's point 5 kept, and why.golangci.ymlleavesvarnamelenoff. For skills: name-what-it-holds does not say whether the specification's term outranks its ban on figurative words #2395,design-rules.md#normative-term-outranks-figurativekeeps a normative document's term, figurative or not, astravelsAskeeps the documents' "travels as", names the documents that count and changes a term in its document first;name-what-it-holdscites it.CLAUDE.md's naming bullet follows both: it drops "scope-proportional length", which the departure overrides, and keeps a normative document's term even if figurative.func(ir.TypeID) (ir.TypeDef, bool), written out 25 times in production and bound under several names, gained more unseen. Step 2 now citesconsistency.md#one-shape-one-name: one shape under several names is a finding, the shape takes one name, a function type written out at several sites takes a named type, and sites the change does not need are filed rather than renamed.consistency.md#list-a-shapes-namesholds the commands that rank the function types written out most, list one's names and list a name's near-synonyms across the module. The rule does not flag one shape bound under several names where its sites mean different things (design-rules.md#share-only-what-means-the-same), a case the issue's draft did not except, as one name there would join what differs.morphic-changing-the-ir's Version bullet saidTestIRVersion_PinsTheNamescatches a renamed symbol, which reads as a Go identifier; it now says a moved name, a canonical word sequence or hint an emitter renders an identifier from, which renaming a Go declaration does not move. Nothing asked a bump's history entry to name the ID forms or diagnostic codes its change moves, which a consumer keys state by and a triage rule names:ir-lessons.md#entry-lists-moved-ids-and-codesasks it, with a probe listing both from a branch's goldens, and the Version bullet routes to it.docs/ir/ir-version.mdis corrected too: "versioned as a renamed symbol is" becomes "as a moved name is", and a paragraph asks the entry to list each moved ID form and code.IRVersionstays, as no shape, name or meaning of the IR changes. To make room under the skill body's 500-word cap, four lines restatingCLAUDE.mdor a document the skill cites were dropped: the Census and Emitters bullets, the Goldens bullet's "a version bump rewrites none", and the opening's gloss of "the IR is the ABI".schemaholds 755, 21 of its 55 files mixing build and read functions. Of the issue's three options this takes the third, a rule of thumb with a probe:functional-coresplits a package past 300 free functions by phase, anddesign-rules.md#split-a-package-by-phasecounts free functions and lists the files holding both phases by a parameter marking each. Tried on the three packages the issue names, 300 sits above all butschema:operationholds 249 andmerge174. Options 1 and 2, a baselined count and a call-graph check, wait for a proxy that leaves out a build's reads of its own source, which the marker proxy lists: onoperation, marking a build by the registry and a read by a source object, it lists 11 of 30 files, mostly a build beside its own reads. Splittingschemais openapi: split the schema package by phase #2408.morphic-curating-skills/references/rule-format.mdgainsheading-matches-the-ruleandeach-rule-is-routed, written steps, as no lint judges scope, and the consistency angle's new step 5 sends a reviewer to both.mechanism-existsnever searched the harness's oracles or case generators, so a lesson a case axis could hold landed as prose with a hand-built twin, nor sent a reviewer to a tool's own source or help.reuse.md#search-the-harness-and-tool-docs, cited frommechanism-exists, searchesinternal/harnessandinternal/harness/openapicasesfor each addition, a skill change's rules and probes included, files a comparison a case axis could make as that axis, and reads a tool's source or--helpbefore judging its command, as the issue's comment asked.mechanism-exists' heading now names the algorithms its Rule covers.run-prescribed-commandspassed a command that exits 0 without the fact its Probe asks for, as the tracker Probe'sgh issue view --json bodydid.claims-and-process.md#probe-output-holds-its-factnames that fact for each edited Probe and quotes the output line holding it; a command whose output cannot hold it is anissue:whatever its exit status. The claims step routes to it.Found while closing the issues, and fixed here
## Out of scopeitems. "Before the first push" now routes toclosing-issues.md#closing-issue-read-whole.alternative|weightoo.skills_lint.pyread a code-span token holding a parenthesis, such as the formula2/(log2(n) + 2), as a missing path. No tracked path holds one, and no token the lint checks today does either, so such a token now names no path.merging-main.md#trial-merge-reads-what-the-head-addsstill spelt a PR's added lines with a nestedgit merge-base, where the rest of the file takesgit diff "origin/main...<head>"; it now takes the same form.checkers.mdsent the IR's verifier and codec rules toir-lessons.md, which holds none of them since chore(skills): resolve the open skills issues #2293 moved them toverifier-and-codecs.md; it now names that file.compilers/openapiorinternal/harness", left out packages the schema cases compile through: they compile with the engine's passes (internal/harness/cases.go), so a change topass,irorenginecan move a record. The rule takes its scope fromgo list -deps ./internal/harness/openapicases.rounds.md#read-standing-reviewslisted a PR's reviews and inline review comments, not its conversation comments (issues/<N>/comments), where fix(harness): give an order verdict to more block scalars #2179 holds threenit:findings the inline path does not list. Its Probe now reads that path too, printing each comment's time, as a conversation comment names no commit, and each listing with--paginate, as the files listing does.rule-format.mdlet a rule over 150 words become two, but said nothing of what a cut to fit the cap may drop. A cut now never drops a fact the rule's Probe needs or anything a closing issue asked for (a platform's spelling, a step, an option); when nothing else can go, the rule splits.rule-format.mdnames the two checks that hold a cut:cut-against-mains-wordsfor whatmain's words held, andclosing-issue-met-at-its-sitefor a closing issue's asks, which a word diff againstmaindoes not show where the branch never added them.rule-format.mdpinned a Why's evidence to an issue, a merged PR or a revision, never an open PR, which read as barring a Why from naming the PR that adds the citation, and said nothing of where a reader finds a revisionmainlacks. A Why may now name an open PR as its evidence's source when the pin is durable, the PR adding the citation among them, merged by the time the citation lands;cut-against-mains-wordsalready cites chore(skills): settle what reviews had to rule on unaided #1619, the PR that added it. A claim resting on an open PR's moving head stays barred, and the claim sweep (sweep-each-claim-class), which counted a claim resting on any open PR's head, now names another open PR's head, so it no longer refuses that citation. A revision a Why or Probe cites is onmainor named with the PR whose head holds it (pin-a-revision-where-it-stays), since after a squash merge onlypull/<N>/headreaches a branch's commits; its Probe checks a hash bygit merge-base --is-ancestoragainstorigin/main, or finds the PRs holding it throughgh api 'repos/{owner}/{repo}/commits/<sha>/pulls'and checks it against the fetchedpull/<N>/head, and each revision this branch adds offmainnames its PR. The file also gives thegh pr viewcommand printing a cited PR's state. Four rules already onmaincite five revisions beside an issue rather than the PR holding them → skills: four rules on main cite a revision by an issue, not the PR holding it #2421.morphic-shipping-prs' References line named no rewording, so its refusal routed nowhere;merging-main.md's line now names it, the topic ofreword-an-unpushed-commit.main,fold-the-whole-setwas cited from nowhere and is not among the rules the table names, the topicmorphic-designing-code's References line gave its file. That line now names folding declarations too, which covers it andstage-a-stepwise-foldindeciding-once.md, anddesign-rules.md's opening points todeciding-once.md, asir-lessons.mdandfinding-cost.mdpoint to the files split from them. Every other rule this branch adds, moves or rewords is cited from aSKILL.mdstep or another rule, or falls under its file's References topic:read-the-source-not-the-registry, reworded for skills: read-the-source-not-the-registry does not say whether a build may read nodes it built itself #2350, was neither, and the determinism angle's search step now cites it.replay-own-diff-onto-main's Probe askedgit diff --stat origin/main HEADto list only the PR's own files, which an empty list meets, as agit apply --3wayleaves one where a file the diff touches is absent and it applies nothing (merging-main.md#failed-apply-without-markers); it now asks for every file the PR changes, and no other.remembered-reading-keys-what-it-reads' Probe greppedc\.for the context's reads, while the lowerings name alowering.CtxloweringContextin all but a few functions and aservice.CtxserviceContext, so it listed none of them: notadmission.go'sloweringContext.SchemaRules(), the read the rule's own example keys by, nor any read ofreadUnioninoperation/filebody.go, the one reading outsideschema. It now citesdeciding-once.md#context-reads-listed-by-type, as a grep by those names still missedthere.Rules()and calls throughdc,use,inandentryCtx: that rule lists each call to a method of a typeloweringorservicedeclares throughcallgraph -algo cha, since-algo staticnever visits a closure passed as a value, a reading's own body among them, and each read of the two context types' exported fields by name, other types' fields of that name included. Nothing listed what a reading is handed, such asmerge'sFieldDeclarationContext(skills: a remembered reading's key ignores what a handed-in walk can vary by #2319):deciding-once.md#handed-in-answers-join-the-key, split from that rule to keep it within 150 words, lists each caller ofReadOncePerRunwith a parameter of function or interface type,errorandanyamong them, through thecallgraphcommand of thegolang.org/x/toolsthatgo.modpins, with-algo chafor the same reason, since a parameter's type is a question a grep cannot answer (sweep-every-site.md#sweep-a-typed-mechanism-by-type). A closure callingReadOncePerRunis listed under its own parameters, not its enclosing function's, as the Probe says.Questions the closed issues leave, and where each now lives
make casesin a pull-request job → recorded on ci: cut a pull request's gate from a 9-minute median to about 3.5 #1268, whose CI budget decides it.docs/ir/models.md("Knots"): the IR permits one, the flattening reads it to its fixpoint, andpass/composition-cyclewarns. At 4a7a384 skills: no rule stages a stepwise fold's nodes and registers them once #2370's ring of three models compiles with eachidat the sharedc, d.morphic-verifying-changes, whose trigger covers writing any test; emitter packages already exist and take the same rule.CLAUDE.md's re-rank comment should go → left as it is: the rule andCLAUDE.mdnow agree, and nothing here argues for removing it.GOMAXPROCSwhen timing a test binary → left unpinned, as the rule times the binary as CI runs it; nothing measured here shows that misleading, so no issue is filed.reference-chain-beside-its-twinandconjunct-walk-follows-a-bare-ref, until the schema cases write it as a spelling the spelling oracle compares → harness: the schema cases write no spelling that reaches a target through a schema that is only a $ref #2404, which skills: mechanism-exists never searches the harness oracles and case generators #2405's chain spelling also waits on.schema→ openapi: split the schema package by phase #2408. skills: move skills_lint's link, heading and test-name checks into archtest #2381: archtest's side of the code paths a document names → test: TestDocuments_LinksResolve holds no code path a document names #1580; the lint keeps its other checks.IRVersion→ left out of scope, as skills: nothing asks an IR version-history entry to list moved type IDs and diagnostic codes #2399 leaves it. Extending test: hold a version-history entry to what its version changed and to a length a reader can use #2087's completeness check to the codes the goldens write → recorded on test: hold a version-history entry to what its version changed and to a length a reader can use #2087, which is open.main→ left out, as the issues leave it;one-shape-one-namefiles a site a change meets and does not need. skills: the name-what-it-holds probe misses one-letter method and literal parameters, fields and locals #2393: whether an analyzer gates one-letter names → lintrules: decide whether a one-letter-name analyzer gates the module #2410, whichone-letter-names-by-kindcites.normative-term-outranks-figurativechanges a term there first.main→ skills: run the heading and routing rules over the rules already on main #2409; the new rules hold what a change adds, moves or rewords.overlay-reaches-the-compiler-alonesays. skills: no rule warns that a NUL in go test output hides macOS grep's matching lines #2383: grep on other platforms was not measured, and the rule names macOS's. skills: redundant-guard never runs the cost tests, so it deletes a guard that only saves work #2384: a package with neither a budget nor a seam takes skills: cost-tests gives no route where the code has neither a budget nor a seam #2359's route, closed here. skills: no rule finds code real input never reaches while each package's tests cover all of it #2385: whetherallOfIn's nil guard goes is left to a change touching it, underredundant-guard.skills:issue filed up to skills: run-prescribed-commands passes a probe whose command exits 0 without its answer #2407.Test plan
python3.14 .claude/skills/morphic-curating-skills/scripts/skills_lint.py→ clean (10 skills); each skill's script tests → OK.test_a_span_naming_a_declared_code_names_no_pathfails withopenapiput back among the first segments the lint skips, with test files, testdata fixtures or a Markdown file read for codes, with declared codes ignored, and with the old(?:ir|pass|compile|engine)shape check in place of the declared set. On the tree,ir/bogus-code,compile/registry-refusd,openapi/gone.goandopenapi/no-such-codeplanted in a skill are reported andopenapi/cyclic-refandir/unresolved-auth-spacepass, where the lint at 7c60b8b passed all six.test_a_code_built_from_parts_names_no_pathfails with families ignored, joins ignored, a joined name kept with its package selector, every bound name taken as joined, one-word literals dropped, a binding left unanchored at its line's end, so a name bound to a literal and more builds a code, a family read across a line break, or a name read from inside a longer identifier; with families ignored, the tree reportsir/duplicate-property-idinir-lessons.md.git grepit replaced (comm -3of the two sorted sets prints nothing), and the lint's output on the tree and on 3,942 code-shaped spans planted in a skill is byte-identical. At f1c1e0b the whole lint takes 0.90 s of user and system time (0.81 to 1.00), where 7b934b7's,git grepincluded, took 2.17 s (2.16 to 2.27): five alternating runs under/usr/bin/time -l, load 27 to 28 at both ends.CODE_LITERALbuilt onCODE_WORDS,Linterderiving the codes itself, each match's groups read throughfindall) left the lint's output on the tree byte-identical, and the code tests still fail under the plants above.test_a_code_built_from_parts_names_no_pathfails withCODE_FAMILYrequiring spaces around its plus signs, as a row writes a family without them, aspass/validate_refs.gobuilds"ir/dangling-"+noun+"-ref".testdata, in a*_test.gostring literal, and in a Markdown span outside the skills, bar an existing path, 325 in all, goes through the recognizer. It misses 54, none a code the tree builds: codesdocs/emittersanddocs/architecture.mdplan, two retired codesdocs/ir/version-history.mdnames, path stems such asir/testdata/names, codes tests invent (openapi/x,pass/near), one a test asserts is never reported, andopenapi/unknown-key-entry-unreachable, which a test lists and nothing builds. Of the 49 the goldens and specs undertestdatahold, it misses only the path stem. The reader at abe9696 missed 102, seven validation codes in the goldens among them.ir/duplicate-property-idis whatirverifyreports for a property (TestCheckDuplicateIDs_TwoDifferentPropertiesOnOnePropertyID).ir-design §4.3planted in a skill failsTestDocuments_CiteNoRetiredPageandTheir-design and repair-design workpasses it, and a+line planted in the same skill file failsTestDocuments_OpenNoLineWithAPlus.TestRetiredCitations_ReportsEachFormfails with the document trees cut back to the root and with the word boundary dropped.coreutils9.12:stop-a-plant-runprobe, withgtimeout, listsgtimeoutandsleepafter the group kill;gtimeoutrunning,pgrep -x gtimeoutlists both;gtimeoutthroughxargs,pgrep -P <run pid>listsxargsalone, and after a kill of the run's groupgtimeoutandsleeplive on;list-a-run-by-descent's walk listsxargs,gtimeoutandsleep, and afterstop-a-plant-run's stepsps -o pid=,comm= -p <them>prints nothing and exits 1, the run stopped before its next command;for i in 1 2 3; do gtimeout 30 sleep 27; done, killing the listedgtimeoutand then the run's group, or each listed process alone, left a newgtimeoutandsleeprunning whileps -pon the listed pids printed nothing; with the freeze, that loop and a two-inputxargsrun each leave no process afterkill -KILL(the two-input run on macOS only);gtimeout 5 go teston a hanging test exits 124 with noFAIL;genv --default-signal=INTprintstrapped, and nothing without it.timeoutandsleepafter the group kill;timeout 5on a hang exits 124; the SIGINT probe printstrappedonly withenv --default-signal=INT; andlist-a-run-by-descent's Probe prints three pids wherepgrep -Pprints one, and with the freeze neither its run nor the loop above leaves a process afterkill -KILL.list-a-run-by-descent's Probe withgtimeout 3 sleep 2, on macOS: 5 s after the probe's shell exited,ps -o stat=showed the run,xargs,gtimeoutandsleepallT; afterkill -KILLon each,ps -pon them printed nothing and exited 1.mainbinary counted 348.2 M on their firsthint_positions.yamlcompile and 310.0 to 311.1 M after, and a--versionrun first still left +14 M. Binaries left unused for twelve minutes, at load 85 with under 100 MB free, read 69 to 70 M high on their first run too, sofirst-run-of-a-batch-unreadasks for an unread run of the measured command itself before each batch, not only after a build or copy. Not measured on Linux, as the rule says.every-spelling-of-one-concept's Probe: at 5637f6c, whose Go tree ismain's,go run ./cmd/morphic-harness -cases fullexits 0 and reports no finding the records leave unexplained, while its summary'sspellingrow readsfound 951, the recorded findings included, so the Probe reads the unexplained findings, not that row. The head's Go tree differs frommain's only ininternal/archtest's, the canary's and the end-to-end suite's tests,internal/keydocandcmd/morphic-covergate, none of which the harness compiles (go list -deps ./internal/harness/openapicasesnames none).lastEditedAtafter its three comments'createdAt, and for skills: three probes need Linux tools that macOS lacks #2301, whose body was never edited,nullbeside its one comment;gh issue view --jsonlists no field holding an edit time.build-head-where-measured's Probe on a spec with an unresolved$ref, whose compile exits 1: the&&chain printed no count, and the grouped form prints one.[2.667, 2.4, 2.25]for n = 2, 8, 64.production-sets-each-parameter's parameter probe lists the production line callingPlant(1, nil)for a parameter production passes nil and only a test fills, and not the test's call, and for one production sets, the line setting it; its option probe prints nothing for an option only a test sets, and both settings of one production sets. A file underir/importingcompilers/openapi/internal/budgetfailsgo build ./irwithuse of internal package github.com/dexpace/morphic/compilers/openapi/internal/budget not allowed, which is the rule's probe. Thego list -e -testscan it replaced showed only that no package outsidecompilers/openapiimports it today, where the Why says none can.shaping-hints.md:25.handed-in-answers-join-the-key's probe lists one caller on the tree,operation.readSchema, whose memo reads through thereadfield of itsbranchReadingparameter, keyed by thepartpaired with it. A version printing each parameter's own type alone listed nothing there, nor callers planted inschemahanded an interface through a struct parameter or a receiver, which this one lists beside one handed afunc() bool. With callers ofReadOncePerRunplanted inmergetaking aFieldDeclarationContext, afunc() bool, anerrorand an interface declared in atype (…)group, beside one whose only parameter beside the context is anint, it lists the four and exits 0. The grep it replaced listed two of the four, missing theerrorand the grouped interface, and also missed a wrapped signature, a generic parameter and an explicitly instantiated call.context-reads-listed-by-type's two parts list nothing inmerge/detail.go, which reads through itswalkparameter. Of the 15operation/filebody.golines a grep by the context's usual names prints, its method part lists the 9 calling a context method, and the reads of the other 6, which handserviceContext.Ctxon, at their callees' lines,compilers/openapi/internal/schema/twin.go:49among them. Undercompilersit lists 38 lines of method calls that grep misses, and 29 that-algo staticmisses, each inside a closure passed as a value. With a reading planted that names its contextlcand callslc.SchemaRules()inside the closure it handsReadOncePerRun, the method part lists that call, which neither the grep nor-algo staticdoes, and the field part lists a plantedlc.Limitsread. With a closure passed as a value, taking afunc() booland handing it toReadOncePerRun, planted beside the callers above,handed-in-answers-join-the-key's probe lists it, which-algo staticdid not. At 9954835,design-rules.mdholds 3,851 words, and a trial merge with feat!: unify schema composition, folding and routing #2354 at 34f77cf, its one conflict resolved by keeping both citations, 3,992 with the skills lint clean.order-or-choice-admits-one-result's heading names the orders, selections and rankings its Rule binds, and holds 142 words.git show 461d16e32 -- ir/irversion_test.goadds the0.17.0row with itsmeaning.mainwith a fix committed inside the merge, theamend!andgit rebase --rebase-merges --autosquashreword exited 0, its tree diff printed and the fixed file was back in its broken form. Thefilter-branchreword left every tree equal, the own-commit count at 3 andmainan ancestor, on a branch, on a detached HEAD and in a linked worktree; without--not origin/mainthe trees stayed equal and the count rose to 4, a copy ofmain's signed commit. On a branch with no merge after the reworded commit, the samefilter-branchreword left all three trees equal, the own-commit count at 3 andmainan ancestor. With the message file named by a relative path,filter-branchexited 1 (msg filter failed) and rewrote nothing.*binder, and 40 takingallOfComposition, 6 of them first. Ago/parsercount over every non-test file undercompilers/agrees with the grep counts on every type's methods and on the functions of all eighteen types in archtest: count a function taking a type against that type's method cap #2377 butallOfComposition, whosecomposeModelwraps its signature before the type (41); it also findsstandandfinisherunder-read by the one-line probe, whose limit the rule's Probe states.git grep -hE '^func [[:alnum:]_]+(\[[^]]*\])?\([[:alnum:]_]+ \*?lowering\.Ctx[,)]' -- '*.go' ':!*_test.go' | wc -lcounts the 458 functions overlowering.Ctxoutside its package.$reftarget, with one set nearschema/nulls.go's 256-conjunct budget, showed no order or sibling dependence onmain, so the rule is stated as what a change adding such a memo must show, with no defect claimed.CLAUDE.md, feat!: unify schema composition, folding and routing #2354, feat(emitters/plan): plan a type's members, wire shape and alias #2204 and ci: build planted TypeScript with a pinned Node.js and tsc #2148, and feat(emitters/plan): plan an operation's tier, auth and effects #2321, feat(emitters/plan): plan discriminator routes and open types #2322 and feat(emitters/plan): walk a scalar's base chain to its root once #2353, which carry feat(emitters/plan): plan a type's members, wire shape and alias #2204's skill edits, only feat!: unify schema composition, folding and routing #2354 meets this one on a line, in two files (trial merge at feat!: unify schema composition, folding and routing #2354's 74e754c): both editname-what-it-holds' line on renaming, each adding a citation, andCLAUDE.md's naming bullet, which this PR rewraps and feat!: unify schema composition, folding and routing #2354 extends by a sentence on a defined word's one sense. Whichever merges second keeps both sides of each. So resolved,design-rules.mdstays within a reference file's 4,000 words, and every other file either side touches stays within its cap.gh pr view --json filesandgh pr list --json filesreturn 100,gh apionpulls/2354/fileswithout--paginatereturns 30,gh pr diff --name-onlyrefuses the diff (HTTP 406, "exceeded the maximum number of files (300)") and exits 1, andgh api --paginate 'repos/{owner}/{repo}/pulls/2354/files' --jq '.[].filename'lists 646. On feat(emitters/plan): plan discriminator routes and open types #2322 (227 files at 788a91b),gh pr diff --name-onlylists all 227.git grep -nE 'gh (pr|api)|pulls/|--json[^|]*files|name-only' -- .claude CLAUDE.md AGENTS.md docs Makefile .githubfinds no otherghlisting of a pull request's files; every--name-onlyit finds is a localgitcommand.determinism.md:20forread-the-source-not-the-registryanddeterminism.md:40formemo-across-charged-walks.morphic-designing-code's body holds 496 words, and 500 beside feat!: unify schema composition, folding and routing #2354, which adds four;count-on-one-threadholds 150 andstage-a-stepwise-fold147 bywc -w.rule-format.mdstays within the 4,000 words a reference file takes.NOT_A_PATH, a lint test fails.git diff "origin/main...<head>"prints what the merge-base form does at four heads of this branch, and, fortrial-merge-reads-what-the-head-adds,git diff "$B...<head>"andgit diff "$(git merge-base $B <head>)" <head>print identical bytes at five open PR heads 26 commits behind this branch's 7c60b8b as$B, where the two-dotgit diff $B <head>differs.-runpattern naming a missing test beside an existing one planted in a skill, besidego list -f '{{.TestImports}}' ./ir,TestDocuments_LinksResolveandTestDocuments_NameOnlyTestsThatExistreport the five plants and nothing else, and the skills lint reports none of them.TestLinkProblems_ReportsALinkThatResolvesToNothingfails with the document trees cut back to the root. A skill writinggo test ./internal/archtest -run '^TestDocComments$', which runs no test, failsTestDocuments_NameOnlyTestsThatExist, andTestTestNameProblems_ReportsANameNoTestDeclaresfails with an end-anchored alternative read as a family. With a-skippattern, adlv testcommand's and a test binary's-test.run, a-runspan wrapped across two lines and a name in prose planted in a skill, each naming no test,TestDocuments_NameOnlyTestsThatExistpasses, and it fails on ago test -runplant beside them.irshim exportingcanonicalWordsExactlyand an absentcompilers/compileinternal test comparingneutralHintwith it over five hints prints--- PASS, andgit status --porcelain --untracked-files=allthen prints nothing.go test -count=1 . 2>&1 | /usr/bin/grep -E '^(--- FAIL|ok|FAIL)'printsBinary file (standard input) matchesand exits 0; with-ait prints the--- FAILline and threeFAILlines, and-cprints 4.guard-only-a-cost-test-notices' Probe restates skills: redundant-guard never runs the cost tests, so it deletes a guard that only saves work #2384's reproduction at feat!: unify schema composition, folding and routing #2354's 775043a. At the head, whosecompilers/tree ismain's,guard-only-unit-tests-reach's profile of./compilers/openapi/e2eover./compilers/openapi/...passes (175.5 s) and listsschema/branch.go:132.3,133.1,allOfIn's nil guard; that apanicplanted there leaves the suite green and fails onlyTestConjunctsIn_ANilSchemaWritesNoneis skills: no rule finds code real input never reaches while each package's tests cover all of it #2385's measurement at 4a7a384,main.claim-on-the-other-heads-tree's probe exits 0 and stages onlypass/; its old probe accepted every exit the command can give.one-letter-names-by-kind's probe lists five, missing only the wrapped generic signature'sb, as its Rule says; the probe it replaced listed one.grep -c varnamelen .golangci.ymlprints 0.list-a-shapes-names' first command ranksfunc(ir.TypeID) (ir.TypeDef, bool)second, at 25, and its second, with the Probe'spandr, printsnode,Node,resolve,returnandType.CanonicalWordsacrossir's files through an overlay leavesTestIRVersion_PinsTheNamesandTestIRVersion_PinsTheEncodedShapepassing, and appending a word to one hint intestdata/golden/openapi/hint_positions.golden.jsonfailsTestIRVersion_PinsTheNames.split-a-package-by-phase's probe oncompilers/openapi/internal/schema, with*compile.Typesand*statement.Schemaas the markers, prints 755 and lists 21 files. Summed per package over non-test files,git grep -c '^func [A-Za-z]'givesoperation249 andmerge174, and no package butschemamore than 249.entry-lists-moved-ids-and-codes' probe over fix!: home union bounds and fold redeclared composition members #1977's commit (9562ea46d^!) printsp/openapi/.../properties/<p>forms going andp/composed/<model>/oneOf/<n>/allOf/allOf/properties/<p>forms coming, and over refactor(compilers/openapi)!: lower a schema from one statement #1996's commit it prints one finding arriving atopenapi/composition-loweringbeside 13 leavingopenapi/degraded-construct.heading-matches-the-rule's probe with chore(skills): resolve the skills issues filed up to #2407 #2379's67bbcf87aforHEADprints the narrower heading beside its Rule's opening, "Right before the build starts".pin-a-revision-where-it-stays' Probe, in bash and zsh:461d16e32prints 0 againstorigin/main; chore(skills): resolve the skills issues filed up to #2407 #2379's67bbcf87aprints 1 there and 0 against the fetchedpull/2379/head; feat!: unify schema composition, folding and routing #2354's775043adaprints 1 against both; docs(emitters): lower redaction and stability tiers #1340's4cb221a80prints 0 againstpull/1340/head; and0123456abprints 128. Itsgh api 'repos/{owner}/{repo}/commits/<sha>/pulls' --jq '.[].number'prints 1009 for461d16e32, which themaincheck already settles, 2379 for67bbcf87a, 2354 for775043ada, and exits 1 on0123456ab. For each revision the skills cite offmain,gh api repos/dexpace/morphic/commits/<sha>/pullsnames a PR its rule names, bar skills: four rules on main cite a revision by an issue, not the PR holding it #2421's five.grep -c -i -E 'harness|oracle|openapicases'counts 10 lines inreuse.md, wheremain's holds none.gh issue view 1918 --json 2>&1 | grep -ciE 'edit'prints 0, asprobe-output-holds-its-fact's Probe says.parser-library.md#planted-bare,docs/parser-library.md#planted-docs,openapi.md#planted-bare-specanddocs/compilers/openapi.md#planted-docs-specplanted in a skill,TestRecord_CitationsNameAnEntryreports the first two andTestLoweringSpec_CitationsNameARulethe last two. Beforekeydoc.Citationsread the skills both passed,TestDocuments_LinksResolvereported only the twodocs/forms, as missing headings, and the skills lint reported none. With nothing planted, every citation the skills write passes both.TestCitations_ReadsEachKindOfFile,TestCitationProblems_ReportsAKeyNoEntryHasandTestCitations_FailsOnAFileItCannotReadfail withCitationswalking the root alone, andTestLoweringSpec_CitationsAreReadInEveryFormfails with the specification cited ascompilers/openapi.md.internal/keydocholds 100% statement coverage, and the Upkeep step'sgo testrun, as written, runs its seven tests and passes.go test -count=1 ./internal/archtest, which reads the skills' Markdown for the link and test-name checks (TestDocuments_LinksResolve,TestDocuments_NameOnlyTestsThatExist), the line-opening check (TestDocuments_OpenNoLineWithAPlus) and the retired-page check (TestDocuments_CiteNoRetiredPage) and holds their layout (TestAgentFiles_ReachAntigravity), passes on the final head, and so does CI's lint job, which runsgo vetand theMakefile's pinned golangci-lint; the package declares no statement for the coverage gate to count. CI's gate run on the final head checks the rest.trial-merge-lints-the-skillsnamingSKILLX.mdas Upkeep's file, the skills lint reports it;morphic-shipping-prs' body holds 500 words.git apply --3wayexit 1,git diff --name-only --diff-filter=Ulists that file holding<<<<<<< ourswhile the other file is staged, and once it is resolved and added the list is empty.'^TestOverlayProbe',TestDocuments_NameOnlyTestsThatExistreports it; written'^<Test>$', Upkeep's checks pass.name-what-it-holds' line kept, the skills lint is clean, as is the archtest run Upkeep names; withbuildsVariantzplanted, the lint reports that name.test_a_go_name_placed_in_a_file_is_held_to_its_declarationsfails with the one-line reader put back, on a wrappedWraptinir/b.go; every trial merge above stays clean under the widened lint.make casespasses at e739521, whose Go tree ismain's, ascases-before-done's Probe asks.Closes #2301, closes #2306, closes #2308, closes #2309, closes #2310, closes #2319, closes #2320, closes #2346, closes #2347, closes #2348, closes #2349, closes #2350, closes #2351, closes #2352, closes #2355, closes #2356, closes #2357, closes #2358, closes #2359, closes #2360, closes #2361, closes #2362, closes #2363, closes #2364, closes #2365, closes #2366, closes #2368, closes #2369, closes #2370, closes #2372, closes #2381, closes #2382, closes #2383, closes #2384, closes #2385, closes #2393, closes #2394, closes #2395, closes #2396, closes #2397, closes #2398, closes #2399, closes #2402, closes #2405, closes #2406, closes #2407