paqad-ai 1.68.0 → 1.70.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/CHANGELOG.md +49 -0
- package/dist/cli/index.js +1645 -551
- package/dist/cli/index.js.map +1 -1
- package/dist/{feature-development-policy-DgMjAiDM.d.ts → feature-development-policy-BX-lGxtg.d.ts} +2 -0
- package/dist/feature-evidence/adoption.js +5 -0
- package/dist/feature-evidence/adoption.js.map +1 -1
- package/dist/index.d.ts +10 -3
- package/dist/index.js +471 -223
- package/dist/index.js.map +1 -1
- package/dist/kernel/gate.js +122 -85
- package/dist/kernel/gate.js.map +1 -1
- package/dist/rag-ledger/session.js +5 -0
- package/dist/rag-ledger/session.js.map +1 -1
- package/dist/rule-scripts/index.js +16 -1
- package/dist/rule-scripts/index.js.map +1 -1
- package/dist/session-ledger/disabled-audit.js +5 -0
- package/dist/session-ledger/disabled-audit.js.map +1 -1
- package/dist/session-ledger/project-ledger.js +5 -0
- package/dist/session-ledger/project-ledger.js.map +1 -1
- package/dist/stage-evidence/live-writer.d.ts +2 -2
- package/dist/stage-evidence/live-writer.js +16 -1
- package/dist/stage-evidence/live-writer.js.map +1 -1
- package/dist/stage-evidence/marker-parse.d.ts +2 -2
- package/dist/stage-evidence/marker-parse.js +16 -1
- package/dist/stage-evidence/marker-parse.js.map +1 -1
- package/dist/stage-evidence/narration.d.ts +2 -2
- package/dist/stage-evidence/narration.js +16 -1
- package/dist/stage-evidence/narration.js.map +1 -1
- package/dist/{stages-D5vNhUPh.d.ts → stages-CVA8e3Wc.d.ts} +1 -1
- package/package.json +9 -1
- package/runtime/capabilities/coding/rules/feature-development.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# paqad-ai
|
|
2
2
|
|
|
3
|
+
## 1.70.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 39f86ea: Verify framework reuse claims against the version you actually have installed (#397).
|
|
8
|
+
|
|
9
|
+
A plan could already declare it was reusing a framework API — "I'll use React's `useId()`
|
|
10
|
+
instead of hand-rolling one" — but nothing checked the claim. Now paqad reads the
|
|
11
|
+
declaration files shipped inside the installed package and answers two questions before
|
|
12
|
+
the plan compiles: does that symbol exist at your installed version, and is it
|
|
13
|
+
`@deprecated`? A plan naming a removed API fails with the nearest existing symbol; one
|
|
14
|
+
naming a deprecated API fails citing the deprecation message. No AI, no network.
|
|
15
|
+
|
|
16
|
+
New: `paqad-ai index framework-api build` and `paqad-ai index framework-api query
|
|
17
|
+
<package> <symbol>`.
|
|
18
|
+
|
|
19
|
+
Nothing new is installed for this. `typescript` is an optional peer dependency resolved
|
|
20
|
+
from your own project, so a Laravel, Flutter, or Python project pays nothing for a
|
|
21
|
+
JS-only check, and a project without it degrades to a visible warning rather than a
|
|
22
|
+
block. Anything paqad cannot verify statically — a dynamically-provided member, an
|
|
23
|
+
unindexed package, a missing index — warns instead of failing, because a false "this
|
|
24
|
+
does not exist" would block a perfectly good plan.
|
|
25
|
+
|
|
26
|
+
## 1.69.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- 09ef89f: Prove "less, better code" with per-change shape metrics (#362).
|
|
31
|
+
|
|
32
|
+
Two deterministic, diff-scoped, zero-model-token numbers are now computed for
|
|
33
|
+
every feature-development change:
|
|
34
|
+
|
|
35
|
+
- **duplication on new code** (`dup_new_pct`) — the % of the change's meaningful
|
|
36
|
+
new lines that near-duplicate existing code, folded from the #358 duplication
|
|
37
|
+
cache.
|
|
38
|
+
- **reuse rate** (`reuse_rate`) — cross-file calls from the change's new code
|
|
39
|
+
into pre-existing, untouched files per 100 changed lines, from the #353
|
|
40
|
+
code-knowledge index.
|
|
41
|
+
|
|
42
|
+
They fold over caches the completion gates already produced (no second scan) and
|
|
43
|
+
surface everywhere the developer already looks: one honest `change shape` line on
|
|
44
|
+
the end-of-change receipt, a metrics block on the feature bundle receipt, a
|
|
45
|
+
`change-metrics` row on the session ledger (which flows into the SIEM export), a
|
|
46
|
+
new **Change Shape** dashboard trend section with bands (green 0–3%, amber
|
|
47
|
+
3–10%, red >10%), and a new `paqad-ai metrics report` verb that prints the last N
|
|
48
|
+
changes offline. Either metric degrades to `n/a` when its source cache is absent.
|
|
49
|
+
Controlled by the `metrics_enabled` config knob (default on; respects the global
|
|
50
|
+
disable).
|
|
51
|
+
|
|
3
52
|
## 1.68.0
|
|
4
53
|
|
|
5
54
|
### Minor Changes
|