paqad-ai 0.2.1 → 0.2.3
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/README.md +31 -1
- package/dist/cli/index.js +1546 -330
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +304 -3
- package/dist/index.js +2357 -451
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/runtime/capabilities/coding/stacks/angular/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/astro/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/django/pack.yaml +7 -0
- package/runtime/capabilities/coding/stacks/express/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/fastapi/pack.yaml +7 -0
- package/runtime/capabilities/coding/stacks/flutter/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/go-web/pack.yaml +5 -0
- package/runtime/capabilities/coding/stacks/laravel/pack.yaml +13 -0
- package/runtime/capabilities/coding/stacks/node-cli/pack.yaml +8 -0
- package/runtime/capabilities/coding/stacks/node-library/pack.yaml +8 -0
- package/runtime/capabilities/coding/stacks/node-service/pack.yaml +8 -0
- package/runtime/capabilities/coding/stacks/rails/pack.yaml +5 -0
- package/runtime/capabilities/coding/stacks/react/pack.yaml +10 -0
- package/runtime/capabilities/coding/stacks/rust-web/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/spring-boot/pack.yaml +6 -0
- package/runtime/capabilities/coding/stacks/svelte/pack.yaml +4 -0
- package/runtime/capabilities/coding/stacks/vue/pack.yaml +10 -0
package/README.md
CHANGED
|
@@ -63,10 +63,11 @@ npx paqad-ai onboard
|
|
|
63
63
|
| **Documentation** | Stack, architecture, design-system, registry, and module documentation flows |
|
|
64
64
|
| **Hybrid RAG** | Optional vector indexing, hybrid retrieval, reranking, evals, and benchmarks |
|
|
65
65
|
| **Security** | OWASP-mapped pentest workflow with incremental retests |
|
|
66
|
+
| **Spec compliance** | Obligation extraction, test evidence checks, and failing skeleton generation |
|
|
66
67
|
| **Built-in agent roles** | 20 internal specialist roles for routing, review, design, verification, and security |
|
|
67
68
|
| **Context controls** | Chunking, scoring, dedup, summarization, and budget enforcement |
|
|
68
69
|
| **Pack system** | Built-in and custom stack packs for framework-specific behavior |
|
|
69
|
-
| **Operations** | `doctor`, `refresh`, `update`, `patterns`, and capability toggles
|
|
70
|
+
| **Operations** | `doctor`, `compliance`, `refresh`, `update`, `patterns`, and capability toggles |
|
|
70
71
|
|
|
71
72
|
---
|
|
72
73
|
|
|
@@ -276,6 +277,19 @@ Conditional steps, parallel execution, failure handling (`abort` / `skip` / `ret
|
|
|
276
277
|
|
|
277
278
|
Verified solutions stored globally at `~/.paqad/patterns/`. Scored by framework overlap + keyword match, staleness penalty after 180 days.
|
|
278
279
|
|
|
280
|
+
### Spec compliance verification
|
|
281
|
+
|
|
282
|
+
Structured feature specs can be turned into executable obligation artifacts before implementation starts.
|
|
283
|
+
|
|
284
|
+
| Workflow | What it does |
|
|
285
|
+
| ------------------------- | --------------------------------------------------------------------------- |
|
|
286
|
+
| **Obligation extraction** | Parses structured Markdown specs into deterministic obligation indexes |
|
|
287
|
+
| **Compliance checking** | Scans tests for explicit obligation evidence and reports coverage gaps |
|
|
288
|
+
| **Skeleton generation** | Creates failing Vitest stubs from obligations before implementation begins |
|
|
289
|
+
| **Index doctoring** | Validates schema version and duplicate IDs before checks or skeleton output |
|
|
290
|
+
|
|
291
|
+
Compliance artifacts live under `.paqad/compliance/` and are designed so the durable module docs can outlive the original feature spec once the behavior is implemented.
|
|
292
|
+
|
|
279
293
|
### Health, refresh, and update workflows
|
|
280
294
|
|
|
281
295
|
The operational side matters too: paqad-ai keeps generated artifacts and project state from quietly drifting.
|
|
@@ -285,6 +299,7 @@ The operational side matters too: paqad-ai keeps generated artifacts and project
|
|
|
285
299
|
| **Doctor** | Validates framework artifacts, copied instructions, MCP config, docs, and RAG state |
|
|
286
300
|
| **Refresh** | Re-detects stack and regenerates stack or design-system outputs |
|
|
287
301
|
| **Update** | Rewrites framework-managed artifacts against the current package version |
|
|
302
|
+
| **Compliance** | Extracts spec obligations, checks evidence, generates skeletons, validates indexes |
|
|
288
303
|
| **Capabilities** | Toggles active capability layers with dependency rules |
|
|
289
304
|
| **Patterns** | Lists, prunes, and exports the global pattern library |
|
|
290
305
|
|
|
@@ -368,6 +383,19 @@ paqad-ai doctor
|
|
|
368
383
|
|
|
369
384
|
Exits `1` on failure, `0` on pass.
|
|
370
385
|
|
|
386
|
+
### `paqad-ai compliance`
|
|
387
|
+
|
|
388
|
+
Spec verification and test-evidence tooling.
|
|
389
|
+
|
|
390
|
+
```bash
|
|
391
|
+
paqad-ai compliance extract --spec docs/features/spec-compliance-verification.md
|
|
392
|
+
paqad-ai compliance check
|
|
393
|
+
paqad-ai compliance skeleton --out tests/compliance-skeletons
|
|
394
|
+
paqad-ai compliance doctor
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
Use it to persist an obligation index, check tests for explicit `@obligation` evidence, generate failing Vitest skeletons, and validate index health before CI or review.
|
|
398
|
+
|
|
371
399
|
### `paqad-ai refresh`
|
|
372
400
|
|
|
373
401
|
Re-detects stack and regenerates derived artifacts without full re-onboarding.
|
|
@@ -496,6 +524,7 @@ your-project/
|
|
|
496
524
|
├── rag.ignore.yaml # Optional RAG corpus include/exclude rules
|
|
497
525
|
├── secrets.env # Optional API keys for remote RAG providers
|
|
498
526
|
├── audit.log # Build, fallback, and provider mismatch events
|
|
527
|
+
├── compliance/ # Obligation indexes and related compliance artifacts
|
|
499
528
|
├── doc-progress.json
|
|
500
529
|
├── pentest/runs/ # generated when pentest workflows run
|
|
501
530
|
├── session/ # Handoff, budget, dedup stats
|
|
@@ -515,6 +544,7 @@ Entry files stay thin. Knowledge lives in shared instruction bundles that extern
|
|
|
515
544
|
| -------------------- | -------------------------------------- | --------------------------------------------------------- |
|
|
516
545
|
| **Onboarding** | `paqad-ai onboard` | Detect stack → confirm → generate everything |
|
|
517
546
|
| **Health check** | `paqad-ai doctor` | Validate artifacts, config, docs |
|
|
547
|
+
| **Spec compliance** | `paqad-ai compliance ...` | Extract obligations, check evidence, generate skeletons |
|
|
518
548
|
| **Refresh** | `paqad-ai refresh` | Re-detect stack, update derived docs |
|
|
519
549
|
| **Update** | `paqad-ai update` | Regenerate framework files after version bump |
|
|
520
550
|
| **RAG** | `paqad-ai rag ...` | Build, inspect, clear, and benchmark hybrid retrieval |
|