paqad-ai 1.83.0 → 1.85.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 +81 -0
- package/README.md +3 -1
- package/dist/cli/index.js +8595 -5496
- package/dist/cli/index.js.map +1 -1
- package/dist/{feature-development-policy-B2_OFqT1.d.ts → feature-development-policy-ERZGfdjj.d.ts} +20 -2
- package/dist/feature-evidence/adoption.d.ts +21 -1
- package/dist/feature-evidence/adoption.js +14 -2
- package/dist/feature-evidence/adoption.js.map +1 -1
- package/dist/index.d.ts +81 -4
- package/dist/index.js +2474 -1406
- package/dist/index.js.map +1 -1
- package/dist/kernel/gate.js +920 -70
- package/dist/kernel/gate.js.map +1 -1
- package/dist/rule-scripts/index.js +174 -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 +174 -2
- 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 +470 -275
- 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 +174 -2
- package/dist/stage-evidence/narration.js.map +1 -1
- package/dist/{stages-CnQTqfom.d.ts → stages-Bv2t1AaU.d.ts} +1 -1
- package/package.json +8 -7
- package/runtime/AGENT-ROUTER.md +23 -0
- package/runtime/base/skills/expert-need-detector/references/roster.md +15 -11
- package/runtime/base/skills/expert-notes/SKILL.md +94 -0
- package/runtime/base/skills/expert-notes/agents/openai.yaml +6 -0
- package/runtime/base/skills/expert-notes/assets/output.template.md +37 -0
- package/runtime/base/skills/expert-notes/references/finding-kinds.md +39 -0
- package/runtime/base/skills/expert-notes/references/lenses/data-modeler.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/db-expert.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/devops-engineer.md +33 -0
- package/runtime/base/skills/expert-notes/references/lenses/integration-architect.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/market-researcher.md +25 -0
- package/runtime/base/skills/expert-notes/references/lenses/performance-analyst.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/qa-engineer.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/security-auditor.md +35 -0
- package/runtime/base/skills/expert-notes/references/lenses/solution-architect.md +33 -0
- package/runtime/base/skills/expert-notes/references/lenses/user-flow-writer.md +32 -0
- package/runtime/base/skills/expert-notes/references/lenses/ux-ui-analyst.md +32 -0
- package/runtime/base/skills/expert-notes/scripts/lint-output.sh +44 -0
- package/runtime/base/skills/expert-synthesis/SKILL.md +94 -0
- package/runtime/base/skills/expert-synthesis/agents/openai.yaml +6 -0
- package/runtime/base/skills/expert-synthesis/assets/output.template.md +39 -0
- package/runtime/base/skills/expert-synthesis/references/synthesis-checklist.md +37 -0
- package/runtime/base/skills/expert-synthesis/scripts/lint-output.sh +43 -0
- package/runtime/capabilities/coding/agents/chief-architect.md +62 -0
- package/runtime/capabilities/coding/agents/qa-engineer.md +54 -0
- package/runtime/capabilities/coding/agents/user-flow-writer.md +57 -0
- package/runtime/capabilities/coding/stacks/angular/pack.yaml +3 -0
- package/runtime/capabilities/coding/stacks/astro/pack.yaml +3 -0
- package/runtime/capabilities/coding/stacks/flutter/pack.yaml +3 -0
- package/runtime/capabilities/coding/stacks/laravel/pack.yaml +5 -0
- package/runtime/capabilities/coding/stacks/nextjs/pack.yaml +7 -0
- package/runtime/capabilities/coding/stacks/react/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/svelte/pack.yaml +3 -0
- package/runtime/capabilities/coding/stacks/vue/pack.yaml +3 -0
- package/runtime/hooks/agent-entry-prompt-gate.mjs +13 -2
- package/runtime/hooks/lib/agent-entry-directive.mjs +37 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# paqad-ai
|
|
2
2
|
|
|
3
|
+
## 1.85.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e5e56fc: feat(#551): PR visual evidence — screenshots of documented flows as feature-bundle evidence
|
|
8
|
+
|
|
9
|
+
When a feature-development change touches frontend files, paqad now captures ordered
|
|
10
|
+
screenshots of the documented user flows the change affects, pairs each with a
|
|
11
|
+
business-language caption, stores them in the feature's git-ignored evidence bundle
|
|
12
|
+
(latest-run-wins), assembles an overview GIF, and verifies the evidence at end-of-change
|
|
13
|
+
like any other bundle artifact. Everything at runtime is deterministic scripts — zero LLM
|
|
14
|
+
calls in the execution path.
|
|
15
|
+
|
|
16
|
+
Off by default. Turn it on with the new `visual_evidence` flag (env `PAQAD_VISUAL_EVIDENCE`);
|
|
17
|
+
`visual_evidence_mode` (`warn`|`strict`, floored) governs how firmly the gate enforces. With
|
|
18
|
+
the flag off, feature-development is byte-identical to before.
|
|
19
|
+
|
|
20
|
+
What is new when `visual_evidence` is on and a change is frontend-triggering:
|
|
21
|
+
|
|
22
|
+
- a stack-pack `visual_evidence.frontend_globs` trigger decides when a change is frontend;
|
|
23
|
+
- compiled capture scripts (`docs/site-map/journeys/<id>.capture.yaml`) derived from
|
|
24
|
+
**confirmed** site-map journeys drive the capture;
|
|
25
|
+
- a paqad-provisioned Playwright + Chromium runtime under `~/.paqad-ai/ve-runtime/` (never a
|
|
26
|
+
hard paqad dependency, never imported from the target project);
|
|
27
|
+
- per-step `image.png` + `caption.txt` and an `overview.gif` under the bundle's
|
|
28
|
+
`screenshots/` subtree, with a bundle-integrity carve-out;
|
|
29
|
+
- a `visual-evidence` verification gate, receipt line, and `report.html` section;
|
|
30
|
+
- a `paqad-ai visual-evidence` CLI group (`run`, `plan`, `setup`).
|
|
31
|
+
|
|
32
|
+
## 1.84.0
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- c6f611c: feat(#547): wire the spec pipeline and ship the domain experts
|
|
37
|
+
|
|
38
|
+
The grounded prompt-to-spec pipeline and the expert plumbing were built but idle. This change
|
|
39
|
+
starts the pipeline from the specification stage, gives eleven domain experts and a chief
|
|
40
|
+
architect real behaviour, and records what every run costs and changes. It is off for onboarded
|
|
41
|
+
projects by default; both flags stay off unless a project opts in.
|
|
42
|
+
|
|
43
|
+
What is new when `spec_pipeline_enabled` is on:
|
|
44
|
+
|
|
45
|
+
- The specification stage runs the pipeline. A shared instruction in the policy and the router
|
|
46
|
+
says so, a new `spec pipeline start` verb grounds and labels the request in one go, and a new
|
|
47
|
+
`spec_pipeline_adoption` knob (warn or strict) controls how firmly a hand-written spec is
|
|
48
|
+
refused at freeze.
|
|
49
|
+
- Eleven pickable experts and a chief architect become real through one `expert-notes` runner
|
|
50
|
+
skill with a lens per expert and one `expert-synthesis` chief skill. The model decides which
|
|
51
|
+
experts a request needs; the script only validates against the roster.
|
|
52
|
+
- Each expert writes short request-time notes; the chief accepts or declines them, recommends a
|
|
53
|
+
resolution for each disagreement (which becomes a decision you make), and lists what nobody
|
|
54
|
+
covered. The spec is crafted with every line traced to its source, and the craft gate refuses
|
|
55
|
+
an untraced requirement or an accepted finding that never reached the spec.
|
|
56
|
+
- Freeze copies the run provenance into the record; the readable spec ends with a Provenance
|
|
57
|
+
section; and every run records full metrics, with a `spec pipeline metrics` verb to read them
|
|
58
|
+
back. A human's later edit to a frozen spec is captured by section.
|
|
59
|
+
|
|
60
|
+
With the flags off, feature-development is byte-identical to before.
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- 912d9e3: fix(#540): stop a background notification opening a change and orphaning a bundle
|
|
65
|
+
|
|
66
|
+
A `<task-notification>` from a background monitor reaches a session as an ordinary user
|
|
67
|
+
turn, and the extra `Stop` it produces made the marker parser re-read the whole transcript.
|
|
68
|
+
With the previous change already closed, nothing was active, so every stale `paqad:stage`
|
|
69
|
+
line read as unrecorded and a phantom untitled `change-<ULID>` bundle was opened for it —
|
|
70
|
+
stealing the session pointer and failing its own completion gate, which turned a finished,
|
|
71
|
+
green change into a red one.
|
|
72
|
+
|
|
73
|
+
Three seams are fixed:
|
|
74
|
+
|
|
75
|
+
- The prompt-routing seam recognises a host-injected system notification and treats it as
|
|
76
|
+
no request at all, so a CI ping cannot re-route or clobber an in-flight change.
|
|
77
|
+
- The retrospective marker seam refuses to open a bundle once the session has already
|
|
78
|
+
closed a change. A session's first change is unaffected, including on the Codex and
|
|
79
|
+
Gemini completion hooks that share the seam.
|
|
80
|
+
- `paqad-ai resume --feature <ref>` now resolves a ref against the recorded bundles on
|
|
81
|
+
disk as well as the session's paused stack, so a displaced change is reachable without
|
|
82
|
+
hand-editing anything under `.paqad/ledger/`.
|
|
83
|
+
|
|
3
84
|
## 1.83.0
|
|
4
85
|
|
|
5
86
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -134,6 +134,8 @@ Three steps turn AI coding from a prompt you hope works into a pipeline you can
|
|
|
134
134
|
| **Follow** | Agents run your workflows and rules the same way every time, instead of guessing. | Represent a workflow once, and every agent follows it. |
|
|
135
135
|
| **Prove** | Automatic checks confirm tests, spec coverage, docs, security, and quality before "done." | "Done" means proven, not claimed. |
|
|
136
136
|
|
|
137
|
+
When you turn the flags on, the spec itself can be produced by a pipeline: it grounds the request in your own docs, brings in the domain experts the request needs, asks one small batch of plain-language questions, and writes the spec with every line traced to where it came from.
|
|
138
|
+
|
|
137
139
|
---
|
|
138
140
|
|
|
139
141
|
## Set up every agent once
|
|
@@ -191,7 +193,7 @@ A built-in router reads each request, judges its complexity and risk, and sends
|
|
|
191
193
|
- **graduated** lane for everyday features
|
|
192
194
|
- **full** lane for risky or wide-reaching changes, with a frozen spec and story breakdown first
|
|
193
195
|
|
|
194
|
-
Along the way it coordinates **
|
|
196
|
+
Along the way it coordinates **23 built-in specialist roles**, each with one job and no conflicting incentives:
|
|
195
197
|
|
|
196
198
|
| Group | Roles |
|
|
197
199
|
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|