Skip to content

docs: toolkit DX + framing (per-repo install, validation-not-cert, exceptions prior art)#9

Closed
richbodo wants to merge 1 commit into
spec/exceptions-conceptfrom
docs/toolkit-dx-improvements
Closed

docs: toolkit DX + framing (per-repo install, validation-not-cert, exceptions prior art)#9
richbodo wants to merge 1 commit into
spec/exceptions-conceptfrom
docs/toolkit-dx-improvements

Conversation

@richbodo
Copy link
Copy Markdown
Owner

What

Toolkit DX + process improvements surfaced while authoring the Exceptions contribution (#8). Independent of #8's acceptance, but stacked on it (base = spec/exceptions-concept) so the diff is clean and the exceptions.md / framing links resolve. Retarget to main once #8 merges.

Three changes:

  1. Per-repo skill install (docs/users-guide.md) — the existing install section covered global symlink + a terse project-level aside. Expanded into a proper per-repo recipe: symlink (dev, no drift, don't commit a machine-specific path) vs vendored copy (committable, collaborator-friendly, pin the PNT commit in an INSTALLED_FROM.md, re-sync before relying on it). Plus the caveat that bit us: skills load at session start — restart to invoke.
  2. Validation, not certification (spec/PNA_Spec.md § Building a PNA) — promotes the stance (today only in CONTRIBUTING.md + SKILL.md) to a first-class framing statement in the spec itself, and ties in that exceptions are reported by AC-*/EX-* ID, not graded.
  3. Prior-art § 9 (docs/prior_art.md) — "behavioral exceptions, consent propagation, and graded assurance": the precedents the Exceptions concept borrows (EAL/ASVS/SLSA grading, EARL reporting, TCF/UMA/Kantara/macaroon-attenuation for EX-H7, nutrition-labels/model-cards/datasheets for the strength profile) and the finding that the mechanics have precedent while the exception-as-class-concept is novel.

Verification

  • python tools/lint-spec-ids.py → OK (25 ACs, 12/12 contracts, 1 exception ID) — no AC/EX rows changed.
  • Docs/framing only; no behavioral or contract changes.

Sequence

Part of the PR1 → PR2 → PR3 chain. PR 3 (next) versions the toolkit as a unit anchored to the spec version (root VERSION, per-artifact headers, lint enforcement), after which we re-validate the whole chain against the now-named version.

🤖 Generated with Claude Code

…xceptions prior art

- users-guide.md: expand per-repo skill install (symlink for dev vs
  vendored-copy-with-pinned-commit for a contributing design) + the
  'skills load at session start, restart to invoke' caveat.
- PNA_Spec.md § Building a PNA: promote 'validation, not certification' to
  a first-class framing statement (cross-links CONTRIBUTING + SKILL; ties
  in exceptions reported by AC/EX ID, not graded).
- prior_art.md: new § 9 — behavioral exceptions, consent propagation
  (TCF/UMA/Kantara/macaroons), graded assurance (EAL/ASVS/SLSA/EARL), and
  legible labeling (nutrition labels/model cards/datasheets); finding that
  the mechanics have precedent but the exception-as-class-concept is novel.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@richbodo richbodo force-pushed the docs/toolkit-dx-improvements branch from d6f1ff5 to 393bd08 Compare May 31, 2026 09:47
@richbodo richbodo deleted the branch spec/exceptions-concept May 31, 2026 09:51
@richbodo richbodo closed this May 31, 2026
@richbodo richbodo deleted the docs/toolkit-dx-improvements branch May 31, 2026 09:54
@richbodo
Copy link
Copy Markdown
Owner Author

GitHub auto-closed this PR when its stacked base branch (spec/exceptions-concept, the #8 head) was deleted on merge, and a closed PR can't be reopened onto a deleted base. Its content was rebased onto current main (conflicts with #6/#7 resolved) and merged via #11. Superseded by #11 — no action needed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant