paqad-ai 1.67.0 → 1.68.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 +35 -0
- package/dist/cli/index.js +1320 -892
- package/dist/cli/index.js.map +1 -1
- package/dist/{feature-development-policy-DQIrb8Oj.d.ts → feature-development-policy-DgMjAiDM.d.ts} +1 -1
- package/dist/index.d.ts +37 -6
- package/dist/index.js +1124 -849
- package/dist/index.js.map +1 -1
- package/dist/kernel/gate.js +670 -429
- package/dist/kernel/gate.js.map +1 -1
- package/dist/rule-scripts/index.js +28 -0
- package/dist/rule-scripts/index.js.map +1 -1
- package/dist/stage-evidence/live-writer.d.ts +2 -2
- package/dist/stage-evidence/live-writer.js +28 -0
- 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 +28 -0
- 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 +28 -0
- package/dist/stage-evidence/narration.js.map +1 -1
- package/dist/{stages-BIaLgHS-.d.ts → stages-D5vNhUPh.d.ts} +1 -1
- package/package.json +1 -1
- package/runtime/AGENT-BOOTSTRAP.md +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# paqad-ai
|
|
2
2
|
|
|
3
|
+
## 1.68.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9f35bb7: Arm the create-vs-reuse decision pause from evidence instead of the agent's
|
|
8
|
+
honesty (#361).
|
|
9
|
+
|
|
10
|
+
The `create-vs-reuse` pause used to fire only when the model volunteered that
|
|
11
|
+
it was at a reuse fork, and the packet's `callers` / `similarity` evidence
|
|
12
|
+
fields were computed by nothing. Now the framework mints that packet itself,
|
|
13
|
+
with the proof filled in, on two deterministic triggers:
|
|
14
|
+
|
|
15
|
+
- **Plan time:** at `plan compile`, each declared `new_constructs[]` entry is
|
|
16
|
+
scored against the code-knowledge index (#353). A name/spec similarity at or
|
|
17
|
+
above `decision_arm_plan_threshold` (default 0.85) opens a `create-vs-reuse`
|
|
18
|
+
packet whose reuse option carries `{ file, last_modified, callers, similarity }`
|
|
19
|
+
and whose create-new option carries the plan's own justification. The
|
|
20
|
+
recommendation is reuse once the existing symbol has at least three callers.
|
|
21
|
+
- **Change time:** a blocking-band duplication finding (#358) opens the same
|
|
22
|
+
packet from the finding, through one shared minter.
|
|
23
|
+
|
|
24
|
+
Both mints go through `paqad-ai decision create` (never hand-authored JSON),
|
|
25
|
+
carry `origin: "evidence-armed"`, and honour a `decision_arm_max_per_change`
|
|
26
|
+
cap (default 1 — only the strongest fork is asked; the rest surface as warnings).
|
|
27
|
+
An identical fork already answered under `.paqad/decisions/resolved/`
|
|
28
|
+
auto-applies that prior answer instead of re-asking and records
|
|
29
|
+
`reused_decision:<id>`. The `ContractDecisionOption` shape gains an optional
|
|
30
|
+
`evidence` field (additive, backward-compatible) so the pause gate and existing
|
|
31
|
+
packets are unaffected.
|
|
32
|
+
|
|
33
|
+
Governed by `decision_arm_mode` (off | warn | strict, team value is a floor):
|
|
34
|
+
`warn` (default) reports the fork without minting; `strict` opens the blocking
|
|
35
|
+
pause; `off` is identical to prior behavior. With the code-knowledge index
|
|
36
|
+
absent, plan-time arming no-ops silently.
|
|
37
|
+
|
|
3
38
|
## 1.67.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|