Skip to content

docs(adr): keep kept-adapter operation and measured fact in ADR 0101 - #16720

Merged
kyle-sexton merged 1 commit into
mainfrom
docs/15730-adr-0101-kept-classes
Nov 17, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
docs/15730-adr-0101-kept-classes

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #15730

Summary

ADR 0101 gains two kept classes, so the #15730 classification can count cuts against the record:

  • Kept-adapter operation: text a model reads on how to install, run or read the output of a
    tool that a kept executed adapter drives, placed once in the skill's own reference page.
  • Measured fact: a recorded measurement or probe of an outside tool that contradicts what a
    model would otherwise do, or that pairs a rule id of ours with an outside diagnostic, kept as one
    stamped row only while a targeted eval case fails without it.

Owner decision, relayed by an agent session (owner, 2026-11-16, in the GitHub Work session,
recorded there as decision D43): "ADR 0101 gains kept classes for R6's third clause and R8; the
count covers R11 plus failing R4 and R8; R6 defers ecosystem ids to R7."

Fix

  • docs/adr/0101-...md: status line, two rows in the classification table (after
    Declared-ecosystem surface), "last four" becomes "last six", the revisit trigger's "five classes"
    becomes "seven", and a second amendment section stating the decision and why. The 2026-11-16
    amendment is left as written. Neither new class keeps a default: decision 2 ("Ship no bundled
    default") stands, so "kept default" from the design's R6 wording is not carried over.
  • docs/plugin-philosophy.md: the two lists of ADR 0101's named exceptions (Hardcoded consumer
    specifics, and the consumer-tool port exception) name the two classes.
  • docs/review/skills-and-agents.md says only "the named exceptions", so it needs no edit. No
    other file on main lists the classes (git grep for the class names over docs/,
    plugins/playbooks/ and .claude/).

Docs only; no skill text changes, so no eval applies.

Verification

  • markdownlint-cli2 on both files: 0 issues.
  • Commit hooks (guardrails content check, comment lint, commit-message convention) passed.

Remaining

#15730 still needs: the blind classification round under the reworded rules, the full
classification pass, the per-plugin count posted on the issue, and the filing of cut items behind
the owner's yes on the stated count.

Related

🤖 Generated with Claude Code

ADR 0101 gains two kept classes under the owner's decision of
2026-11-16: text on operating a tool a kept adapter drives, and a
measured fact kept only while a targeted eval case fails without it.
The plugin philosophy's two lists of the named exceptions name them.

Refs: #15730

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 17, 2026 07:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T07:07:09.746198Z cf965b9 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44036459589

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed cf965b911f21676a920696c32567329404471321: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read both changed files in full:

  • docs/adr/0101-resolve-ecosystem-specifics-from-the-consumer-repository.md
  • docs/plugin-philosophy.md

Neither file matches a trusted-path glob.

What the change does. It adds two kept classes to ADR 0101's classification table, "Kept-adapter operation" and "Measured fact". It updates the class counts ("last four" becomes "last six", "five" becomes "seven") and adds a 2026-11-17 amendment section. docs/plugin-philosophy.md updates its two lists of the named exceptions to match.

Why it carries no security risk.

  • No code or config changes. The change touches no workflow, action, script, manifest, hook, token request, trusted-actor list or merge hold.
  • Instruction-surface lens. The change widens a portability rule: what ecosystem-specific text a generic skill may keep. That rule is not a guardrail in a protected class.
    • The "Security or safety floor" row is unchanged. It still says removing or narrowing a floor is the owner's decision each time.
    • Decision 2 ("ship no bundled default") stands. The new amendment says so explicitly.
    • Nothing that stopped a destructive, credentialed or external action loses its check.
    • I did not open docs/contracts/instruction-exception-register/README.md. I judged by consequence, and nothing removed touches a protected action.
  • PR context. It contains no embedded directives aimed at the review lane.

The review was not blocking-only: the prior-findings file lists no earlier reviewed heads.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed cf965b911f21676a920696c32567329404471321: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This is a docs-only change. It adds two kept classes to ADR 0101's classification table, Kept-adapter operation and Measured fact, and adds the same two classes to both lists of named exceptions in docs/plugin-philosophy.md. I read every hunk of both changed files.

Consistency checks (all pass)

  • Table count: the table at head has seven classes. Model-read specific is the only one cut; the other six are kept. That matches "the last six classes" and the revisit trigger's "seven classes above".
  • Earlier amendment: the 2026-11-16 amendment still says "The other four classes are unchanged". That was true when it was written, and the PR leaves it as a historical record on purpose. It is not drift.
  • Other copies of the list: I searched the repository for other places that list ADR 0101's exceptions. docs/review/skills-and-agents.md says only "the named exceptions", so it needs no edit. I found no other file that lists the classes, which matches the PR description.
  • The portability-ok: marker: the new Measured fact row uses portability-ok: measured <case-id>. That fits the existing portability-ok: <reason> per-site escape in scripts/check-skill-portability.sh, so the marker shape does not conflict with the current check.

PR context

Other checks

  • Loosened checks: the prompt has no loosened_check_verdict: or loosened_check_patterns: lines, so I used verdict fail with no consumer entries. The change loosens no check. Loosened-check verdict: pass (nothing loosened).
  • Plugin manifests: none changed.
  • Spend and hold: the change spends no credits and sets no hold.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 3df9d09 Nov 17, 2026
77 of 91 checks passed
@kyle-sexton
kyle-sexton deleted the docs/15730-adr-0101-kept-classes branch November 17, 2026 07:46
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant