@codyswann/lisa 8.0.0 → 8.1.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.
- package/all/copy-overwrite/scripts/lib/completion-authorization.mjs +28 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs +21 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-projection.mjs +25 -41
- package/all/copy-overwrite/scripts/lib/completion-proof-shape.mjs +23 -0
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +6 -0
- package/all/copy-overwrite/scripts/lib/tracker-row-fold.mjs +48 -0
- package/all/copy-overwrite/scripts/lib/work-item-estimate-actual.mjs +131 -0
- package/all/copy-overwrite/scripts/lib/work-item-estimate-calibration.mjs +16 -33
- package/all/copy-overwrite/scripts/lib/work-item-estimate-check.mjs +26 -5
- package/all/copy-overwrite/scripts/lib/work-item-estimate-config.mjs +21 -0
- package/all/copy-overwrite/scripts/lib/work-item-estimate-tally.mjs +272 -0
- package/all/copy-overwrite/scripts/lib/work-item-estimate.mjs +60 -31
- package/all/copy-overwrite/scripts/lisa-estimate.mjs +60 -9
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +61 -8
- package/dist/core/lisa-owned-hash-ledger.json +88 -4
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.json +34 -17
- package/dist/utils/usage-accounting-totals.d.ts.map +1 -1
- package/dist/utils/usage-accounting-totals.js +6 -1
- package/dist/utils/usage-accounting-totals.js.map +1 -1
- package/package.json +5 -5
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa-agy/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa-copilot/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +5 -2
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa-cursor/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/lisa-devin/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +2 -1
- package/plugins/src/base/skills/lisa-usage-accounting/references/estimate.md +49 -0
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-overwrite/.prettierignore +3 -0
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"all/copy-overwrite/scripts/lib/bounded-spawn.mjs": "72e277ada531914d7bc51c3cb8dc67b8881aa817d96fa2f9f4d81668a3d3bbc1",
|
|
22
22
|
"all/copy-overwrite/scripts/lib/build-marker.mjs": "505519d9632ab86572cfdeca917d93599256cf8e798987ad593a82296a7d8175",
|
|
23
23
|
"all/copy-overwrite/scripts/lib/changed-paths.mjs": "bcf755d8c1905cddd84622c9a520f7bcc16b19379b9f933a8b5657bb6df9f391",
|
|
24
|
-
"all/copy-overwrite/scripts/lib/completion-authorization.mjs": "
|
|
25
|
-
"all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs": "
|
|
24
|
+
"all/copy-overwrite/scripts/lib/completion-authorization.mjs": "f93221c4b8ddca27c7a78b6e6b7eceb4555ec1e2d5cd8fd128c1380cd310c81f",
|
|
25
|
+
"all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs": "10e812829458c9b02f6cb012dc1714ad8b03388ced71a103130517150036f832",
|
|
26
26
|
"all/copy-overwrite/scripts/lib/completion-proof-codepipeline.d.mts": "9d951f9a095264b33f527dd65eb41c8d6617b3b1c572d13c22332773ac99dca5",
|
|
27
27
|
"all/copy-overwrite/scripts/lib/completion-proof-codepipeline.mjs": "3ea69c6f03aeba8acbab13a026fc470c075540a3bfa2921a27407cecf424a45d",
|
|
28
28
|
"all/copy-overwrite/scripts/lib/completion-proof-conformance.mjs": "0b323e9c53b6909eca61fa84bf2c85683a686e380760e2fe2fb52b09c6611026",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"all/copy-overwrite/scripts/lib/completion-proof-errors.mjs": "3422df7049227eff77f3ef7bf954eeb74a63e9879b06d8126c7c3a2485b6d1f3",
|
|
31
31
|
"all/copy-overwrite/scripts/lib/completion-proof-github.mjs": "5b11a58ac677a2f165678a5255060aa998cda6d7081b64e7c2114195eee997d0",
|
|
32
32
|
"all/copy-overwrite/scripts/lib/completion-proof-markdown.mjs": "8ff9efc772463c3fccf5d6e5a42c73df324babd2e02e66228f2d9a0b1896cbf4",
|
|
33
|
-
"all/copy-overwrite/scripts/lib/completion-proof-projection.mjs": "
|
|
33
|
+
"all/copy-overwrite/scripts/lib/completion-proof-projection.mjs": "88389681f5a19cf90d4edcdeda48ce0f60a8845fb71c37c9e34edaa9e1a777a0",
|
|
34
34
|
"all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs": "9554fff85ed510f75058614c9ad8535806d52293e1de012900bae7e14db61eb1",
|
|
35
35
|
"all/copy-overwrite/scripts/lib/completion-proof-reader.mjs": "f134b65158605510bf188429d6aa5e713ed75a4d78877efc6211b440b3a805f7",
|
|
36
|
-
"all/copy-overwrite/scripts/lib/completion-proof-shape.mjs": "
|
|
36
|
+
"all/copy-overwrite/scripts/lib/completion-proof-shape.mjs": "2b7f18d07226a8acd09348cb535701a08c3b567b50e12a52225379893c91afed",
|
|
37
37
|
"all/copy-overwrite/scripts/lib/completion-proof-source.mjs": "7aa9673c7de21fa64e572043e7e76774e7cb57210a54f4603a72e88be97510a3",
|
|
38
38
|
"all/copy-overwrite/scripts/lib/evidence-prune-apply.mjs": "6d0c63b446fa8ee27b56bd7ae9bd6cd8f066ae2e45bf66db829bf8822c839b7f",
|
|
39
39
|
"all/copy-overwrite/scripts/lib/evidence-prune-config.mjs": "a4257b7e7336fbae7b802f6c652f867d14056d60ecd29867de2c6c4952859a32",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"all/copy-overwrite/scripts/lib/npm-update-gh-requests.mjs": "d78284ca1205cdc35c825f043a7c5da2136d41cfb15e2530bc0df528d536fbaa",
|
|
83
83
|
"all/copy-overwrite/scripts/lib/npm-update-github.mjs": "065d44d4e8ca98d127a916183443eafcfe6bd67b560d1a1b6b3f66efb05e4f58",
|
|
84
84
|
"all/copy-overwrite/scripts/lib/npm-update-helper-graph.mjs": "4bfa589aaeda81f29c800409e5e66fab6e6d735135c1a075213ee6d2e007773b",
|
|
85
|
-
"all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs": "
|
|
85
|
+
"all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs": "9577f00418e2aa6458737297efb01fc06bf6e77a221f72d344d4f11775ea8fa8",
|
|
86
86
|
"all/copy-overwrite/scripts/lib/npm-update-helper.mjs": "d705e0d8ae64285b539206f09784928a7fa678c2449252312a7079385e62ab90",
|
|
87
87
|
"all/copy-overwrite/scripts/lib/npm-update-hook-installation.mjs": "af3cf29c76f583a7e18b974d2862f5fc273ac0f13c36bd28c284bcd0d480d045",
|
|
88
88
|
"all/copy-overwrite/scripts/lib/npm-update-hook-preload.mjs": "8f0f067a434bfb7fd5234bc2bb9a0e03a40de3df237c7ca12a5ca934855b656e",
|
|
@@ -144,6 +144,7 @@
|
|
|
144
144
|
"all/copy-overwrite/scripts/lib/reusable-workflow-load-scan.d.mts": "318a262a0976f1e3559252c78f55a64e2ef32b11833a66d2d39d22161c813e90",
|
|
145
145
|
"all/copy-overwrite/scripts/lib/reusable-workflow-load-scan.mjs": "32e9968d27b7edead16c232bb93bebb8118dd24d175a837f61c2e1ff324dc223",
|
|
146
146
|
"all/copy-overwrite/scripts/lib/rspec-selection.mjs": "20304b4b4c8798005908f23df627103721f929c9995db1afb59f9ed00a1a8c36",
|
|
147
|
+
"all/copy-overwrite/scripts/lib/tracker-row-fold.mjs": "b46c5a0d44c8505c68e0fccbbb1dea7f8253bbb6c202cdb967bf504d3efa34fd",
|
|
147
148
|
"all/copy-overwrite/scripts/lib/usage-artifact-ref.d.mts": "e093245f67362bd1dfefe328e9354f5465279f534ce569efee5d3cdadd00598b",
|
|
148
149
|
"all/copy-overwrite/scripts/lib/usage-artifact-ref.mjs": "1f71d1e885b929ab8c6e80ec4ce8a3648b6debd0d1b6ff51679655a5e117d413",
|
|
149
150
|
"all/copy-overwrite/scripts/lib/usage-effectiveness.d.mts": "55929b47ce26b7abfe0ac9c369f974b5fd3c2a8edd6e79f4d474ba7ac26792e9",
|
|
@@ -155,11 +156,13 @@
|
|
|
155
156
|
"all/copy-overwrite/scripts/lib/windows-process-job.cs": "7bbe3b13bfc35ca2a0b85fbee9a8f0a6549bf8b05997f6ce4b361bd09d924218",
|
|
156
157
|
"all/copy-overwrite/scripts/lib/windows-process-job.mjs": "599628647c03ac22fe7cd5df22219a70b67e449cc893cc85564a93d658df2c2d",
|
|
157
158
|
"all/copy-overwrite/scripts/lib/windows-process-job.ps1": "d73b15152703d7f195d1e06f7d7cee5437373237fcd74fe68afbd79fccebc1ba",
|
|
158
|
-
"all/copy-overwrite/scripts/lib/work-item-estimate-
|
|
159
|
-
"all/copy-overwrite/scripts/lib/work-item-estimate-
|
|
159
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-actual.mjs": "dd0b60608c9a4a765bf6474c863a185518bdf00ba8388efbd09b7472b66f16d4",
|
|
160
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-calibration.mjs": "de92a1f8eee42e5947b6bbfdf32ec20e174b186bbcfb35132ce4e6aa53d15bd4",
|
|
161
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-check.mjs": "094da46c296984cd42d706e60a8fef7956c8c663950bb3d4def768f386b8a53c",
|
|
160
162
|
"all/copy-overwrite/scripts/lib/work-item-estimate-config.d.mts": "68ba3eba29ed10a0ca3488e35722882413a85eaa2105b0266f3edfa121d9bb86",
|
|
161
|
-
"all/copy-overwrite/scripts/lib/work-item-estimate-config.mjs": "
|
|
162
|
-
"all/copy-overwrite/scripts/lib/work-item-estimate.mjs": "
|
|
163
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-config.mjs": "b803106384f35ed85bfa7541c994601cee1523b2010981075eb3244960fae7c5",
|
|
164
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-tally.mjs": "d47e86213164c0d45fb5827281c539c0071e53173b63926e91e89e80da4b2d3a",
|
|
165
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate.mjs": "ac27c325a912e54f5f92a02651495a28152987af4368aab95ef68f42dad17313",
|
|
163
166
|
"all/copy-overwrite/scripts/lib/worktree-dependencies.d.mts": "66f77b767869f57185b819ca6f294ad0706348b50eba12f78af2430d9c8775df",
|
|
164
167
|
"all/copy-overwrite/scripts/lib/worktree-dependencies.mjs": "31cb1cd96e7bd692d10ed2c26aa83c6b0580e48dbe6d2393edf9652970def091",
|
|
165
168
|
"all/copy-overwrite/scripts/lisa-affected-tests.mjs": "31a4b1adac29014ba8997daf60e3ee4f2a948e1c915924bae35c0d43872d632c",
|
|
@@ -173,7 +176,7 @@
|
|
|
173
176
|
"all/copy-overwrite/scripts/lisa-enforcement-fallback.sh": "3d137ff030640bc51c76c46638ac24953f516e859bdbee34bf5fae6351fa5038",
|
|
174
177
|
"all/copy-overwrite/scripts/lisa-enforcement-freshness.mjs": "5f303bc2c0427fbf686bc75fe2f481da9f70708165c6d2a51d0432aedfcd205d",
|
|
175
178
|
"all/copy-overwrite/scripts/lisa-environment-prepare.mjs": "264dc09909dc6c2624d87fd3d342c4538bdc62654e7c804732cdee97218fbcd0",
|
|
176
|
-
"all/copy-overwrite/scripts/lisa-estimate.mjs": "
|
|
179
|
+
"all/copy-overwrite/scripts/lisa-estimate.mjs": "fa6032d9e655738dc88bddbcdf643ed7a2f08d3fd3f29bf5de7dfb83a2486b89",
|
|
177
180
|
"all/copy-overwrite/scripts/lisa-evidence-prune.mjs": "878b2014be5a0bedc8b4899d0e961dfea5b1147ff0a694a9fac00f77121f035a",
|
|
178
181
|
"all/copy-overwrite/scripts/lisa-floor-collisions.mjs": "345832c63c85df32acbed9b183b06239fc10ccb1491bd11607b5840ac1d18573",
|
|
179
182
|
"all/copy-overwrite/scripts/lisa-gates.mjs": "40e846e91e8f93a99424c81b98399e1fb73acbe59b5ab2a6467d8f1894ed250f",
|
|
@@ -206,7 +209,7 @@
|
|
|
206
209
|
"all/copy-overwrite/scripts/npm-updater-gate-runtime.json": "5c2af03360bfd59df26934ea0a2e47baa3999cbaa0ad3a9a03dd74575589218d",
|
|
207
210
|
"all/copy-overwrite/scripts/npm-updater-gate-supervisor.c": "e7d6ed62ce27a466a097c879372b8c2ec18731371e682d04542de4d83f3daa00",
|
|
208
211
|
"all/copy-overwrite/scripts/npm-updater-gate.Dockerfile": "850a4ee809d49e3d9da6bdd674cb43e4f5a6dcfa0aa73116b1a43caeed42748c",
|
|
209
|
-
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "
|
|
212
|
+
"all/copy-overwrite/scripts/npm-updater-helper-graph.json": "21bb0e98ed8040c5eded17384374fcf950a2ac36de073cc28aef35fae53ad184",
|
|
210
213
|
"all/copy-overwrite/scripts/review-evidence-event.mjs": "61720cafcbab2d0193cb5fb377264008a765f338e12415b7adf30322342f634c",
|
|
211
214
|
"all/copy-overwrite/scripts/schemas/lisa-command-envelope.v1.schema.json": "d153b7c2953a30f180e38f09e98240c63327f5196eeba9bdf545e5a1f125a879",
|
|
212
215
|
"all/copy-overwrite/scripts/schemas/lisa-state-contract.v1.schema.json": "6b7afe4ffeba8aaa53871d8855172f7eacde05953b1321145218ec638ff5c1c4",
|
|
@@ -676,7 +679,7 @@
|
|
|
676
679
|
"plugins/src/base/rules/reference/when-to-stop.md": "327f6f6f24dd03eb93a484b64a7bc7de4f1fa4e6f9314a4dc280fe06d0d70f2e",
|
|
677
680
|
"plugins/src/base/rules/reference/wiki-knowledge-source.md": "0b0aba78ea69957855aae0b011dc8c7bea427c2bdbe1fe25681de94905e05fed",
|
|
678
681
|
"plugins/src/base/rules/reference/withdrawn-rulings.md": "34afe0413fce11872ac99b87e6323c59a754db7992c5fb054a56845af0723785",
|
|
679
|
-
"plugins/src/base/rules/reference/work-item-definition-of-ready.md": "
|
|
682
|
+
"plugins/src/base/rules/reference/work-item-definition-of-ready.md": "0bdd043473a6dc7d99f639ed7e1fd9bb6a3ece2c789c7af83893e9db3cdaa7f2",
|
|
680
683
|
"plugins/src/base/rules/reference/work-item-trailer-definition.md": "2997766dc8ab61bf63891781dc9e86339a47ca35eddd4ca387bd7cc0ce85f2a5",
|
|
681
684
|
"plugins/src/base/scripts/automation-run-record.mjs": "24351f445c9c9dc7e9136be918bb0c4fbea567f0c3972cbe62afbdc83653ce2a",
|
|
682
685
|
"plugins/src/base/scripts/automation-status-claude-adapter.mjs": "34b7cb9c7f417c2671ec65df8853b731dd858c8a69764019c572ec682bb93cb6",
|
|
@@ -978,7 +981,7 @@
|
|
|
978
981
|
"plugins/src/base/skills/lisa-tracker-build-intake/SKILL.md": "272f1c20b30a024dcaa4547eb7ee32712d9c9a448e68e48cdb1b1033fdf8e422",
|
|
979
982
|
"plugins/src/base/skills/lisa-tracker-claim/SKILL.md": "deacddef796cc8689b0eb6f4f0114891aeb5795a5e4147992cb74b268bd30abf",
|
|
980
983
|
"plugins/src/base/skills/lisa-tracker-create/SKILL.md": "e37b751782fe53c0cb6e8b682ca12e61b96635edf9fbe4d19990a22d897b88e3",
|
|
981
|
-
"plugins/src/base/skills/lisa-tracker-evidence/SKILL.md": "
|
|
984
|
+
"plugins/src/base/skills/lisa-tracker-evidence/SKILL.md": "bda6007451009e28a3ddc3ede691a7b29a475f4cf725a283438cbec10d50a805",
|
|
982
985
|
"plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md": "c4656c11936ca8f2f05091ba5d4922cadca293cf822b644e5ee46cbf22103706",
|
|
983
986
|
"plugins/src/base/skills/lisa-tracker-journey/SKILL.md": "4b95e256e0c9e7ce87fb5b827fcfc94496757e600247c639ecf50d06e4e910b3",
|
|
984
987
|
"plugins/src/base/skills/lisa-tracker-read/SKILL.md": "3932a5ddf3bb58cdd09b0f36d38bbc3b45c9587c68c254e24225660f422f91c4",
|
|
@@ -987,9 +990,9 @@
|
|
|
987
990
|
"plugins/src/base/skills/lisa-tracker-validate/SKILL.md": "1ba962d11ebc69b29ea2f47fda64389913b2db90ce5480caecc387a1e8a92fda",
|
|
988
991
|
"plugins/src/base/skills/lisa-tracker-verify/SKILL.md": "9339a13703829ba9a839b24361f3242453bfa57925868e5e8458f23cdac2bd86",
|
|
989
992
|
"plugins/src/base/skills/lisa-tracker-write/SKILL.md": "ec546503c322ebf4b6283f3a265a61cff8c1b0f895aed73f75474bf4b2397abe",
|
|
990
|
-
"plugins/src/base/skills/lisa-usage-accounting/SKILL.md": "
|
|
993
|
+
"plugins/src/base/skills/lisa-usage-accounting/SKILL.md": "6bb2df57757e3c2c5a48a8bea6ca593adeba84a9d12581e917b9b0331e9619df",
|
|
991
994
|
"plugins/src/base/skills/lisa-usage-accounting/references/effectiveness.md": "d34e7b4951bc26caf15625e081e8273a11ee8ca1bde6137750f4b687fca7e8bf",
|
|
992
|
-
"plugins/src/base/skills/lisa-usage-accounting/references/estimate.md": "
|
|
995
|
+
"plugins/src/base/skills/lisa-usage-accounting/references/estimate.md": "164737e1249881ba583e2b8fc76b489685719685e93f6231f2af00b8767f3f0c",
|
|
993
996
|
"plugins/src/base/skills/lisa-use-the-product/SKILL.md": "9605cce9b30a5a4db04ce936b5dddcaaf05368ddcd91ce4067956071a481db63",
|
|
994
997
|
"plugins/src/base/skills/lisa-validate-tracker-mapping/SKILL.md": "ed149aa62f645d11bc9997634110f8045863bd98e391dc30aaa16d7cf198359b",
|
|
995
998
|
"plugins/src/base/skills/lisa-verification-lifecycle/SKILL.md": "6ec939b558866daaca409f5c076b8d2e410d39dab931e1506f874bc40443ed3b",
|
|
@@ -1517,7 +1520,7 @@
|
|
|
1517
1520
|
"scripts/test-intent-routing.sh": "97b9dc86cbd805df8a7fdb8c99ffab9b8c5e751ba2e84c05420b2a124f80635d",
|
|
1518
1521
|
"scripts/test-timing-report.d.mts": "f98c0d1e26c75361614a6d77ebba0082c15e2f22ba2f6ff08fabbe3a14dec716",
|
|
1519
1522
|
"scripts/test-timing-report.mjs": "ac98aac3ecf547da67f2a40f44c008e6fdc7b7682b38080ac46e12d41b6309b6",
|
|
1520
|
-
"scripts/two-channel-couplings.json": "
|
|
1523
|
+
"scripts/two-channel-couplings.json": "588b880644124841ea2985ad8eca8b4a52f9d2506e1138f4e4416f9020811755",
|
|
1521
1524
|
"scripts/update-node-version.ts": "55ba1bad88d905f84896cad814dac810ac0fa80f9d9f8402ca2a4512701123d9",
|
|
1522
1525
|
"scripts/update-test-skill-paths.mjs": "e26a3ac716c33013e22bf5223a58457452f5af2038218a0e3a51c244eab5ddc9",
|
|
1523
1526
|
"scripts/verify-health-agentic-built.mjs": "4b0d20b2c94390ff6f5af881fc50c5c225215a282891db0b3e3d84a7e6455367",
|
|
@@ -1552,7 +1555,7 @@
|
|
|
1552
1555
|
"typescript/copy-overwrite/.github/GITHUB_ACTIONS.md": "c34cae58dfc3f8543b5efc8479063ccd8dbfa8389e05190fe86ed4832339f165",
|
|
1553
1556
|
"typescript/copy-overwrite/.lintstagedrc.json": "773a3e0a2bc20b69a16fc247e74c76eeb20ced8fae654702190bdfade964e364",
|
|
1554
1557
|
"typescript/copy-overwrite/.nvmrc": "73fb1b615e2043a933be1c0895cde4358036acc28d785692509b822aa53c761f",
|
|
1555
|
-
"typescript/copy-overwrite/.prettierignore": "
|
|
1558
|
+
"typescript/copy-overwrite/.prettierignore": "c12fbdbf74dcec97fcdadbec4b30e4e9a5f944e253a48280e347504e6ce29680",
|
|
1556
1559
|
"typescript/copy-overwrite/.prettierrc.json": "a20621f79a064486fba53cc0ea3000a2ece3f312ff38495c6a6606a27d2a727c",
|
|
1557
1560
|
"typescript/copy-overwrite/.versionrc": "96d51e3087892bb795788dbd0ca3e5ebe7b67252e58adae5bbc469eaf424af35",
|
|
1558
1561
|
"typescript/copy-overwrite/.yamllint": "685de50b905e024ac8882cdf6443850e96a44744ac03366cae636ceb384dd4e0",
|
|
@@ -1917,6 +1920,7 @@
|
|
|
1917
1920
|
"all/copy-overwrite/scripts/lib/reusable-workflow-load-scan.d.mts": true,
|
|
1918
1921
|
"all/copy-overwrite/scripts/lib/reusable-workflow-load-scan.mjs": true,
|
|
1919
1922
|
"all/copy-overwrite/scripts/lib/rspec-selection.mjs": true,
|
|
1923
|
+
"all/copy-overwrite/scripts/lib/tracker-row-fold.mjs": true,
|
|
1920
1924
|
"all/copy-overwrite/scripts/lib/usage-artifact-ref.d.mts": true,
|
|
1921
1925
|
"all/copy-overwrite/scripts/lib/usage-artifact-ref.mjs": true,
|
|
1922
1926
|
"all/copy-overwrite/scripts/lib/usage-effectiveness.d.mts": true,
|
|
@@ -1928,10 +1932,12 @@
|
|
|
1928
1932
|
"all/copy-overwrite/scripts/lib/windows-process-job.cs": true,
|
|
1929
1933
|
"all/copy-overwrite/scripts/lib/windows-process-job.mjs": true,
|
|
1930
1934
|
"all/copy-overwrite/scripts/lib/windows-process-job.ps1": true,
|
|
1935
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-actual.mjs": true,
|
|
1931
1936
|
"all/copy-overwrite/scripts/lib/work-item-estimate-calibration.mjs": true,
|
|
1932
1937
|
"all/copy-overwrite/scripts/lib/work-item-estimate-check.mjs": true,
|
|
1933
1938
|
"all/copy-overwrite/scripts/lib/work-item-estimate-config.d.mts": true,
|
|
1934
1939
|
"all/copy-overwrite/scripts/lib/work-item-estimate-config.mjs": true,
|
|
1940
|
+
"all/copy-overwrite/scripts/lib/work-item-estimate-tally.mjs": true,
|
|
1935
1941
|
"all/copy-overwrite/scripts/lib/work-item-estimate.mjs": true,
|
|
1936
1942
|
"all/copy-overwrite/scripts/lib/worktree-dependencies.d.mts": true,
|
|
1937
1943
|
"all/copy-overwrite/scripts/lib/worktree-dependencies.mjs": true,
|
|
@@ -12685,6 +12691,9 @@
|
|
|
12685
12691
|
"tests/unit/scripts/work-item-completion-authorization.test.ts": true,
|
|
12686
12692
|
"tests/unit/scripts/work-item-contract-version.test.ts": true,
|
|
12687
12693
|
"tests/unit/scripts/work-item-estimate-claim.test.ts": true,
|
|
12694
|
+
"tests/unit/scripts/work-item-estimate-done.test.ts": true,
|
|
12695
|
+
"tests/unit/scripts/work-item-estimate-ledgers.test.ts": true,
|
|
12696
|
+
"tests/unit/scripts/work-item-estimate-tally.test.ts": true,
|
|
12688
12697
|
"tests/unit/scripts/work-item-estimate.test.ts": true,
|
|
12689
12698
|
"tests/unit/scripts/work-item-evidence-release-cli.test.ts": true,
|
|
12690
12699
|
"tests/unit/scripts/work-item-gate-scope-advice.test.ts": true,
|
|
@@ -19647,6 +19656,7 @@
|
|
|
19647
19656
|
"5d143a693be04da7d76605d6ecc10b8ce40a1cbe": true,
|
|
19648
19657
|
"5d154b2e84de3a110ee479d54c9f7651149f26c3": true,
|
|
19649
19658
|
"5d1657e86c5d65b7be5bb670c33010a64ba2a9dd": true,
|
|
19659
|
+
"5d16e96b8cf167c26dddb419a140a6182db997c1": true,
|
|
19650
19660
|
"5d17323567ddba9b75d093fcb4c106ec28d6c077": true,
|
|
19651
19661
|
"5d185152cb356824dc6f9b500a23b8e98910657c": true,
|
|
19652
19662
|
"5d19f59ae26de8afab546ff007e9366ed9e47f3c": true,
|
|
@@ -19771,6 +19781,7 @@
|
|
|
19771
19781
|
"5f182c848b9d31574c411c70e0ed19d65c71399e": true,
|
|
19772
19782
|
"5f1975250674eb366e17f5d0d04f09697d715776": true,
|
|
19773
19783
|
"5f1ecb197c84c412a615b74dba8a1edcfdfbaf65": true,
|
|
19784
|
+
"5f20ab81779287ae2ed57f80cf850cbbb6dc689f": true,
|
|
19774
19785
|
"5f22b063b6667c877c5e6c6afbe880e968508e77": true,
|
|
19775
19786
|
"5f250fa94ee7ef71a54bce4c5d3b9d8d605031f6": true,
|
|
19776
19787
|
"5f26eea82c61c4a1e55ef7bc328f635ede9f266a": true,
|
|
@@ -21480,6 +21491,7 @@
|
|
|
21480
21491
|
"782e3689c73cae7fee61eb79b1b9bd5a6ee46d9d": true,
|
|
21481
21492
|
"7832eef22fd0bd1337c9c82bbabb15c65fb29a3f": true,
|
|
21482
21493
|
"7840ce39cf11b251cc9078a5cc4c3275e281f658": true,
|
|
21494
|
+
"7841b2bb86146ad421d06383a659613010227616": true,
|
|
21483
21495
|
"7842559ce7b7bd87866fd6f79e79f520fb33f960": true,
|
|
21484
21496
|
"78435f5cd2b4dc65d6eb20b432fc69f4f089434f": true,
|
|
21485
21497
|
"7843f7d982422eb51cbcbb5a7b4270ad58453f69": true,
|
|
@@ -23399,6 +23411,7 @@
|
|
|
23399
23411
|
"9655b8aa7c1dc56463711096d7deaa3df1c023a2": true,
|
|
23400
23412
|
"9655c274a40f0633fbd0c865114ade9e9285bd5b": true,
|
|
23401
23413
|
"96561cfc62d10f503b7f17dc2aa8ce27c0db1622": true,
|
|
23414
|
+
"9659abd39788cdefe065bed1f373364fd017c1e9": true,
|
|
23402
23415
|
"965c2cafa246680ad9ab320c0a477d8d60673ca6": true,
|
|
23403
23416
|
"9660db21584ea4e8c491b7c9f90cca4383faaf8e": true,
|
|
23404
23417
|
"9663d1eacd5069aeef5a18f05c2531cd32bfcc46": true,
|
|
@@ -28478,6 +28491,7 @@
|
|
|
28478
28491
|
"e1dfd9fd985934e370f9b74e46f8bcd3372208b6": true,
|
|
28479
28492
|
"e1e8b409ab29240c95ddf7ff61a33a3dda03915a": true,
|
|
28480
28493
|
"e1ec1339430ac845f6ebf7e3fe59960634a474a2": true,
|
|
28494
|
+
"e1f07d1f4b47119e1f1e7755842a6cc224d47ccb": true,
|
|
28481
28495
|
"e1f4c9850d892766cc01079c58bff7a3f4a0e1f5": true,
|
|
28482
28496
|
"e1f5788b35a673433636b8638a5e2e64fdae302e": true,
|
|
28483
28497
|
"e1f61b206d03be4fcd7497be811abcd4f3585f40": true,
|
|
@@ -28542,6 +28556,7 @@
|
|
|
28542
28556
|
"e2b5bf14e56a9d796af2fc176d57d65eba6b4bdb": true,
|
|
28543
28557
|
"e2b626caa7af39050688b4150aac5a5eab77e6c1": true,
|
|
28544
28558
|
"e2b700b06d1cd38419a0be0b992496064de89806": true,
|
|
28559
|
+
"e2be307c095714e7b386cf978afc27669791aa72": true,
|
|
28545
28560
|
"e2c055e0007800d1e2ac9adb0cdf552bb230e380": true,
|
|
28546
28561
|
"e2c069af9fde4f74b12ac9ea6f693dd0e7f57950": true,
|
|
28547
28562
|
"e2cc4832393c5d621d9491557d7dc348065a2203": true,
|
|
@@ -29344,6 +29359,7 @@
|
|
|
29344
29359
|
"ef82a4f3e25f99d51ac792a980e14e83f564b480": true,
|
|
29345
29360
|
"ef8618f4312bb8530e250c648a38eccbea8cc4aa": true,
|
|
29346
29361
|
"ef868e08210f72905a27bb0ab49a7b053152df79": true,
|
|
29362
|
+
"ef8c1158e25bf0c1f3e7f059b43c94bdd0dc75fb": true,
|
|
29347
29363
|
"ef8f7f2dc99790e757388c1836738c538a5aacef": true,
|
|
29348
29364
|
"ef90c98a130660b30f0857de7990c18a8531c27d": true,
|
|
29349
29365
|
"ef914eb0b09d6e91013fd910e8f0fd31d7ca1d6c": true,
|
|
@@ -29842,6 +29858,7 @@
|
|
|
29842
29858
|
"f6dfb4e4612d9cfc8cb0e2251c7e8fedd09ba234": true,
|
|
29843
29859
|
"f6e26078d788f9622593b031adff81495a67b042": true,
|
|
29844
29860
|
"f6f0e058ee7d5cb6c3019b0d955ed2ee4c1c61a3": true,
|
|
29861
|
+
"f6f1d9dba9887dc4a564e0794eb5e13ad23cfb94": true,
|
|
29845
29862
|
"f6f3685fa88183fa0c7295d294d0e29a6a63a448": true,
|
|
29846
29863
|
"f6f450438d19c364ff02140f32058a0b8c27f764": true,
|
|
29847
29864
|
"f6f5e135fc04d0848a5536c9390b6e0a46eb73d3": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-accounting-totals.d.ts","sourceRoot":"","sources":["../../src/utils/usage-accounting-totals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,eAAe,EAChB,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"usage-accounting-totals.d.ts","sourceRoot":"","sources":["../../src/utils/usage-accounting-totals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,eAAe,EAChB,MAAM,uDAAuD,CAAC;AAwJ/D;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,SAAS,cAAc,EAAE,EAClC,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,EACvC,cAAc,CAAC,EAAE,SAAS,sBAAsB,EAAE,GACjD,eAAe,CAoDjB"}
|
|
@@ -59,7 +59,12 @@ function resolveChildRollupParts(previousRollup, childArtifacts, directEntryIds)
|
|
|
59
59
|
: sumNullable(deduped.map(entry => entry.totalTokens)),
|
|
60
60
|
childTokensIncomplete,
|
|
61
61
|
childCurrency,
|
|
62
|
-
|
|
62
|
+
// A child run without a cost leaves the sum partial, so the child cost
|
|
63
|
+
// is unknown rather than the total of only the priced runs.
|
|
64
|
+
childCost: childCurrency === MIXED_CURRENCY ||
|
|
65
|
+
deduped.some(entry => entry.cost === null)
|
|
66
|
+
? null
|
|
67
|
+
: rawChildCost,
|
|
63
68
|
};
|
|
64
69
|
}
|
|
65
70
|
const rawChildCost = previousRollup?.childCost ?? null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-accounting-totals.js","sourceRoot":"","sources":["../../src/utils/usage-accounting-totals.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAE9E,MAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;;;;GAIG;AACH,SAAS,WAAW,CAAC,MAAkC;IACrD,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC;IAC1E,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,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CAAC;IACjD,MAAM,QAAQ,GAAG,qBAAqB,CACpC,cAAc,EACd,aAAa,EACb,UAAU,EACV,SAAS,CACV,CAAC;IACF,MAAM,SAAS,GACb,QAAQ,KAAK,cAAc,IAAI,CAAC,UAAU,KAAK,IAAI,IAAI,SAAS,KAAK,IAAI,CAAC;QACxE,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,mBAAmB,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;IAEnD,OAAO;QACL,cAAc;QACd,aAAa;QACb,SAAS;QACT,YAAY;QACZ,WAAW;QACX,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,WAAW;QACX,UAAU;QACV,SAAS;QACT,SAAS;QACT,QAAQ;QACR,aAAa;KACd,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"zod": "^4.6.7"
|
|
200
200
|
},
|
|
201
201
|
"name": "@codyswann/lisa",
|
|
202
|
-
"version": "8.
|
|
202
|
+
"version": "8.1.0",
|
|
203
203
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
204
204
|
"main": "dist/index.js",
|
|
205
205
|
"exports": {
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
},
|
|
323
323
|
"devDependencies": {
|
|
324
324
|
"@actions/expressions": "0.3.61",
|
|
325
|
-
"@codyswann/lisa": "^
|
|
325
|
+
"@codyswann/lisa": "^8.0.0",
|
|
326
326
|
"@playwright/test": "^1.61.1",
|
|
327
327
|
"@stryker-mutator/api": "^10.1.1",
|
|
328
328
|
"@stryker-mutator/core": "^10.1.1",
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
"optional": true
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
|
-
"lisaReleaseCommit": "
|
|
374
|
-
"gitHead": "
|
|
375
|
-
"lisaReleaseTag": "v8.
|
|
373
|
+
"lisaReleaseCommit": "4a7229032a6c83004dd889ef27dec4b261ad524a",
|
|
374
|
+
"gitHead": "4a7229032a6c83004dd889ef27dec4b261ad524a",
|
|
375
|
+
"lisaReleaseTag": "v8.1.0"
|
|
376
376
|
}
|
|
@@ -25,6 +25,7 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
|
25
25
|
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
26
26
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
27
27
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
28
|
+
Then, unless `workItem.estimate.required` is `false`, tally the actual beside the estimate: run `node scripts/lisa-estimate.mjs tally --body-file <work-item-body.md>` (add one `--usage-file <comment.md>` for every comment on the item that holds a usage ledger, the evidence comment included), write the printed body back to the work item through `lisa-tracker-write`, read it back, and run `node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md>` with the same `--usage-file` flags the tally got, so the check reads the ledgers the tally counted. `lisa-work-item complete` refuses an item whose tally is missing or stale. See the usage-accounting skill's `references/estimate.md`.
|
|
28
29
|
4. Dispatch:
|
|
29
30
|
- `jira` → invoke `lisa-jira-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>`.
|
|
30
31
|
- `github` → invoke `lisa-github-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<ISSUE_REF> <EVIDENCE_DIR> <PR_NUMBER>` where `ISSUE_REF` is `org/repo#<number>` or a GitHub issue URL.
|
|
@@ -197,7 +197,8 @@ failures into a generic "usage update failed."
|
|
|
197
197
|
A work item's token estimate and recommended model live in their own managed `## Lisa Estimate`
|
|
198
198
|
section, beside this ledger, never inside it. The contract, config (`workItem.estimate`) and
|
|
199
199
|
pricing are in the [estimate reference](references/estimate.md); render and check the section
|
|
200
|
-
with `node scripts/lisa-estimate.mjs`.
|
|
200
|
+
with `node scripts/lisa-estimate.mjs`. At done, `lisa-estimate.mjs tally` copies this ledger's
|
|
201
|
+
rollup total into that section as the actual; it reads the ledger and never writes to it.
|
|
201
202
|
|
|
202
203
|
## Rules
|
|
203
204
|
|
|
@@ -91,4 +91,53 @@ goes into the section. Items whose actual is unknown or partial — no ledger, a
|
|
|
91
91
|
the sum of only the known runs. With
|
|
92
92
|
no usable history the range is unchanged and the basis says "no calibration history".
|
|
93
93
|
|
|
94
|
+
## Done: the actual beside the estimate
|
|
95
|
+
|
|
96
|
+
When the work is done, the section also shows what it really cost (CodySwannGT/lisa#4956). The
|
|
97
|
+
actual is the item's `## Lisa Usage` ledgers, on the body and on any comment — the same ledger
|
|
98
|
+
every flow already records into, not a second one. Each distinct run is counted once, by its entry
|
|
99
|
+
id, wherever it is recorded: a comment that repeats the body's runs and adds its own Verify run adds
|
|
100
|
+
only that run. Child work arrives as each ledger's aggregate; the total is `unknown` only when two
|
|
101
|
+
ledgers share some, but not all, of the same child runs, because that aggregate cannot be split:
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
| Estimate | 2M–4M | $3.14–$6.28 USD | claude-opus-5-5 |
|
|
105
|
+
| Actual | 3M | $4.71 USD | — |
|
|
106
|
+
|
|
107
|
+
Actual: the Lisa Usage ledger total over 2 usage entries (source: observed); 1x the estimate's midpoint.
|
|
108
|
+
|
|
109
|
+
<!-- lisa:estimate-actual tokens=3000000 cost=4.71 currency=USD sources=observed entries=2 ratio=1 -->
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
After the Verify usage entry is written (`lisa-tracker-evidence` step 3) and before the accepted
|
|
113
|
+
completion proof is published, tally it and write the body back:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
node scripts/lisa-estimate.mjs tally --body-file <body.md> [--usage-file <comment.md>]...
|
|
117
|
+
node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md> [--usage-file <comment.md>]...
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Pass every comment that holds a ledger, each with its own `--usage-file`, to both commands. `complete`
|
|
121
|
+
reads every comment, so the check must read the same ledgers the tally counted. A total that any run
|
|
122
|
+
leaves unknown (`unavailable` telemetry, a `measured-subset` entry, a child run with no token count
|
|
123
|
+
or no cost) is shown as
|
|
124
|
+
`unknown`, never as zero, never as the sum of only the known runs, and never guessed. A `## Lisa
|
|
125
|
+
Usage` section that cannot be read in full (an entry or rollup token the parser refuses or cannot
|
|
126
|
+
match) is never dropped: it makes every total `unknown` and names `unreadable-ledger` among the
|
|
127
|
+
sources, until the section is repaired through `lisa-usage-accounting`. A section without a rollup
|
|
128
|
+
token still has its direct entries counted. An item that
|
|
129
|
+
reached done with no estimate shows `none recorded` in the estimate row rather than an invented
|
|
130
|
+
range.
|
|
131
|
+
|
|
132
|
+
`lisa-work-item complete` enforces it: when `required` is true, it refuses (as `pending-proof`) an
|
|
133
|
+
item with no usage entry, with no tally, or with a tally that no longer matches the ledger. The
|
|
134
|
+
estimate section is machine-owned metadata, so rewriting it does not change the specification
|
|
135
|
+
digest the accepted completion proof is bound to. Only the exact lines `lisa-estimate` writes are
|
|
136
|
+
left out; every other line a person adds inside it still counts, even one that starts with
|
|
137
|
+
`Actual:` or `Basis:`.
|
|
138
|
+
|
|
139
|
+
## When the config is off
|
|
140
|
+
|
|
141
|
+
Nothing about estimates blocks. Every check reports `N/A`, and `complete` skips the done gate.
|
|
142
|
+
|
|
94
143
|
The recommended model is recorded only. It does not choose which model or agent runs the work.
|
|
@@ -195,8 +195,11 @@ missing estimate fails: the claiming agent estimates the item, calibrated
|
|
|
195
195
|
against comparable finished items, and writes it before any work. If
|
|
196
196
|
estimating itself fails, the work still goes ahead: the item stays claimed, the
|
|
197
197
|
result records `estimate_outcome: failed` with the reason, and a plain-English
|
|
198
|
-
comment on the item says why (`lisa-track` step 4).
|
|
199
|
-
|
|
198
|
+
comment on the item says why (`lisa-track` step 4). At done time
|
|
199
|
+
`lisa-work-item complete` refuses the item until its usage ledger has an entry
|
|
200
|
+
and the section shows that ledger's actual tokens and cost beside the estimate
|
|
201
|
+
(`lisa-estimate.mjs tally`). It is `N/A` when the project turns the
|
|
202
|
+
requirement off. Nobody is ever asked for an estimate.
|
|
200
203
|
|
|
201
204
|
## Relationship to the lifecycle
|
|
202
205
|
|
|
@@ -23,6 +23,7 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
|
23
23
|
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
24
24
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
25
25
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
26
|
+
Then, unless `workItem.estimate.required` is `false`, tally the actual beside the estimate: run `node scripts/lisa-estimate.mjs tally --body-file <work-item-body.md>` (add one `--usage-file <comment.md>` for every comment on the item that holds a usage ledger, the evidence comment included), write the printed body back to the work item through `lisa-tracker-write`, read it back, and run `node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md>` with the same `--usage-file` flags the tally got, so the check reads the ledgers the tally counted. `lisa-work-item complete` refuses an item whose tally is missing or stale. See the usage-accounting skill's `references/estimate.md`.
|
|
26
27
|
4. Dispatch:
|
|
27
28
|
- `jira` → invoke `lisa-jira-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>`.
|
|
28
29
|
- `github` → invoke `lisa-github-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<ISSUE_REF> <EVIDENCE_DIR> <PR_NUMBER>` where `ISSUE_REF` is `org/repo#<number>` or a GitHub issue URL.
|
|
@@ -195,7 +195,8 @@ failures into a generic "usage update failed."
|
|
|
195
195
|
A work item's token estimate and recommended model live in their own managed `## Lisa Estimate`
|
|
196
196
|
section, beside this ledger, never inside it. The contract, config (`workItem.estimate`) and
|
|
197
197
|
pricing are in the [estimate reference](references/estimate.md); render and check the section
|
|
198
|
-
with `node scripts/lisa-estimate.mjs`.
|
|
198
|
+
with `node scripts/lisa-estimate.mjs`. At done, `lisa-estimate.mjs tally` copies this ledger's
|
|
199
|
+
rollup total into that section as the actual; it reads the ledger and never writes to it.
|
|
199
200
|
|
|
200
201
|
## Rules
|
|
201
202
|
|
|
@@ -91,4 +91,53 @@ goes into the section. Items whose actual is unknown or partial — no ledger, a
|
|
|
91
91
|
the sum of only the known runs. With
|
|
92
92
|
no usable history the range is unchanged and the basis says "no calibration history".
|
|
93
93
|
|
|
94
|
+
## Done: the actual beside the estimate
|
|
95
|
+
|
|
96
|
+
When the work is done, the section also shows what it really cost (CodySwannGT/lisa#4956). The
|
|
97
|
+
actual is the item's `## Lisa Usage` ledgers, on the body and on any comment — the same ledger
|
|
98
|
+
every flow already records into, not a second one. Each distinct run is counted once, by its entry
|
|
99
|
+
id, wherever it is recorded: a comment that repeats the body's runs and adds its own Verify run adds
|
|
100
|
+
only that run. Child work arrives as each ledger's aggregate; the total is `unknown` only when two
|
|
101
|
+
ledgers share some, but not all, of the same child runs, because that aggregate cannot be split:
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
| Estimate | 2M–4M | $3.14–$6.28 USD | claude-opus-5-5 |
|
|
105
|
+
| Actual | 3M | $4.71 USD | — |
|
|
106
|
+
|
|
107
|
+
Actual: the Lisa Usage ledger total over 2 usage entries (source: observed); 1x the estimate's midpoint.
|
|
108
|
+
|
|
109
|
+
<!-- lisa:estimate-actual tokens=3000000 cost=4.71 currency=USD sources=observed entries=2 ratio=1 -->
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
After the Verify usage entry is written (`lisa-tracker-evidence` step 3) and before the accepted
|
|
113
|
+
completion proof is published, tally it and write the body back:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
node scripts/lisa-estimate.mjs tally --body-file <body.md> [--usage-file <comment.md>]...
|
|
117
|
+
node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md> [--usage-file <comment.md>]...
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Pass every comment that holds a ledger, each with its own `--usage-file`, to both commands. `complete`
|
|
121
|
+
reads every comment, so the check must read the same ledgers the tally counted. A total that any run
|
|
122
|
+
leaves unknown (`unavailable` telemetry, a `measured-subset` entry, a child run with no token count
|
|
123
|
+
or no cost) is shown as
|
|
124
|
+
`unknown`, never as zero, never as the sum of only the known runs, and never guessed. A `## Lisa
|
|
125
|
+
Usage` section that cannot be read in full (an entry or rollup token the parser refuses or cannot
|
|
126
|
+
match) is never dropped: it makes every total `unknown` and names `unreadable-ledger` among the
|
|
127
|
+
sources, until the section is repaired through `lisa-usage-accounting`. A section without a rollup
|
|
128
|
+
token still has its direct entries counted. An item that
|
|
129
|
+
reached done with no estimate shows `none recorded` in the estimate row rather than an invented
|
|
130
|
+
range.
|
|
131
|
+
|
|
132
|
+
`lisa-work-item complete` enforces it: when `required` is true, it refuses (as `pending-proof`) an
|
|
133
|
+
item with no usage entry, with no tally, or with a tally that no longer matches the ledger. The
|
|
134
|
+
estimate section is machine-owned metadata, so rewriting it does not change the specification
|
|
135
|
+
digest the accepted completion proof is bound to. Only the exact lines `lisa-estimate` writes are
|
|
136
|
+
left out; every other line a person adds inside it still counts, even one that starts with
|
|
137
|
+
`Actual:` or `Basis:`.
|
|
138
|
+
|
|
139
|
+
## When the config is off
|
|
140
|
+
|
|
141
|
+
Nothing about estimates blocks. Every check reports `N/A`, and `complete` skips the done gate.
|
|
142
|
+
|
|
94
143
|
The recommended model is recorded only. It does not choose which model or agent runs the work.
|
|
@@ -23,6 +23,7 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
|
23
23
|
Then, when an installed stack plugin ships a `journey-guidance` skill (the Expo and Rails plugins do), invoke it and carry its guidance — how the stack names its evidence files — into the vendor skill below. It is tracker-neutral, so it applies to `jira`, `github`, and `linear` alike. When no stack plugin ships one, continue with the base behaviour; that is not an error.
|
|
24
24
|
2. Missing / empty → stop and report `"No tracker configured in .lisa.config.json. Run /lisa:setup:jira, /lisa:setup:github, or /lisa:setup:linear first."`
|
|
25
25
|
3. Before dispatching, update the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item's parentage or child refs are already known, prefer `record_and_rollup` so ancestor totals refresh in the same write; otherwise still write the direct entry, and if trustworthy runtime usage is unavailable, write `source: unavailable` with nullable token/cost fields instead of skipping the row.
|
|
26
|
+
Then, unless `workItem.estimate.required` is `false`, tally the actual beside the estimate: run `node scripts/lisa-estimate.mjs tally --body-file <work-item-body.md>` (add one `--usage-file <comment.md>` for every comment on the item that holds a usage ledger, the evidence comment included), write the printed body back to the work item through `lisa-tracker-write`, read it back, and run `node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md>` with the same `--usage-file` flags the tally got, so the check reads the ledgers the tally counted. `lisa-work-item complete` refuses an item whose tally is missing or stale. See the usage-accounting skill's `references/estimate.md`.
|
|
26
27
|
4. Dispatch:
|
|
27
28
|
- `jira` → invoke `lisa-jira-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>`.
|
|
28
29
|
- `github` → invoke `lisa-github-evidence` with `$ARGUMENTS` verbatim. Arg shape: `<ISSUE_REF> <EVIDENCE_DIR> <PR_NUMBER>` where `ISSUE_REF` is `org/repo#<number>` or a GitHub issue URL.
|
|
@@ -195,7 +195,8 @@ failures into a generic "usage update failed."
|
|
|
195
195
|
A work item's token estimate and recommended model live in their own managed `## Lisa Estimate`
|
|
196
196
|
section, beside this ledger, never inside it. The contract, config (`workItem.estimate`) and
|
|
197
197
|
pricing are in the [estimate reference](references/estimate.md); render and check the section
|
|
198
|
-
with `node scripts/lisa-estimate.mjs`.
|
|
198
|
+
with `node scripts/lisa-estimate.mjs`. At done, `lisa-estimate.mjs tally` copies this ledger's
|
|
199
|
+
rollup total into that section as the actual; it reads the ledger and never writes to it.
|
|
199
200
|
|
|
200
201
|
## Rules
|
|
201
202
|
|
|
@@ -91,4 +91,53 @@ goes into the section. Items whose actual is unknown or partial — no ledger, a
|
|
|
91
91
|
the sum of only the known runs. With
|
|
92
92
|
no usable history the range is unchanged and the basis says "no calibration history".
|
|
93
93
|
|
|
94
|
+
## Done: the actual beside the estimate
|
|
95
|
+
|
|
96
|
+
When the work is done, the section also shows what it really cost (CodySwannGT/lisa#4956). The
|
|
97
|
+
actual is the item's `## Lisa Usage` ledgers, on the body and on any comment — the same ledger
|
|
98
|
+
every flow already records into, not a second one. Each distinct run is counted once, by its entry
|
|
99
|
+
id, wherever it is recorded: a comment that repeats the body's runs and adds its own Verify run adds
|
|
100
|
+
only that run. Child work arrives as each ledger's aggregate; the total is `unknown` only when two
|
|
101
|
+
ledgers share some, but not all, of the same child runs, because that aggregate cannot be split:
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
| Estimate | 2M–4M | $3.14–$6.28 USD | claude-opus-5-5 |
|
|
105
|
+
| Actual | 3M | $4.71 USD | — |
|
|
106
|
+
|
|
107
|
+
Actual: the Lisa Usage ledger total over 2 usage entries (source: observed); 1x the estimate's midpoint.
|
|
108
|
+
|
|
109
|
+
<!-- lisa:estimate-actual tokens=3000000 cost=4.71 currency=USD sources=observed entries=2 ratio=1 -->
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
After the Verify usage entry is written (`lisa-tracker-evidence` step 3) and before the accepted
|
|
113
|
+
completion proof is published, tally it and write the body back:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
node scripts/lisa-estimate.mjs tally --body-file <body.md> [--usage-file <comment.md>]...
|
|
117
|
+
node scripts/lisa-estimate.mjs check --phase done --body-file <stored-body.md> [--usage-file <comment.md>]...
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Pass every comment that holds a ledger, each with its own `--usage-file`, to both commands. `complete`
|
|
121
|
+
reads every comment, so the check must read the same ledgers the tally counted. A total that any run
|
|
122
|
+
leaves unknown (`unavailable` telemetry, a `measured-subset` entry, a child run with no token count
|
|
123
|
+
or no cost) is shown as
|
|
124
|
+
`unknown`, never as zero, never as the sum of only the known runs, and never guessed. A `## Lisa
|
|
125
|
+
Usage` section that cannot be read in full (an entry or rollup token the parser refuses or cannot
|
|
126
|
+
match) is never dropped: it makes every total `unknown` and names `unreadable-ledger` among the
|
|
127
|
+
sources, until the section is repaired through `lisa-usage-accounting`. A section without a rollup
|
|
128
|
+
token still has its direct entries counted. An item that
|
|
129
|
+
reached done with no estimate shows `none recorded` in the estimate row rather than an invented
|
|
130
|
+
range.
|
|
131
|
+
|
|
132
|
+
`lisa-work-item complete` enforces it: when `required` is true, it refuses (as `pending-proof`) an
|
|
133
|
+
item with no usage entry, with no tally, or with a tally that no longer matches the ledger. The
|
|
134
|
+
estimate section is machine-owned metadata, so rewriting it does not change the specification
|
|
135
|
+
digest the accepted completion proof is bound to. Only the exact lines `lisa-estimate` writes are
|
|
136
|
+
left out; every other line a person adds inside it still counts, even one that starts with
|
|
137
|
+
`Actual:` or `Basis:`.
|
|
138
|
+
|
|
139
|
+
## When the config is off
|
|
140
|
+
|
|
141
|
+
Nothing about estimates blocks. Every check reports `N/A`, and `complete` skips the done gate.
|
|
142
|
+
|
|
94
143
|
The recommended model is recorded only. It does not choose which model or agent runs the work.
|