paqad-ai 1.3.0 → 1.5.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 (68) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/cli/index.js +2402 -386
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/index.d.ts +30 -1
  5. package/dist/index.js +671 -171
  6. package/dist/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/runtime/base/skills/module-attribution-extractor/SKILL.md +98 -0
  9. package/runtime/base/skills/module-attribution-extractor/agents/openai.yaml +6 -0
  10. package/runtime/base/skills/module-attribution-extractor/assets/templates/packet-collision.md +17 -0
  11. package/runtime/base/skills/module-attribution-extractor/assets/templates/packet-unknown.md +16 -0
  12. package/runtime/base/skills/module-attribution-extractor/references/pattern-set.md +30 -0
  13. package/runtime/base/skills/module-attribution-extractor/scripts/extract.sh +21 -0
  14. package/runtime/base/skills/module-attribution-extractor/scripts/filter-by-kind.sh +33 -0
  15. package/runtime/base/skills/module-attribution-extractor/scripts/needs-decision.sh +35 -0
  16. package/runtime/base/skills/module-attribution-inferencer/SKILL.md +105 -0
  17. package/runtime/base/skills/module-attribution-inferencer/agents/openai.yaml +5 -0
  18. package/runtime/base/skills/module-attribution-inferencer/assets/templates/packet-inferencer.md +22 -0
  19. package/runtime/base/skills/module-attribution-inferencer/references/scoring.md +44 -0
  20. package/runtime/base/skills/module-attribution-inferencer/scripts/infer.sh +25 -0
  21. package/runtime/base/skills/module-attribution-inferencer/scripts/is-confident.sh +27 -0
  22. package/runtime/base/skills/module-attribution-inferencer/scripts/require-module-map.sh +27 -0
  23. package/runtime/base/skills/module-health-rollup/SKILL.md +106 -0
  24. package/runtime/base/skills/module-health-rollup/agents/openai.yaml +7 -0
  25. package/runtime/base/skills/module-health-rollup/assets/templates/rollup-summary.md +22 -0
  26. package/runtime/base/skills/module-health-rollup/references/coverage-formats.md +46 -0
  27. package/runtime/base/skills/module-health-rollup/scripts/is-blocked.sh +29 -0
  28. package/runtime/base/skills/module-health-rollup/scripts/list-blocked-metrics.sh +30 -0
  29. package/runtime/base/skills/module-health-rollup/scripts/list-unattributed.sh +27 -0
  30. package/runtime/base/skills/module-health-rollup/scripts/rollup.sh +31 -0
  31. package/runtime/base/skills/module-map-reconciler/SKILL.md +112 -0
  32. package/runtime/base/skills/module-map-reconciler/agents/openai.yaml +5 -0
  33. package/runtime/base/skills/module-map-reconciler/assets/templates/findings-summary.md +23 -0
  34. package/runtime/base/skills/module-map-reconciler/references/source-roots-contract.md +59 -0
  35. package/runtime/base/skills/module-map-reconciler/scripts/count-by-code.sh +28 -0
  36. package/runtime/base/skills/module-map-reconciler/scripts/filter-by-code.sh +29 -0
  37. package/runtime/base/skills/module-map-reconciler/scripts/has-findings.sh +34 -0
  38. package/runtime/base/skills/module-map-reconciler/scripts/is-blocked.sh +26 -0
  39. package/runtime/base/skills/module-map-reconciler/scripts/reconcile.sh +17 -0
  40. package/runtime/base/skills/workflow-router/assets/routing-rules.txt +5 -0
  41. package/runtime/capabilities/coding/stacks/angular/pack.yaml +11 -0
  42. package/runtime/capabilities/coding/stacks/astro/pack.yaml +11 -0
  43. package/runtime/capabilities/coding/stacks/django/pack.yaml +11 -0
  44. package/runtime/capabilities/coding/stacks/dotnet/pack.yaml +11 -0
  45. package/runtime/capabilities/coding/stacks/express/pack.yaml +11 -0
  46. package/runtime/capabilities/coding/stacks/fastapi/pack.yaml +11 -0
  47. package/runtime/capabilities/coding/stacks/flask/pack.yaml +11 -0
  48. package/runtime/capabilities/coding/stacks/flutter/pack.yaml +11 -0
  49. package/runtime/capabilities/coding/stacks/go-web/pack.yaml +11 -0
  50. package/runtime/capabilities/coding/stacks/kotlin-android/pack.yaml +12 -0
  51. package/runtime/capabilities/coding/stacks/laravel/pack.yaml +11 -0
  52. package/runtime/capabilities/coding/stacks/nestjs/pack.yaml +11 -0
  53. package/runtime/capabilities/coding/stacks/nextjs/pack.yaml +13 -0
  54. package/runtime/capabilities/coding/stacks/node-cli/pack.yaml +11 -0
  55. package/runtime/capabilities/coding/stacks/node-library/pack.yaml +11 -0
  56. package/runtime/capabilities/coding/stacks/node-service/pack.yaml +11 -0
  57. package/runtime/capabilities/coding/stacks/rails/pack.yaml +12 -0
  58. package/runtime/capabilities/coding/stacks/react/pack.yaml +11 -0
  59. package/runtime/capabilities/coding/stacks/rust-web/pack.yaml +11 -0
  60. package/runtime/capabilities/coding/stacks/spring-boot/pack.yaml +12 -0
  61. package/runtime/capabilities/coding/stacks/svelte/pack.yaml +11 -0
  62. package/runtime/capabilities/coding/stacks/vue/pack.yaml +11 -0
  63. package/runtime/capabilities/security/skills/finding-normalizer/SKILL.md +6 -1
  64. package/runtime/capabilities/security/skills/finding-normalizer/assets/vocabulary.txt +7 -0
  65. package/runtime/hooks/agent-entry-gate.sh +10 -38
  66. package/runtime/hooks/agent-entry-prompt-gate.sh +69 -0
  67. package/runtime/hooks/lib/agent-entry-sentinel.sh +60 -0
  68. package/runtime/hooks/module-health-sync.sh +23 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # paqad-ai
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#82](https://github.com/Eliyce/paqad-ai/pull/82) [`f330595`](https://github.com/Eliyce/paqad-ai/commit/f330595d38c5e66afc54443daefe9e4f97a7ea68) Thanks [@HLasani](https://github.com/HLasani)! - Living module lifecycle: prospective decisions, retrospective reconciliation, test-driven health, dashboard drift checks (closes [#80](https://github.com/Eliyce/paqad-ai/issues/80))
8
+
9
+ ## 1.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#75](https://github.com/Eliyce/paqad-ai/pull/75) [`283d973`](https://github.com/Eliyce/paqad-ai/commit/283d9736621e7571013a377408a8ec6416b54df9) Thanks [@HLasani](https://github.com/HLasani)! - Gate every agent turn on the entry-file load, not just code-mutating tool
14
+ calls. Onboarded projects previously could answer read-only prompts (Q&A,
15
+ "what is this project", explanations) without loading `CLAUDE.md`,
16
+ `.paqad/framework-path.txt`, or `docs/instructions/{rules,stack,design-system}`
17
+ — the framework's rules and Decision Pause Contract silently never entered
18
+ context.
19
+
20
+ The Claude Code adapter now installs a `UserPromptSubmit` hook
21
+ (`runtime/hooks/agent-entry-prompt-gate.sh`) alongside the existing
22
+ `PreToolUse` hook. Both gates share sentinel-freshness logic via
23
+ `runtime/hooks/lib/agent-entry-sentinel.sh` so they cannot drift.
24
+
25
+ Soft mode (default): the hook prints a high-priority reminder on stdout; Claude
26
+ Code injects it into the model context before the turn is planned. Hard mode
27
+ (`PAQAD_AGENT_ENTRY_MODE=hard`): the hook exits non-zero and blocks the turn
28
+ until the sentinel is written.
29
+
30
+ Re-running onboarding / `paqad upgrade` refreshes the wiring in
31
+ `.claude/settings.json` idempotently. Resolves Eliyce/paqad-ai#74.
32
+
3
33
  ## 1.3.0
4
34
 
5
35
  ### Minor Changes