paqad-ai 1.70.0 → 1.72.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/cli/index.js +6604 -3235
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/{feature-development-policy-BX-lGxtg.d.ts → feature-development-policy-B2_OFqT1.d.ts} +2 -0
  5. package/dist/feature-evidence/adoption.js +22 -0
  6. package/dist/feature-evidence/adoption.js.map +1 -1
  7. package/dist/index.d.ts +30 -5
  8. package/dist/index.js +382 -249
  9. package/dist/index.js.map +1 -1
  10. package/dist/kernel/gate.js +109 -85
  11. package/dist/kernel/gate.js.map +1 -1
  12. package/dist/rag-ledger/session.js +22 -0
  13. package/dist/rag-ledger/session.js.map +1 -1
  14. package/dist/rule-scripts/index.js +32 -0
  15. package/dist/rule-scripts/index.js.map +1 -1
  16. package/dist/session-ledger/disabled-audit.js +22 -0
  17. package/dist/session-ledger/disabled-audit.js.map +1 -1
  18. package/dist/session-ledger/project-ledger.js +22 -0
  19. package/dist/session-ledger/project-ledger.js.map +1 -1
  20. package/dist/stage-evidence/live-writer.d.ts +2 -2
  21. package/dist/stage-evidence/live-writer.js +32 -0
  22. package/dist/stage-evidence/live-writer.js.map +1 -1
  23. package/dist/stage-evidence/marker-parse.d.ts +2 -2
  24. package/dist/stage-evidence/marker-parse.js +33 -0
  25. package/dist/stage-evidence/marker-parse.js.map +1 -1
  26. package/dist/stage-evidence/narration.d.ts +2 -2
  27. package/dist/stage-evidence/narration.js +32 -0
  28. package/dist/stage-evidence/narration.js.map +1 -1
  29. package/dist/{stages-CVA8e3Wc.d.ts → stages-CnQTqfom.d.ts} +1 -1
  30. package/package.json +1 -1
  31. package/runtime/AGENT-BOOTSTRAP.md +5 -4
  32. package/runtime/base/skills/finding-normalizer/SKILL.md +3 -0
  33. package/runtime/base/skills/finding-normalizer/assets/vocabulary.txt +16 -0
  34. package/runtime/base/skills/workflow-router/SKILL.md +15 -0
  35. package/runtime/base/skills/workflow-router/assets/routing-rules.txt +9 -0
  36. package/runtime/capabilities/coding/agents/app-cartographer.md +83 -0
  37. package/runtime/capabilities/coding/agents/journey-designer.md +71 -0
  38. package/runtime/capabilities/coding/rules/site-map-retest.md +48 -0
  39. package/runtime/capabilities/coding/rules/site-map.md +108 -0
  40. package/runtime/capabilities/coding/skills/guard-inference/SKILL.md +66 -0
  41. package/runtime/capabilities/coding/skills/guard-inference/agents/openai.yaml +3 -0
  42. package/runtime/capabilities/coding/skills/guard-inference/references/guard-evidence.md +31 -0
  43. package/runtime/capabilities/coding/skills/journey-synthesis/SKILL.md +67 -0
  44. package/runtime/capabilities/coding/skills/journey-synthesis/agents/openai.yaml +3 -0
  45. package/runtime/capabilities/coding/skills/journey-synthesis/references/journey-shape.md +36 -0
  46. package/runtime/capabilities/coding/skills/map-verification/SKILL.md +65 -0
  47. package/runtime/capabilities/coding/skills/map-verification/agents/openai.yaml +3 -0
  48. package/runtime/capabilities/coding/skills/map-verification/references/refutation-discipline.md +28 -0
  49. package/runtime/capabilities/coding/skills/site-map-assembly/SKILL.md +63 -0
  50. package/runtime/capabilities/coding/skills/site-map-assembly/agents/openai.yaml +3 -0
  51. package/runtime/capabilities/coding/skills/site-map-assembly/references/merge-policy.md +30 -0
  52. package/runtime/capabilities/coding/skills/site-map-gap-analysis/SKILL.md +64 -0
  53. package/runtime/capabilities/coding/skills/site-map-gap-analysis/agents/openai.yaml +3 -0
  54. package/runtime/capabilities/coding/skills/site-map-gap-analysis/references/finding-composition.md +33 -0
  55. package/runtime/capabilities/coding/skills/site-map-maintainer/SKILL.md +65 -0
  56. package/runtime/capabilities/coding/skills/site-map-maintainer/agents/openai.yaml +3 -0
  57. package/runtime/capabilities/coding/skills/site-map-maintainer/references/patch-scope.md +30 -0
  58. package/runtime/capabilities/coding/skills/site-map-publication/SKILL.md +63 -0
  59. package/runtime/capabilities/coding/skills/site-map-publication/agents/openai.yaml +3 -0
  60. package/runtime/capabilities/coding/skills/site-map-publication/references/publication-budget.md +28 -0
  61. package/runtime/capabilities/coding/skills/site-map-readiness/SKILL.md +66 -0
  62. package/runtime/capabilities/coding/skills/site-map-readiness/agents/openai.yaml +3 -0
  63. package/runtime/capabilities/coding/skills/site-map-readiness/references/readiness-criteria.md +30 -0
  64. package/runtime/capabilities/coding/skills/site-map-retest/SKILL.md +61 -0
  65. package/runtime/capabilities/coding/skills/site-map-retest/agents/openai.yaml +3 -0
  66. package/runtime/capabilities/coding/skills/site-map-retest/references/replay-rules.md +32 -0
  67. package/runtime/capabilities/coding/skills/surface-extraction/SKILL.md +65 -0
  68. package/runtime/capabilities/coding/skills/surface-extraction/agents/openai.yaml +3 -0
  69. package/runtime/capabilities/coding/skills/surface-extraction/references/extraction-evidence.md +26 -0
  70. package/runtime/capabilities/coding/skills/surface-modeling/SKILL.md +64 -0
  71. package/runtime/capabilities/coding/skills/surface-modeling/agents/openai.yaml +3 -0
  72. package/runtime/capabilities/coding/skills/surface-modeling/references/modeling-judgment.md +35 -0
  73. package/runtime/capabilities/coding/skills/transition-tracing/SKILL.md +65 -0
  74. package/runtime/capabilities/coding/skills/transition-tracing/agents/openai.yaml +3 -0
  75. package/runtime/capabilities/coding/skills/transition-tracing/references/transition-evidence.md +29 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # paqad-ai
