Skip to content

feat(architecture): place reader-load axes and invariant signal in deepening, and the pressure-test route in - #12218

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12148-41374158200-1
Nov 2, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12148-41374158200-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12148

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The deepening scan briefing now treats reader load as two independent axes, layers to trace and state to hold. It says line count is only a proxy for either, and it gains a fourth scan-only signal for an invariant that several callers re-check when the module that first makes the value could enforce it once in its interface. The signal's tax example row uses the table's existing shape. /planning:design's two-candidate step now sends a logic or state fork (rules, a state machine, a data model, an API surface) that a run can settle to /prototype:pressure-test observe, beside the look-and-feel route to /prototype:explore-directions, because running each candidate on the same inputs beats arguing them; I chose the observe mode because pressure-test documents it as the fork-runner for two or more variants. Each added passage states its reason and a test, and names its pstack principle in the same inline form #12147 used in coupling. I wrote 'interface' rather than 'boundary' because the deepening vocabulary forbids 'boundary'.

Not verified

  • Tidy (code-tidying:tidy-diff) not run: the change spans 2 areas (plugins/architecture with .changes/architecture, plugins/planning with .changes/planning), over the 1-area tidy cutoff
  • The PR's CI green (an issue done-when item) is left to the PR's CI; CI-only checks such as line-citations, purged-em-dashes, lychee-offline and editorconfig were not run here
  • markdownlint and typos were skipped by the lane's checks (markdownlint skipped by check-changed-skills; typos not installed); left to the PR's CI
  • docs/upstream/cursor-pstack.md (the pstack absorption ledger) was not updated to record these placements: the issue does not ask for it, and it would add a third area
  • Untracked files in the checkout root that this run did not create (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) were left untouched; they are not part of this change
  • Changes left uncommitted in the working tree, per the runner's instruction that it turns the tree into the patch

Fix

  • plugins/architecture/skills/improve/research/deepening/scan-briefing.md: two-axis reader-load framing (layers to trace, state to hold; line count only a proxy, never shallow-signal evidence) before the scan-only table, which now opens 'Four further signals'; new 'Invariant re-checked in each consume
  • plugins/planning/skills/design/SKILL.md: the two-candidate step routes a logic or state fork a run can settle to /prototype:pressure-test observe, with reason and test, beside the existing look-and-feel route; the scope confirmation and prose fallback now cover both routes
  • .changes/architecture/work-resolve-issue-issue-12148-41374158200-1-64cd02e5.md: new bump: patch fragment describing the scan additions
  • .changes/planning/work-resolve-issue-issue-12148-41374158200-1-37d04c20.md: new bump: patch fragment describing the pressure-test route

Verification

