strata19.spec_link
Composite member tool
What it does
Links from a specbook claim (by stable claim key, or a legacy chunk/spec reference the alias table resolves) to code, tests, other claims, work items, decisions and library artifacts, in all seven link types. action record WRITES a link at tier T1 (proposed, unconfirmed; store-row targets are validated at write time). action list reads a claim's links; confirm (to tier human) and remove are HUMAN ONLY (a person's click). Without action, records (or removes) one legacy spec-to-code link. A link claiming a person's ratification (tier "human", or the omitted default) is refused without a redeemable human gesture; tier "T0" is refused for every caller (only the code-index derivation writes it). An assistant's link is recorded at T1 and never makes the entry "evidenced"; a confirmed human link does (the human half of "a T0 deterministic match OR a ratified human link"). The target must exist in this project's index (file present, named symbol exported) or the link is refused. A target project:<projectId>/<claimKey> points at a claim of ANOTHER registered project (read-only): an assistant's reference is a proposal that reads nothing of it until a person confirms; list then says whether it is current, changed, missing or unreachable.
When to use it
Use when: "link this requirement to the code that implements it" · "what is linked to this requirement" · "I confirmed this code implements this spec" · "ratify this link"
Also use when: a human reviewer verified the link
When not to use it
the link is model-proposed/unconfirmed — T1 links come from the generators; or the user only wants to READ the specbook — use spec_workspace or spec_view, which cannot write HUMAN ONLY (authority table): action "confirm"; action "remove"; action "record" when tier is "human", or omitted on the legacy form (no claimKey; its default claims a person's ratification). These need a person's gestureToken; assistant calls are refused (requires_human). Ask the person.
Availability
| Tier | Composite member |
| Lifecycle | Live |
| Taught by | strata19-coordinate-multi-repo-work, strata19-link-evidence |