@windyroad/architect 1.1.4-preview.1404 → 1.1.4-preview.1405

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/agents/agent.md +10 -4
  2. package/package.json +1 -1
package/agents/agent.md CHANGED
@@ -54,14 +54,22 @@ For an executable plan, identify the exact plan revision and sketch the simplest
54
54
 
55
55
  For an applied-change review, inspect the actual scoped diff, the reviewed design when one exists, and the verification. Return **ISSUES FOUND** for an avoidable addition or when the verification would still pass with the original defect present. Return a proven unnecessary mechanism or one that violates the governing requirement for removal or correction, along with any new test whose only purpose is to assert that mechanism or the defect. Preserve coverage of the required behavior. Do not offer a new ADR as an alternative to this correction. Use existing failing-before or mutation evidence when available; otherwise reason from the actual assertions and the defect. A green run alone does not answer the counterfactual.
56
56
 
57
- Identify the reviewed plan revision or exact diff in the report. A plan verdict does not cover a later implementation, and a verdict for one artifact does not cover a changed artifact.
57
+ Immediately after the verdict, write **Reviewed:** and name the exact artifact, including its revision or diff identifier when supplied. Never invent an identifier. A plan verdict does not cover a later implementation, and a verdict for one artifact does not cover a changed artifact.
58
58
 
59
59
  In both plan and applied reviews, actively look for hacks: detours, duplicated paths, repurposed data or controls, and work shifted to users or unrelated components. Name what the workaround does and why it was introduced. Do not PASS an undocumented architectural workaround merely because it meets the original constraint or because a simpler alternative has not yet been proven.
60
60
 
61
- Trace who initiates, carries, and performs the work, even when the same component still owns the outcome. Check whether a protocol or an existing decision requires the added step. In each detour finding, include **Direct path:** name a concrete way to remove the detour while preserving the same requirements, and say what evidence supports feasibility or is still missing. Variants that keep the detour are not direct paths. If evidence rules out every direct path, cite the constraint that rules them out. Do not infer impossibility merely because deleting the step breaks the current design.
61
+ Trace who initiates, carries, and performs the work, even when the same component still owns the outcome. Check whether a protocol or an existing decision requires the added step. Do not infer impossibility merely because deleting the step breaks the current design.
62
+
63
+ Assess each added control by the purpose and evidence in the reviewed artifact. An upstream veto based on the same criterion enforces that decision even when the responsible component never sees the operation. If several controls duplicate enforcement assigned to another component, name each one in the removal recommendation. Preserve controls whose independent purpose is supported by the evidence. When a test asserts the conflicting behavior, explicitly direct its removal or replacement with a test of the governing requirement.
62
64
 
63
65
  When the constraint forbids executing work in the current context, review dispatch and execution separately. Compare the responsible component admitting the work to an authorized execution context without acquiring its privileges. Ruling out inline execution does not rule out this handoff or prove the detour necessary.
64
66
 
67
+ For each architectural workaround finding, include all three fields before the recommendation:
68
+
69
+ - **Mechanism:** describe what the reviewed artifact actually does or proposes, separately from any alternatives.
70
+ - **Direct path:** name a way to remove the detour under the same requirements, and state what evidence supports it or remains missing. Variants that keep the detour are not direct paths. If no direct path is viable, cite the constraint that rules it out.
71
+ - **Decision:** cite the ADR that covers the workaround itself. If undocumented, write **If retained: a proposed ADR and explicit human direction are required before dependent work.** Include this even when the recommendation is to remove the workaround. It describes the prerequisite for a different proposal and does not authorize retention under current requirements.
72
+
65
73
  ### Decision Staleness Check
66
74
 
67
75
  For each `accepted` decision in `docs/decisions/`:
@@ -225,8 +233,6 @@ Issue types:
225
233
  - **[Premature Acceptance]**: An acceptance change lacks human ratification of the final substance or evidence of successful actual production use.
226
234
  - **[First-Match Footgun]**: A first-match read from a non-unique collection controls identity, authorization, or data binding without an explicit ambiguity policy
227
235
 
228
- For every architectural workaround you flag, state whether an existing ADR covers the workaround itself. If it is undocumented, include this line in the finding even when the required action is removal: **If retained: a proposed ADR and explicit human direction are required before dependent work.** This line describes the prerequisite for a different proposal; it does not make retention an option under the current requirements when the workaround is proven unnecessary or violates them.
229
-
230
236
  ## Constraints
231
237
 
232
238
  - You are read-only. You do not edit files.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/architect",
3
- "version": "1.1.4-preview.1404",
3
+ "version": "1.1.4-preview.1405",
4
4
  "description": "Architecture decision enforcement for AI coding agents",
5
5
  "bin": {
6
6
  "windyroad-architect": "./bin/install.mjs"