2
2
 
3
+ ## 1.72.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 12acee3: New **Site Map** capability — the deterministic core (P1), behind an OFF-by-default `site_map`
8
+ flag (env `PAQAD_SITE_MAP`). With the flag off nothing changes; when on and the coding capability
9
+ is active, `paqad-ai sitemap run` maps the application — its surfaces (pages, screens, endpoints,
10
+ CLI commands), transitions, guards, and areas — reconciles them against a canonical
11
+ `docs/instructions/site-map/app-map.yaml`, runs Tier-A verification (evidence resolution,
12
+ cross-reference integrity, graph invariants), and publishes a token-budgeted `index.md`, a
13
+ deterministic Mermaid overview, and screen/API registries. Zero model tokens: the engine mirrors
14
+ the codebase-health pattern (injectable gatherer → pure assemble → exit-code-as-verdict).
15
+
16
+ This release wires the capability into the framework:
17
+
18
+ - **Routing**: `site-map` and `site-map-retest` are routed workflows (mirroring
19
+ codebase-health / health-retest). Verb-qualified triggers keep a literal `sitemap.xml` feature
20
+ request on the feature-development path.
21
+ - **Skills, roles, and rules**: the `site-map` / `site-map-retest` workflow rules, the
22
+ `app-cartographer` and `journey-designer` agent roles, and the fine-grained skills (readiness,
23
+ extraction, modeling, transition-tracing, guard-inference, assembly, verification, gap-analysis,
24
+ publication, maintainer, retest, and journey-synthesis). Journeys are proposed by
25
+ `journey-synthesis`/`journey-designer` and become `confirmed` only through human sign-off.
26
+ - **Freshness gate**: a feature-development change that drifts the map cannot reach "Safe to
27
+ merge" while a published view is stale — inert unless the flag is on.
28
+ - **Retest**: `paqad-ai sitemap retest` replays a prior report by stable `SM-` id (never invents a
29
+ finding, never lowers severity, never calls the absence of proof a fix).
30
+
31
+ The React dashboard Site map area and the human journey-curation UI (confirming a proposed journey)
32
+ are deferred to a follow-up.
33
+
34
+ ## 1.71.0
35
+
36
+ ### Minor Changes
37
+
38
+ - b394371: Framework-native reuse now covers PHP/Laravel, Python and Java/Spring, not just JS/TS
39
+ (#398). Each ecosystem gets an adapter behind the same normalized schema: resolve the
40
+ version actually installed, read the declaration layer that ships with it, and answer
41
+ whether a symbol exists and whether it is deprecated — so `plan compile` checks a Laravel,
42
+ Django or Spring reuse claim exactly as it already checked a React one.
43
+
44
+ Laravel facades resolve through their `@method static` docblocks rather than reporting
45
+ `__callStatic`, and the version-pinned Laravel Upgrade Guide is folded in as a
46
+ `doc-derived` deprecation backstop for the deprecations Laravel documents but never tags.
47
+ Metaprogrammed members always read "could not verify statically", never a false "does not
48
+ exist".
49
+
50
+ `FRAMEWORK_PACKAGE_MAP` also gains the Spring Boot, Django, FastAPI and Rails coordinates
51
+ it was missing, so those projects are detected and indexed instead of silently producing
52
+ nothing.
53
+
3
54
  ## 1.70.0
4
55
 
5
56
  ### Minor Changes