@codyswann/lisa 2.282.0 → 2.284.0

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 (78) hide show
  1. package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +175 -0
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +28 -2
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +1 -1
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +26 -0
  9. package/plugins/lisa/rules/eager/dependency-decision-records.md +32 -0
  10. package/plugins/lisa/rules/eager/dependency-trust-classes.md +43 -0
  11. package/plugins/lisa/rules/reference/dependency-decision-records.md +140 -0
  12. package/plugins/lisa/rules/reference/dependency-trust-classes.md +243 -0
  13. package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +26 -0
  14. package/plugins/lisa-agy/plugin.json +1 -1
  15. package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +26 -0
  16. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  19. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-copilot/rules/eager/dependency-decision-records.md +32 -0
  23. package/plugins/lisa-copilot/rules/eager/dependency-trust-classes.md +43 -0
  24. package/plugins/lisa-copilot/rules/reference/dependency-decision-records.md +140 -0
  25. package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +243 -0
  26. package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +26 -0
  27. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cursor/rules/dependency-decision-records-reference.mdc +145 -0
  29. package/plugins/lisa-cursor/rules/dependency-decision-records.mdc +37 -0
  30. package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +248 -0
  31. package/plugins/lisa-cursor/rules/dependency-trust-classes.mdc +48 -0
  32. package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +26 -0
  33. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-expo-agy/plugin.json +1 -1
  36. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  41. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  46. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  51. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  56. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-rails-agy/plugin.json +1 -1
  61. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  66. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  71. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/src/base/rules/eager/dependency-decision-records.md +32 -0
  74. package/plugins/src/base/rules/eager/dependency-trust-classes.md +43 -0
  75. package/plugins/src/base/rules/reference/dependency-decision-records.md +140 -0
  76. package/plugins/src/base/rules/reference/dependency-trust-classes.md +243 -0
  77. package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +26 -0
  78. package/ui/index.html +195 -43
package/package.json CHANGED
@@ -112,7 +112,7 @@
112
112
  "brace-expansion": ">=5.0.6"
113
113
  },
114
114
  "name": "@codyswann/lisa",
115
- "version": "2.282.0",
115
+ "version": "2.284.0",
116
116
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
117
117
  "main": "dist/index.js",
118
118
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -74,6 +74,31 @@ Each task must have a verification method. Choose the most appropriate:
74
74
  - Prefer independent tasks that can run in parallel where possible
75
75
  - Flag external dependencies (other teams, services, permissions, data) that may block progress
76
76
 
77
+ ### 4.5. Classify Any New Material Dependency
78
+
79
+ Step 4 maps dependencies *between tasks*. This step covers third-party
80
+ dependencies a task proposes to **add**.
81
+
82
+ A dependency is **material** if its failure, disappearance, or bad update would
83
+ break something a user can see, or would cost real time to replace. If a work
84
+ unit proposes adding one, the work unit must, before it is buildable:
85
+
86
+ 1. **Name its trust class** — exactly one of: mature ecosystem primitive,
87
+ fast-moving standard implementation, build/development tool, runtime-critical
88
+ service client, thin wrapper suitable for in-house ownership, or
89
+ temporary/experimental dependency. See the `dependency-trust-classes` rule
90
+ for what each class means and why it is trusted.
91
+ 2. **State the class's required evidence** — the detection evidence that class
92
+ demands, and whether product/human ratification is required before the work
93
+ starts. Runtime-critical service clients and expiry extensions on temporary
94
+ dependencies always require ratification; a work unit that needs it and does
95
+ not say so is not ready.
96
+ 3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
97
+ criteria, so the record entry lands in the same change as the dependency.
98
+
99
+ If nobody can pick a class, that is the finding — resolve it before accepting
100
+ the work unit, not after the package is installed.
101
+
77
102
  ### 5. Determine Execution Order
78
103
 
79
104
  - Place foundational tasks first (types, schemas, interfaces, shared utilities)
@@ -121,6 +146,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
121
146
  - Every task must have at least one acceptance criterion that can be empirically verified
122
147
  - Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
123
148
  - Every Task / Bug / Sub-task / Improvement is scoped to exactly one repo -- if the work spans repos, split into per-repo work units under a shared parent Story (see step 1.5)
149
+ - Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed, and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
124
150
  - Keep tasks ordered so that no task references work that has not been completed by a prior task
125
151
  - Flag any task that requires access, permissions, or external input not yet available
126
152
  - Prefer more small tasks over fewer large tasks -- smaller tasks are easier to verify and less risky to fail
@@ -0,0 +1,32 @@
1
+ # Dependency Decisions (load-bearing)
2
+
3
+ Material dependencies are recorded as decisions, not lockfile trivia. The
4
+ governed record is `.lisa/DEPENDENCY_DECISIONS.md`, seeded once by `lisa apply`
5
+ from the `all/create-only` template surface and never overwritten afterward.
6
+
7
+ A *material* dependency is one that owns a user-visible capability or would cost
8
+ real time to replace. Each record entry must name, in this order: why we keep it
9
+ in plain language, what it is, its owned capability, trust basis, exposure,
10
+ replacement cost, detection evidence, owner/review cadence, and last-reviewed
11
+ date. Field labels lead with the operator's question and keep the technical term
12
+ in parentheses. "Why we keep it" comes first on purpose — an entry that opens
13
+ with a version range opens with the trivia the record exists to replace.
14
+
15
+ When you add, upgrade across a major version, or remove a material dependency,
16
+ update its entry in the same change. When you cannot name the detection evidence
17
+ that would fail if an update broke the owned capability, write "nothing would
18
+ catch it" rather than inventing a check — the gap is the finding.
19
+
20
+ Write every entry so a non-technical operator can tell why the dependency is
21
+ kept and what evidence would detect a bad update. Lead with the outcome it
22
+ protects, not the mechanism.
23
+
24
+ Entries are repeatable blocks appended under `## Records`, so a seeding script
25
+ can add one without rewriting the file. An honest gap is written as
26
+ `_Not yet decided_` — never left blank.
27
+
28
+ Escalate, rather than just recording, when detection evidence says "nothing
29
+ would catch it", when `Last reviewed` predates the dependency's last major
30
+ upgrade, or when the trust basis names no maintainer or owner.
31
+
32
+ Full prose: [reference/dependency-decision-records.md](../reference/dependency-decision-records.md).
@@ -0,0 +1,43 @@
1
+ # Dependency Trust Classes (load-bearing)
2
+
3
+ Every material dependency belongs to exactly one **trust class**. The class is
4
+ the answer to the decision record's "Why we believe it's safe (trust basis)"
5
+ field in `.lisa/DEPENDENCY_DECISIONS.md` — it says why we can trust a *kind* of
6
+ dependency, so each entry does not re-argue trust from scratch.
7
+
8
+ The six classes, from most to least self-evidently trustworthy:
9
+
10
+ 1. **Mature ecosystem primitive** — so widely used that other people hit the
11
+ breakage first.
12
+ 2. **Fast-moving standard implementation** — the standard implementation of
13
+ something we refuse to own, but it changes faster than we do.
14
+ 3. **Build/development tool** — never runs in production; a bad update costs
15
+ developer time, not users.
16
+ 4. **Runtime-critical service client** — reaches users, data, or money directly,
17
+ so it is the least trusted regardless of how mature it is.
18
+ 5. **Thin wrapper suitable for in-house ownership** — small enough that we could
19
+ own the code, so the question is whether it earns its keep, not whether it is
20
+ safe.
21
+ 6. **Temporary/experimental dependency** — not trusted at all; admitted on a
22
+ clock with a written expiry date and a named exit.
23
+
24
+ Each class fixes five review inputs: capability owner, update cadence, detection
25
+ evidence, replacement-cost threshold, and whether product/human ratification is
26
+ required. Higher exposure and lower trust buy stronger evidence and mandatory
27
+ ratification, not weaker: runtime-critical service clients always need human
28
+ ratification to add or major-upgrade; temporary dependencies need it to live
29
+ past their expiry date; thin wrappers need it to be kept rather than in-housed.
30
+
31
+ Every class also names one **human-review trigger** — the observable event that
32
+ takes the decision away from the agent. A class definition that cannot say what
33
+ would trigger human review is not finished.
34
+
35
+ A work item that proposes adding a new material dependency must name the
36
+ dependency's trust class and update its `.lisa/DEPENDENCY_DECISIONS.md` entry in
37
+ the same change. A proposal with no named class is not ready to build.
38
+
39
+ Reclassify — do not quietly re-trust — when a dependency's exposure changes: a
40
+ build tool that gains runtime reach or reads CI credentials becomes a
41
+ runtime-critical service client, and its stronger requirements apply immediately.
42
+
43
+ Full prose: [reference/dependency-trust-classes.md](../reference/dependency-trust-classes.md).
@@ -0,0 +1,140 @@
1
+ # Dependency Decisions
2
+
3
+ Lisa already governs dependency *mechanics* — pinning, audit gates, override
4
+ resolution, duplicate detection. What those mechanics cannot tell anyone is
5
+ **why** a dependency is in the project at all, what capability it owns, how much
6
+ blast radius it has, or what would fail if a bad update shipped. Dependency
7
+ decision records close that gap: they turn dependency posture into decisions an
8
+ operator can read, instead of package-manager trivia only an engineer can
9
+ interpret.
10
+
11
+ ## Where the record lives
12
+
13
+ The governed record is the markdown file `.lisa/DEPENDENCY_DECISIONS.md` in the
14
+ host project.
15
+
16
+ It is distributed through Lisa's `all/create-only` template surface, so:
17
+
18
+ - Every project that runs `lisa apply` receives the scaffold, regardless of
19
+ stack — the record is stack-independent because dependency posture is.
20
+ - The strategy is **create-only**: Lisa seeds the file once and never overwrites
21
+ it. Host projects own their content outright, and Lisa upstream never carries
22
+ a copy of any host project's private dependency inventory.
23
+ - It lives in the cold `.lisa/` directory rather than an auto-loaded rules tree,
24
+ so a long record is never injected raw into every session. Agents read the
25
+ entry they need, when they need it.
26
+
27
+ Markdown is deliberate. The record's primary audience is the product gate, where
28
+ a non-technical operator has to make a keep/replace/escalate judgment. A machine
29
+ format would serve tooling and fail that reader.
30
+
31
+ ## What an entry must name
32
+
33
+ Each material-dependency entry names nine things, in this order. Every label
34
+ leads with the operator's question and keeps the technical term in parentheses,
35
+ because the record's primary reader is looking for an answer, not a term:
36
+
37
+ - **Why we keep it** — plain-language reason, written for a non-technical
38
+ reader, leading with the outcome it protects. This is deliberately the FIRST
39
+ bullet: an entry that opens with a version range opens with exactly the
40
+ package-manager trivia this record exists to replace.
41
+ - **What it is (dependency)** — package or service, plus the version range in
42
+ use.
43
+ - **What it does for us (owned capability)** — the single capability the
44
+ dependency is responsible for. A dependency with no nameable capability is
45
+ either not material, or is doing too much and should be split in the record.
46
+ - **Why we believe it's safe (trust basis)** — the evidence that it will still
47
+ be maintained and safe next quarter: maintainer, release cadence,
48
+ security-response history, breadth of adoption, whether the version is pinned.
49
+ - **What breaks if this is compromised (exposure)** — what it can reach and what
50
+ breaks when it misbehaves: build-time versus runtime, and whether it touches
51
+ user data, secrets, the network, or CI credentials.
52
+ - **What it would take to replace (replacement cost)** — the honest effort to
53
+ remove or swap it, what would need rewriting, and whether a viable alternative
54
+ exists today.
55
+ - **What would catch a bad update (detection evidence)** — the named check that
56
+ would **fail** if an update broke the owned capability: a test, suite,
57
+ workflow, or monitor. "Nothing would catch it" is a legitimate and high-value
58
+ answer.
59
+ - **Who owns this and how often we recheck (owner / review cadence)** — who is
60
+ accountable, and how often the entry gets re-read.
61
+ - **Last reviewed** — ISO `YYYY-MM-DD` date of the most recent actual review.
62
+
63
+ ## When to escalate
64
+
65
+ The record exists to produce decisions, so three states are escalations rather
66
+ than to-dos. Raise them to an owner instead of leaving them recorded:
67
+
68
+ - Detection evidence says "nothing would catch it" — the capability is trusted
69
+ blind.
70
+ - `Last reviewed` predates the dependency's last major upgrade — the record
71
+ describes software no longer running.
72
+ - The trust basis names no maintainer, owner, or release history.
73
+
74
+ An entry full of `_Not yet decided_` is not an escalation; it is unstarted work.
75
+ These three are escalations precisely because someone already looked and the
76
+ answer was bad.
77
+
78
+ ## What counts as material
79
+
80
+ Material means: if this dependency vanished, broke, or shipped a hostile update,
81
+ a user would notice, or replacing it would cost real time. Test frameworks,
82
+ linters, HTTP clients, ORMs, auth libraries, UI toolkits, and build tooling are
83
+ usually material. Transitive packages and single-function utilities usually are
84
+ not — record the direct dependency that owns the capability, not everything
85
+ underneath it.
86
+
87
+ Do not attempt to record the whole lockfile. An exhaustive record decays into
88
+ noise and stops being read, which is worse than a short record that is true.
89
+
90
+ ## Maintenance
91
+
92
+ Update the relevant entry in the same change that adds a material dependency,
93
+ upgrades one across a major version, or removes one. Refresh `Last reviewed`
94
+ whenever someone actually re-reads an entry, even when nothing else changes — a
95
+ stale date is the signal that the record has drifted from reality.
96
+
97
+ When detection evidence fails for a dependency, treat the entry as the first
98
+ place to look and the first place to correct: either the evidence was wrong
99
+ about what it protects, or the exposure was understated.
100
+
101
+ ## Entry format
102
+
103
+ Entries are uniform and appendable by design, because a later seeding pass adds
104
+ them mechanically rather than by rewriting the document:
105
+
106
+ - An entry is a level-3 heading (`### <name>`) followed by the nine field
107
+ bullets in the fixed order above.
108
+ - Entries live under `## Records`, the final section of the file, and new
109
+ entries are appended to its end. A `###` heading inside `## Records` is always
110
+ an entry, never guidance — that scoping is what makes the section safe to
111
+ parse and append to.
112
+ - `_Not yet decided_` is the reserved marker for a field nobody has answered
113
+ yet. Never leave a field blank and never guess: a blank field is
114
+ indistinguishable from an overlooked one, and a guess is a wrong answer that
115
+ nobody re-checks.
116
+
117
+ Note that `_Not yet decided_` and "nothing would catch it" are different
118
+ statements. The first means nobody has looked. The second is a finding — a real
119
+ capability with no detection evidence behind it.
120
+
121
+ ## Scaffold, not inventory
122
+
123
+ The seeded file is a scaffold: field structure, guidance, and one clearly marked
124
+ worked example so an operator can see the intended shape. The example is meant
125
+ to be replaced or deleted once real entries exist. Lisa does not pre-populate a
126
+ host project's dependency inventory — only the project knows which of its
127
+ dependencies are material.
128
+
129
+ ## Agent parity
130
+
131
+ The record is a governed markdown artifact, not a runtime behavior, so every
132
+ supported coding agent — Claude Code, Codex, Cursor, OpenCode, Antigravity, and
133
+ Copilot — reaches it identically through the shared rules mirror and the same
134
+ `.lisa/DEPENDENCY_DECISIONS.md` path in the host project. There is no per-agent
135
+ enforcement surface to diverge.
136
+
137
+ The documented gap, uniform across all six runtimes: no agent runtime enforces
138
+ that entries stay accurate or current. Nothing blocks a commit whose dependency
139
+ change skips the record, and nothing fails when `Last reviewed` goes stale.
140
+ Freshness is carried by this rule and by review, not by a hook or a lint gate.
@@ -0,0 +1,243 @@
1
+ # Dependency Trust Classes
2
+
3
+ Without named classes, every third-party package sits in one implicit bucket:
4
+ "we installed it, so presumably it's fine." That bucket makes a payment SDK and
5
+ a code formatter look identical at review time, and it forces every dependency
6
+ conversation to re-argue trust from first principles.
7
+
8
+ Trust classes fix that. Each class states, in plain language, **why we can trust
9
+ that kind of dependency**, and names **the one event that would trigger human
10
+ review**. A dependency's class is the answer to the
11
+ "Why we believe it's safe (trust basis)" field in
12
+ `.lisa/DEPENDENCY_DECISIONS.md` — the record says what
13
+ this dependency is and what would catch a bad update; the class says what bar it
14
+ had to clear to be here at all.
15
+
16
+ Exactly one class per dependency. If two seem to fit, take the lower-trust one —
17
+ the requirements are strictly stronger, and being over-careful about a formatter
18
+ costs a review cycle while being under-careful about an auth client costs users.
19
+
20
+ ## The five review inputs
21
+
22
+ Every class fixes the same five inputs. What changes between classes is how
23
+ demanding each one is:
24
+
25
+ - **Capability owner** — who is accountable when this breaks. A role for
26
+ high-trust classes; a named person for low-trust ones, because "the platform
27
+ team" cannot be paged at 2am.
28
+ - **Update cadence** — how often the entry is re-read and the version re-judged.
29
+ - **Detection evidence** — the named check that fails if an update breaks the
30
+ owned capability. Stronger classes demand evidence *we* own, not upstream's
31
+ test suite.
32
+ - **Replacement-cost threshold** — the point past which the cost itself is the
33
+ finding. High replacement cost is acceptable in a high-trust class and is an
34
+ escalation in a low-trust one.
35
+ - **Product/human ratification** — whether a human has to say yes before the
36
+ dependency is added, upgraded, or kept. This is the gate, and it is deliberate
37
+ that the lower-trust and higher-exposure classes carry it.
38
+
39
+ ## The six classes
40
+
41
+ ### 1. Mature ecosystem primitive
42
+
43
+ **Why we can trust it:** so many other projects depend on it that a bad release
44
+ is usually found, reported, and fixed by someone else before it reaches us. It
45
+ has an identifiable maintaining organization, a published release cadence, and a
46
+ documented process for handling security reports. Trust here comes from the size
47
+ of the crowd standing in front of us, not from us having read the code.
48
+
49
+ Examples in kind: a language's canonical test runner, a foundation-maintained
50
+ linter, a mainstream UI framework.
51
+
52
+ - **Capability owner:** a role or team is sufficient.
53
+ - **Update cadence:** re-read at each major upgrade, and at least every 12
54
+ months.
55
+ - **Detection evidence:** an existing CI check must fail if the owned capability
56
+ breaks. Naming an upstream test suite is acceptable here and only here.
57
+ - **Replacement-cost threshold:** high replacement cost is accepted. That is the
58
+ bargain — we take deep coupling in exchange for the crowd's scrutiny.
59
+ - **Ratification:** not required to add or to take a minor/patch upgrade.
60
+
61
+ **Human review is triggered when:** maintainership changes hands or the project
62
+ is archived, or a security advisory goes unfixed past the project's own
63
+ published response window. Either event removes the crowd, which was the whole
64
+ basis for the trust — reclassify rather than re-trust.
65
+
66
+ ### 2. Fast-moving standard implementation
67
+
68
+ **Why we can trust it:** it is the standard implementation of a protocol, spec,
69
+ or platform we have deliberately decided not to own — a cloud SDK, an API
70
+ client, a framework tracking a moving platform. We trust the *standard*; we do
71
+ not trust the release we happen to be on, because the project moves faster than
72
+ our review cycle does. Trust here is conditional on us keeping up.
73
+
74
+ - **Capability owner:** a named team that owns staying current.
75
+ - **Update cadence:** re-read at every minor upgrade, and no less than
76
+ quarterly. A dependency in this class going quiet for a year is itself a
77
+ finding.
78
+ - **Detection evidence:** an automated test **we** own that exercises the owned
79
+ capability. Upstream's suite does not count — it tests their contract, not our
80
+ use of it.
81
+ - **Replacement-cost threshold:** replacement cost must stay moderate. Keep the
82
+ coupling behind our own boundary so a forced migration is a rewrite of the
83
+ boundary, not of the application.
84
+ - **Ratification:** required for any major upgrade that changes user-visible
85
+ behavior.
86
+
87
+ **Human review is triggered when:** two consecutive major versions ship that we
88
+ did not adopt inside the cadence window. At that point we are pinned to
89
+ unsupported software and the decision — catch up, replace, or accept the
90
+ exposure — belongs to a human.
91
+
92
+ ### 3. Build/development tool
93
+
94
+ **Why we can trust it:** it never runs in production and never touches customer
95
+ data. If it ships a bad update, developers notice within one build, and the
96
+ worst case is lost engineering time rather than a user-visible failure. The
97
+ blast radius is what earns the trust, not the maintainer.
98
+
99
+ - **Capability owner:** a role or team is sufficient.
100
+ - **Update cadence:** re-read at each major upgrade, and at least every 12
101
+ months.
102
+ - **Detection evidence:** the build, lint, or test job the tool powers. It fails
103
+ loudly and immediately, which is the point.
104
+ - **Replacement-cost threshold:** high cost is accepted — swapping a build tool
105
+ is disruptive but never urgent.
106
+ - **Ratification:** not required.
107
+
108
+ **Human review is triggered when:** the tool gains reach it did not have —
109
+ running in production, reading secrets, or reading CI credentials. The moment
110
+ that happens the blast-radius argument is void: reclassify it as a
111
+ runtime-critical service client and apply that class's requirements immediately.
112
+
113
+ ### 4. Runtime-critical service client
114
+
115
+ **Why we can trust it:** honestly, we mostly don't. This class covers anything
116
+ that reaches users, their data, or money in production — payment SDKs, auth
117
+ libraries, database drivers, service clients on the request path. Even a mature,
118
+ well-run project lands in this class if a bad update reaches production, because
119
+ maturity does not shrink blast radius. Trust here is bought with our own
120
+ evidence and a human's signature, not the vendor's reputation.
121
+
122
+ - **Capability owner:** a named accountable person, not a team.
123
+ - **Update cadence:** re-judged at every version change. Versions are pinned
124
+ exactly, so upgrades are always deliberate.
125
+ - **Detection evidence:** an integration or end-to-end test that exercises the
126
+ real capability, **plus** a production monitor that would notice failure in
127
+ the wild. "Nothing would catch it" is not an acceptable answer in this class —
128
+ it is a blocker.
129
+ - **Replacement-cost threshold:** replacement cost must be written down, never
130
+ `_Not yet decided_`. If nobody can estimate it, we do not know how trapped we
131
+ are, and that unknown is the finding.
132
+ - **Ratification:** **product/human ratification is required** before adding the
133
+ dependency and before any major upgrade.
134
+
135
+ **Human review is triggered when:** any version changes, any security advisory
136
+ is published, or the vendor has a service incident. Every one of those is a
137
+ human decision in this class — that is what makes it the strictest.
138
+
139
+ ### 5. Thin wrapper suitable for in-house ownership
140
+
141
+ **Why we can trust it:** it is small enough that we could read all of it in an
142
+ afternoon and own it outright. Safety is not really the question; whether it is
143
+ earning its keep is. A dependency we could write in a day still costs us a
144
+ supply-chain entry, a transitive tree, and an upgrade obligation forever.
145
+
146
+ - **Capability owner:** the team that would inherit the code if we in-housed it.
147
+ If no team will claim it, do not add it.
148
+ - **Update cadence:** re-read at every upgrade — there should be few.
149
+ - **Detection evidence:** our own unit tests covering the wrapped behavior. They
150
+ are cheap here precisely because the surface is small, and they are what makes
151
+ in-housing a one-day job later instead of a rewrite.
152
+ - **Replacement-cost threshold:** roughly one day. Under it, the default is to
153
+ in-house the code rather than take the dependency.
154
+ - **Ratification:** **required to keep it** when replacement cost is under the
155
+ threshold. Note the inversion: the human signs off on the *exception* — taking
156
+ a dependency we could trivially own — not on the removal.
157
+
158
+ **Human review is triggered when:** the package goes unmaintained, or its
159
+ transitive dependency tree grows larger than the code it wraps. Either way we
160
+ are now carrying more supply chain than capability, and in-housing should be
161
+ reconsidered on purpose.
162
+
163
+ ### 6. Temporary/experimental dependency
164
+
165
+ **Why we can trust it:** we don't, and we say so. This class exists so a spike,
166
+ a prototype, or a stopgap can move fast without silently becoming permanent. It
167
+ is admitted on a clock: a written expiry date and a named exit — replace,
168
+ in-house, promote to another class, or remove.
169
+
170
+ - **Capability owner:** the person who introduced it, by name. Ownership does
171
+ not transfer to a team while the dependency is in this class.
172
+ - **Update cadence:** reviewed at the stated expiry date, which is at most one
173
+ quarter out. No expiry date means it does not belong in this class.
174
+ - **Detection evidence:** "nothing would catch it" is tolerated **only** while
175
+ exposure stays out of production. The moment it reaches production, the
176
+ runtime-critical requirements apply.
177
+ - **Replacement-cost threshold:** must be low by construction. Anything
178
+ expensive to remove is not temporary — it is a permanent dependency wearing a
179
+ temporary label, and it should be classified honestly on day one.
180
+ - **Ratification:** **required to extend past the expiry date** or to promote it
181
+ into any other class. An expiry that slides without a human saying yes is how
182
+ a prototype becomes production.
183
+
184
+ **Human review is triggered when:** the expiry date passes, or the dependency
185
+ starts running in production or touching user data — whichever happens first.
186
+
187
+ ## Ratification, summarized
188
+
189
+ Ratification is not a formality; it is the point where a human owns the residual
190
+ risk. Required for:
191
+
192
+ - **Runtime-critical service client** — to add, and for every major upgrade.
193
+ - **Temporary/experimental dependency** — to extend past expiry or to promote.
194
+ - **Thin wrapper suitable for in-house ownership** — to keep it rather than
195
+ in-house it.
196
+ - **Fast-moving standard implementation** — for a major upgrade that changes
197
+ user-visible behavior.
198
+
199
+ Not required for mature ecosystem primitives or build/development tools on
200
+ routine adds and upgrades. Those two classes are where the crowd and the blast
201
+ radius do the work a human would otherwise have to do.
202
+
203
+ ## Naming a class at planning time
204
+
205
+ A work item that proposes adding a new material dependency must, before it is
206
+ buildable, name the dependency's trust class and state that it will update the
207
+ `.lisa/DEPENDENCY_DECISIONS.md` entry in the same change. This is enforced at
208
+ decomposition time by the `lisa-task-decomposition` skill, which rejects a work
209
+ unit proposing a material dependency with no named class.
210
+
211
+ The class is what makes the rest of the ticket reviewable: it tells the reviewer
212
+ which evidence to demand and whether a human has to ratify before the work
213
+ starts, rather than discovering both at the end.
214
+
215
+ Naming a class is not a formality either. If nobody can pick one, that is the
216
+ finding — an unclassifiable dependency is usually one nobody has thought about,
217
+ and it should be resolved before the work item is accepted rather than after the
218
+ package is installed.
219
+
220
+ ## Reclassification
221
+
222
+ Trust classes describe the dependency as it is used today, not as it was
223
+ introduced. When exposure changes — a build tool starts running in production, a
224
+ prototype ships to users, a thin wrapper grows a large transitive tree — move it
225
+ to the correct class and apply the new requirements immediately. Update the
226
+ `Last reviewed` date on the record entry when you do.
227
+
228
+ Reclassifying downward (to a lower-trust class) is never a demotion of the
229
+ dependency. It is an admission that its blast radius grew, which is a fact about
230
+ us, not about the maintainers.
231
+
232
+ ## Agent parity
233
+
234
+ Trust classes are a governed markdown rule and a decomposition-time expectation,
235
+ not a runtime behavior, so Claude Code, Codex, Cursor, OpenCode, Antigravity,
236
+ and Copilot all reach them identically through the shared rules mirror and the
237
+ same `lisa-task-decomposition` skill.
238
+
239
+ The documented gap, uniform across all six runtimes: no agent runtime enforces
240
+ that a dependency carries a correct class. Nothing fails a build when a package
241
+ is installed with no class named, and nothing detects that a build tool quietly
242
+ started running in production. Classification is carried by this rule, the
243
+ decomposition skill, and review — not by a hook or a lint gate.
@@ -74,6 +74,31 @@ Each task must have a verification method. Choose the most appropriate:
74
74
  - Prefer independent tasks that can run in parallel where possible
75
75
  - Flag external dependencies (other teams, services, permissions, data) that may block progress
76
76
 
77
+ ### 4.5. Classify Any New Material Dependency
78
+
79
+ Step 4 maps dependencies *between tasks*. This step covers third-party
80
+ dependencies a task proposes to **add**.
81
+
82
+ A dependency is **material** if its failure, disappearance, or bad update would
83
+ break something a user can see, or would cost real time to replace. If a work
84
+ unit proposes adding one, the work unit must, before it is buildable:
85
+
86
+ 1. **Name its trust class** — exactly one of: mature ecosystem primitive,
87
+ fast-moving standard implementation, build/development tool, runtime-critical
88
+ service client, thin wrapper suitable for in-house ownership, or
89
+ temporary/experimental dependency. See the `dependency-trust-classes` rule
90
+ for what each class means and why it is trusted.
91
+ 2. **State the class's required evidence** — the detection evidence that class
92
+ demands, and whether product/human ratification is required before the work
93
+ starts. Runtime-critical service clients and expiry extensions on temporary
94
+ dependencies always require ratification; a work unit that needs it and does
95
+ not say so is not ready.
96
+ 3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
97
+ criteria, so the record entry lands in the same change as the dependency.
98
+
99
+ If nobody can pick a class, that is the finding — resolve it before accepting
100
+ the work unit, not after the package is installed.
101
+
77
102
  ### 5. Determine Execution Order
