paqad-ai 1.40.0 → 1.41.1
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 +38 -0
- package/dist/cli/index.js +1594 -1584
- package/dist/cli/index.js.map +1 -1
- package/dist/{feature-development-policy-DJlz0m1B.d.ts → feature-development-policy-CTmYgPS5.d.ts} +1 -1
- package/dist/index.d.ts +362 -173
- package/dist/index.js +1948 -1574
- package/dist/index.js.map +1 -1
- package/dist/kernel/gate.js +55 -13
- package/dist/kernel/gate.js.map +1 -1
- package/dist/rule-scripts/index.js +17 -2
- 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 +655 -5
- 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 +655 -5
- 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 +653 -3
- package/dist/stage-evidence/narration.js.map +1 -1
- package/dist/{stages-N8Yi2niL.d.ts → stages-B-5fe_GW.d.ts} +1 -1
- package/package.json +1 -1
- package/runtime/AGENT-BOOTSTRAP.md +1 -0
- package/runtime/base/skills/analytics-instrumentation/SKILL.md +90 -0
- package/runtime/base/skills/analytics-instrumentation/agents/openai.yaml +7 -0
- package/runtime/base/skills/analytics-instrumentation/references/analytics-tracking-plan-contract.md +29 -0
- package/runtime/base/skills/analytics-instrumentation/scripts/instrument.mjs +77 -0
- package/runtime/capabilities/coding/rules/analytics-instrumentation.md +27 -0
- package/runtime/hooks/verification-record.mjs +1 -37
- package/runtime/hooks/analytics-tag-marker-parse.mjs +0 -74
- package/runtime/hooks/analytics-tag-writer.mjs +0 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# paqad-ai
|
|
2
2
|
|
|
3
|
+
## 1.41.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2137219: Rule-script whole-tree scan now respects `.gitignore`. Previously the scanner
|
|
8
|
+
enumerated the working tree with a fixed ignore list (`node_modules`, `dist`,
|
|
9
|
+
`.paqad`, `build`) and never consulted the project's `.gitignore`, so gitignored
|
|
10
|
+
build output, vendored dependencies, and generated code were still scanned —
|
|
11
|
+
producing `deterministic` findings on files the developer cannot hand-fix and
|
|
12
|
+
blocking the strict `rule_compliance` gate. The scan now drops git-ignored paths
|
|
13
|
+
via a batched `git check-ignore` (falling back to the static list when git is
|
|
14
|
+
unavailable), and adds `vendor/` to that fallback list.
|
|
15
|
+
|
|
16
|
+
## 1.41.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 7d3bed0: Analytics v2 (#279): turn analytics instrumentation into a tracking-plan-as-code.
|
|
21
|
+
|
|
22
|
+
When `analytics_instrumentation` is on, paqad now makes the per-event docs tree the single
|
|
23
|
+
source of truth for what a project tracks, and governs every event through the normal PR:
|
|
24
|
+
|
|
25
|
+
- The #241 `paqad.analytics-tag` ledger is removed (redundant with the docs); the flag,
|
|
26
|
+
detection, classify-time gate, and conflict decision-pause categories stay.
|
|
27
|
+
- A `docs/instructions/stack/analytics.md` tracking-plan doc is generated from provider
|
|
28
|
+
detection (OFF stays silent).
|
|
29
|
+
- Framework analytics rules are compile-time gated on the flag (`<!--gate:-->` frontmatter),
|
|
30
|
+
so zero analytics bytes reach the model when off.
|
|
31
|
+
- A per-event docs tree `docs/modules/{module}/analytics/{feature}/{event}.md` (one doc per
|
|
32
|
+
event, a section per provider, normalized-slug filenames that collapse casing variants) is
|
|
33
|
+
generated by the documentation workflow and the doc-sync stage.
|
|
34
|
+
- Every new event opens an `analytics.new_event` Decision Pause packet (who/why), and the
|
|
35
|
+
feature-development stages inject analytics instructions when the gate resolves to instrument.
|
|
36
|
+
- One `AC-TRACK` per event flows through spec freeze and traceability (an unproven event is a
|
|
37
|
+
`TR-UNTESTED-PROMISE`), gated by doc existence with a new `analytics_strictness` knob
|
|
38
|
+
(off | warn | strict, default warn).
|
|
39
|
+
- A new `analytics-instrumentation` skill writes the doc + emits the provider snippet.
|
|
40
|
+
|
|
3
41
|
## 1.40.0
|
|
4
42
|
|
|
5
43
|
### Minor Changes
|