Skip to content

feat(architecture): add four agent hazards to the deepening scan and a one-paragraph shape to record-decision - #9564

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-8646-40060491339-1
Oct 24, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-8646-40060491339-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8646

Summary

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

The deepening scan of /architecture:improve now checks four agent hazards (split ownership, two ways to do one task, importable internals, hand-synced list) judged by an open-file test, and takes a spec or plan for upcoming work as a scope source. /architecture:record-decision offers a one-paragraph ADR shape and lists the kinds of decision that qualify. Two eval cases and a minor changelog fragment were added.

Not verified

  • Changes are left uncommitted in the working tree as the run instructions require; the HEAD is detached so new-changelog-fragment could not run and the fragment was written by hand in its format
  • CI's check-skills on the PR is left to the PR's CI
  • Review ran in a subagent, which found no defects but could not run git diff or a JSON parser; deletion check and JSON validity rest on my insertion-only edits and check-evals-quality passing
  • Build/test beyond the listed checks was not run: this change is documentation and eval JSON only

Fix

  • plugins/architecture/skills/improve/actions/deepening.md: added the spec-or-plan scope source, and the four hazards with the open-file test beside the Phase 1 signals
  • plugins/architecture/skills/improve/research/deepening/scan-briefing.md: added a four-row hazard table with the open-file test to the friction checklist
  • plugins/architecture/skills/record-decision/SKILL.md: added the line of qualifying decision kinds under the admission test and the one-paragraph ADR shape in Step 2b
  • plugins/architecture/skills/improve/evals/evals.json: added case 10, split ownership citing the open-file test
  • plugins/architecture/skills/record-decision/evals/evals.json: added case 8, no-convention run offering the one-paragraph shape
  • .changes/architecture/issue-8646-agent-hazards-3f9a1c2e.md: minor fragment naming pstack's architect design red flags and Matt Pocock's domain-modeling ADR format

Verification

The runner ran each check from the base copy against dd4338b:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

Left out: the items under Not verified.

Related

#8646

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

Copy link
Copy Markdown
Contributor

claude-security-review reviewed dd4338b53f142d392431730ef06fe5ac371ac144: 0 finding(s), 0 as inline comments.

No security issues found in this pull request.

Scope: I read all 6 changed files in the diff and the PR context. The change is insertion-only documentation and eval fixtures for the architecture plugin. It adds four agent-hazard signals and an open-file test to the deepening scan, a "kinds of decision that qualify" line and a one-paragraph ADR shape to record-decision, two eval cases, and a changelog fragment.

  • Instruction surface: no standing instruction, guardrail, hook list or allowlist is deleted, narrowed or softened. The record-decision Step 2b rule ("Write nothing: no directory, no file, no placeholder") is untouched. The new one-paragraph shape is only offered as an option before that stop, so the rule still holds. The instruction exception register was not consulted, because nothing was removed from any instruction.
  • Spec or plan as scan scope: deepening.md now lets the scan take a spec or plan as its scope. That input only chooses which areas the read-only scan covers. It adds no tool grant, command execution or write path.
  • Plugin manifests: the diff touches no plugin.json or marketplace.json, so there are no manifest <field> lines to report.
  • Other surfaces: no code, workflow, permission, token or secret handling changed. The eval JSON adds only prompts and expectations, and the new files entries are fixture paths inside the plugin.
  • PR context: it contains no embedded directives. It is the lane's ordinary summary and verification log.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed dd4338b53f142d392431730ef06fe5ac371ac144: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (6 files) and the PR context, and checked the closing issue #8646 against it.

Closing issue #8646 acceptance criteria

  • Additions, none removed: the diff adds the four hazards and the open-file test to both deepening.md and scan-briefing.md. It adds the spec-or-plan scope source to deepening.md, and the qualifying kinds and one-paragraph shape to record-decision/SKILL.md. Every hunk is insertion-only. The hazard wording and the kinds list match the issue's brief.
  • Eval cases: improve case 10 (split ownership citing the open-file test) and record-decision case 8 (one-paragraph shape offered) match the behaviours the issue names. Case ids continue the sequence (the previous last ids were 9 and 7). The fixtures that case 8 lists exist under evals/fixtures/no-convention/.
  • Changelog fragment: one bump: minor fragment for architecture names pstack's architect design red flags and Matt Pocock's domain-modeling ADR format.
  • CI check-skills: this run did not run it, so I can't say whether it passes.

Not verified by me: the author's reports of check-evals-quality and check-affected passing, and the JSON validity of the two evals.json files. I had no shell, so I ran nothing. I read the added JSON blocks and saw no syntax problems. The runner's check-changelog-fragments.sh --check result in the PR description is also the runner's claim, not mine.

Manifests, paved paths, hold: no plugin.json or marketplace.json changed. I did not look for a paved-path standards index, so paved-path conformity was not checked. No hold class applies: no model or API spend, no trust-gate paths, no security finding.

Embedded instructions: the PR context contains no instructions aimed at the reviewer.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 24, 2026
Merged via the queue into main with commit 77442b7 Oct 24, 2026
39 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-8646-40060491339-1 branch October 24, 2026 04:29
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): add four agent hazards to the deepening scan and a one-paragraph shape to record-decision

1 participant