78
103
 
79
104
  - Place foundational tasks first (types, schemas, interfaces, shared utilities)
@@ -121,6 +146,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
121
146
  - Every task must have at least one acceptance criterion that can be empirically verified
122
147
  - Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
123
148
  - Every Task / Bug / Sub-task / Improvement is scoped to exactly one repo -- if the work spans repos, split into per-repo work units under a shared parent Story (see step 1.5)
149
+ - Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed, and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
124
150
  - Keep tasks ordered so that no task references work that has not been completed by a prior task
125
151
  - Flag any task that requires access, permissions, or external input not yet available
126
152
  - Prefer more small tasks over fewer large tasks -- smaller tasks are easier to verify and less risky to fail
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -74,6 +74,31 @@ Each task must have a verification method. Choose the most appropriate:
74
74
  - Prefer independent tasks that can run in parallel where possible
75
75
  - Flag external dependencies (other teams, services, permissions, data) that may block progress
76
76
 
77
+ ### 4.5. Classify Any New Material Dependency
78
+
79
+ Step 4 maps dependencies *between tasks*. This step covers third-party
80
+ dependencies a task proposes to **add**.
81
+
82
+ A dependency is **material** if its failure, disappearance, or bad update would
83
+ break something a user can see, or would cost real time to replace. If a work
84
+ unit proposes adding one, the work unit must, before it is buildable:
85
+
86
+ 1. **Name its trust class** — exactly one of: mature ecosystem primitive,
87
+ fast-moving standard implementation, build/development tool, runtime-critical
88
+ service client, thin wrapper suitable for in-house ownership, or
89
+ temporary/experimental dependency. See the `dependency-trust-classes` rule
90
+ for what each class means and why it is trusted.
91
+ 2. **State the class's required evidence** — the detection evidence that class
92
+ demands, and whether product/human ratification is required before the work
93
+ starts. Runtime-critical service clients and expiry extensions on temporary
94
+ dependencies always require ratification; a work unit that needs it and does
95
+ not say so is not ready.
96
+ 3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
97
+ criteria, so the record entry lands in the same change as the dependency.
98
+
99
+ If nobody can pick a class, that is the finding — resolve it before accepting
100
+ the work unit, not after the package is installed.
101
+
77
102
  ### 5. Determine Execution Order
78
103
 
79
104
  - Place foundational tasks first (types, schemas, interfaces, shared utilities)
@@ -121,6 +146,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
121
146
  - Every task must have at least one acceptance criterion that can be empirically verified
122
147
  - Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
123
148
  - Every Task / Bug / Sub-task / Improvement is scoped to exactly one repo -- if the work spans repos, split into per-repo work units under a shared parent Story (see step 1.5)
149
+ - Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed, and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
124
150
  - Keep tasks ordered so that no task references work that has not been completed by a prior task
125
151
  - Flag any task that requires access, permissions, or external input not yet available
126
152
  - Prefer more small tasks over fewer large tasks -- smaller tasks are easier to verify and less risky to fail
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.282.0",
3
+ "version": "2.284.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"