The runner ran each check from the base copy against 7978e43:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //github.com/cursor/plugins/blob/88d47514b82e7c44f00f2b2a72ff6dd12158038c/pstack/skills/principle-minimize-reader-load/SKILL.md: the principle names two independent axes, layers to trace and state to hold; treats LOC as a proxy; and says to name the invariant at the boundary, not in ever
  • read https: //github.com/cursor/plugins/blob/88d47514b82e7c44f00f2b2a72ff6dd12158038c/pstack/skills/principle-exhaust-the-design-space/SKILL.md: the principle says to build 2-3 competing prototypes and compare them side by side before committing to a novel UI or architectural decision
  • read plugins/prototype/skills/pressure-test/SKILL.md: its observe mode runs two or more variants of the same logic on the same inputs to settle a fork, so the route names observe
  • .lane/checks/bin/check-changelog-fragments: all 10 fragments valid (run before and after the review fixes)
  • .lane/checks/bin/check-changed-skills: improve PASS (0 errors, 1 pre-existing description-length warning); design PASS (0 errors, 6 warnings: 5 pre-existing size/gotchas/procedure warnings, plus body growth 443 -> 449 lines from this addition)
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped, 0 failed over 4 changed files
  • fresh-context review subagent over the whole diff: no bugs; 3 should-fix and 5 nit findings; all fixes applied (example row moved to the rates client, observe mode named, test reworded, API surface added, the 'two candidates' assumption dropped, fallback ordering fixed, 'vary independently' wording,
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41374158200

Left out: the items under Not verified.

Related

#12148

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12218

I found no security issues in this PR.

I read every hunk of all 4 changed files:

  • .changes/architecture/…-64cd02e5.md and .changes/planning/…-37d04c20.md are new changelog fragments. They are prose only.
  • plugins/architecture/skills/improve/research/deepening/scan-briefing.md adds prose on reader-load axes and one new row to the scan-only signal table. It removes and loosens nothing.
  • plugins/planning/skills/design/SKILL.md adds a route for a logic or state fork to /prototype:pressure-test observe. I checked this hunk with the instruction-surface lens because it rewrites a standing instruction in a skill body. The one guardrail in the old text was the step that confirms the throwaway's scope with the user. It is kept and now covers both routes ("Confirm the scope of the throwaway with the user before either route"). The prose fallback is also kept. The new route goes through the Skill tool only when that skill is among the available skills, and it grants no new tool. Nothing protected was removed, so the instruction-surface lens finds nothing. docs/contracts/instruction-exception-register/README.md was not needed, because no rule was deleted, narrowed or softened.

Other checks:

  • Trusted paths: no changed file matches a TRUSTED PATHS glob.
  • Trust controls: none touched.
  • Plugin manifests: no plugin.json or marketplace.json change.
  • Workflows and scripts: none changed, so no token-scope or Actions surface is involved.
  • PR context: I read it as data. It contains no embedded directive aimed at this lane.
  • Prior findings: none, round 0 of 3. The cap does not apply.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Code review: PR #12218 (head 7978e43)

No findings. I read every hunk of all 4 changed files: two changelog fragments, scan-briefing.md and planning/skills/design/SKILL.md. No changed file matches a trusted-path glob. The change is prose only: it edits skill bodies and adds changelog fragments.

Checked against closing issue #12148

  • Two reader-load axes, with line count as only a proxy: met. The new paragraph before the scan-only table (scan-briefing.md#L37-L44) names "layers to trace" and "state to hold". It also says a line count is never the evidence in shallow-signal, which matches the vocabulary primer's ban on reading depth as a line count.
  • New signal for an invariant re-checked in each consumer, with an example row in the table's shape: met at L51. The row uses the same 3 columns and the same tax case as the other rows. It says "interface" where the issue says "boundary", because the primer at L17-L18 forbids boundary. The opening count now reads "Four further signals" and matches the 4 rows. "Four more signals are hazards" further down refers to a different table, so it stays correct.
  • Design's two-candidate step routes logic or state forks to /prototype:pressure-test: met at design/SKILL.md#L156-L165. The observe argument it names exists: plugins/prototype/skills/pressure-test/SKILL.md L3 and L135-L171 define it as running two or more variants of a fork on the same inputs. That skill sets disable-model-invocation: false, so the Skill-tool call can resolve. Its auto-invoke gate ("STOP and confirm scope") agrees with the new "Confirm the scope of the throwaway with the user before either route". The prose fallback still applies when neither route fits or the skill is missing.
  • Each added sentence states its reason and its test: met. The axis paragraph gives a placement test, the invariant row has a "Test:" clause, and the design route gives a reason ("running each candidate … only predicts it") and a test ("name the event sequence or record …").
  • bump: patch fragments under .changes/architecture/ and .changes/planning/: both are present and describe what the diff changes.
  • The PR's CI is green: I could not check this from the lane. The author reports that check-changelog-fragments and check-changed-skills passed; I did not run them.

These criteria are about prose placement, so only a grep-style check could guard them. I don't count that as a gap.

Path-scoped rules

.claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md match the two skill files. The added text restates no volatile upstream specific, such as a limit, version or tool behavior given as a reason. It names pstack principles by topic only, which the rule allows and parent issue #7589 (Q175) requires. It makes no cost claims. Neither file has a ## Next section to update.

Other checks

  • Manifests: no plugin.json or marketplace.json changed, so no manifest lines apply.
  • Paved paths: no paved-path row resolved under docs/standards/, so nothing to report.
  • Prior findings: none. This is round 1 of a cap of 3, and the cap does not apply.
  • Embedded instructions: none found in the PR context.
  • Spend: none.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 7978e43d751528d211c26ea40a5ed559855e4ab2. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit fcaae52 Nov 2, 2026
44 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12148-41374158200-1 branch November 2, 2026 02:23
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.

feat(architecture): place the reader-load and invariant-at-boundary parts in deepening and the run-it route in /planning:design

1 participant