paqad-ai 1.0.1 → 1.0.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/CHANGELOG.md +9 -0
- package/LICENSE +1 -1
- package/README.md +52 -2
- package/dist/cli/index.js +3025 -484
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +126 -5
- package/dist/index.js +1781 -471
- package/dist/index.js.map +1 -1
- package/package.json +61 -17
- package/runtime/base/agents/adversarial-reviewer.md +15 -0
- package/runtime/base/agents/final-reviewer.md +9 -1
- package/runtime/base/agents/story-designer.md +45 -0
- package/runtime/base/agents/verifier.md +50 -1
- package/runtime/base/skills/acceptance-criteria-gen/SKILL.md +13 -8
- package/runtime/base/skills/acceptance-criteria-gen/assets/output.template.md +14 -0
- package/runtime/base/skills/acceptance-criteria-gen/scripts/extract-ac-ids.sh +25 -0
- package/runtime/base/skills/acceptance-criteria-gen/scripts/lint-ac-output.sh +67 -0
- package/runtime/base/skills/acceptance-criteria-gen/scripts/next-ac-id.sh +43 -0
- package/runtime/base/skills/adversarial-review/SKILL.md +11 -8
- package/runtime/base/skills/adversarial-review/assets/output.template.md +10 -0
- package/runtime/base/skills/adversarial-review/assets/severity-ranks.txt +4 -0
- package/runtime/base/skills/adversarial-review/scripts/digest-evidence.sh +48 -0
- package/runtime/base/skills/adversarial-review/scripts/lint-findings.sh +63 -0
- package/runtime/base/skills/api-doc-maintainer/SKILL.md +13 -8
- package/runtime/base/skills/api-doc-maintainer/assets/endpoint-entry.template.md +9 -0
- package/runtime/base/skills/api-doc-maintainer/assets/output.template.md +9 -0
- package/runtime/base/skills/api-doc-maintainer/scripts/find-api-docs.sh +24 -0
- package/runtime/base/skills/api-doc-maintainer/scripts/lint-output.sh +31 -0
- package/runtime/base/skills/canonical-doc-sync/SKILL.md +10 -8
- package/runtime/base/skills/canonical-doc-sync/assets/output.template.md +17 -0
- package/runtime/base/skills/canonical-doc-sync/scripts/lint-output.sh +38 -0
- package/runtime/base/skills/canonical-doc-sync/scripts/list-canonical-docs.sh +20 -0
- package/runtime/base/skills/context-budget-planner/SKILL.md +75 -0
- package/runtime/base/skills/context-budget-planner/agents/openai.yaml +3 -0
- package/runtime/base/skills/context-budget-planner/assets/output.template.md +16 -0
- package/runtime/base/skills/context-budget-planner/assets/weights.default.txt +7 -0
- package/runtime/base/skills/context-budget-planner/references/budget-heuristics.md +39 -0
- package/runtime/base/skills/context-budget-planner/scripts/estimate-tokens.sh +66 -0
- package/runtime/base/skills/context-budget-planner/scripts/lint-output.sh +27 -0
- package/runtime/base/skills/cross-module-impact-scanner/SKILL.md +86 -0
- package/runtime/base/skills/cross-module-impact-scanner/agents/openai.yaml +3 -0
- package/runtime/base/skills/cross-module-impact-scanner/assets/output.template.md +20 -0
- package/runtime/base/skills/cross-module-impact-scanner/assets/severity-rubric.txt +4 -0
- package/runtime/base/skills/cross-module-impact-scanner/references/impact-classification.md +34 -0
- package/runtime/base/skills/cross-module-impact-scanner/scripts/find-integration-docs.sh +15 -0
- package/runtime/base/skills/cross-module-impact-scanner/scripts/lint-output.sh +48 -0
- package/runtime/base/skills/cross-module-impact-scanner/scripts/list-modules.sh +15 -0
- package/runtime/base/skills/diff-doc-sync/SKILL.md +10 -11
- package/runtime/base/skills/diff-doc-sync/assets/output.template.json +1 -0
- package/runtime/base/skills/diff-doc-sync/scripts/detect-stale-docs.sh +39 -0
- package/runtime/base/skills/diff-doc-sync/scripts/lint-output.sh +35 -0
- package/runtime/base/skills/diff-minimizer/SKILL.md +81 -0
- package/runtime/base/skills/diff-minimizer/agents/openai.yaml +3 -0
- package/runtime/base/skills/diff-minimizer/assets/classifications.txt +4 -0
- package/runtime/base/skills/diff-minimizer/assets/output.template.md +22 -0
- package/runtime/base/skills/diff-minimizer/references/classification-guide.md +46 -0
- package/runtime/base/skills/diff-minimizer/scripts/extract-ac-ids.sh +11 -0
- package/runtime/base/skills/diff-minimizer/scripts/lint-output.sh +40 -0
- package/runtime/base/skills/documentation-sync-engine/SKILL.md +79 -0
- package/runtime/base/skills/documentation-sync-engine/agents/openai.yaml +3 -0
- package/runtime/base/skills/documentation-sync-engine/assets/output.template.md +28 -0
- package/runtime/base/skills/documentation-sync-engine/assets/routing-table.txt +5 -0
- package/runtime/base/skills/documentation-sync-engine/references/orchestration-rules.md +43 -0
- package/runtime/base/skills/documentation-sync-engine/scripts/lint-output.sh +40 -0
- package/runtime/base/skills/documentation-sync-engine/scripts/route-paths.sh +22 -0
- package/runtime/base/skills/documentation-workflow/SKILL.md +55 -17
- package/runtime/base/skills/documentation-workflow/assets/output.template.md +22 -0
- package/runtime/base/skills/documentation-workflow/assets/stage1-final-message.txt +2 -0
- package/runtime/base/skills/documentation-workflow/scripts/check-stage2-prereq.sh +15 -0
- package/runtime/base/skills/documentation-workflow/scripts/lint-output.sh +22 -0
- package/runtime/base/skills/documentation-workflow/scripts/list-orphan-module-dirs.sh +22 -0
- package/runtime/base/skills/edge-case-detection/SKILL.md +10 -7
- package/runtime/base/skills/edge-case-detection/assets/categories.txt +10 -0
- package/runtime/base/skills/edge-case-detection/assets/output.template.md +12 -0
- package/runtime/base/skills/edge-case-detection/scripts/lint-output.sh +34 -0
- package/runtime/base/skills/error-catalog-maintainer/SKILL.md +14 -8
- package/runtime/base/skills/error-catalog-maintainer/assets/entry.template.md +8 -0
- package/runtime/base/skills/error-catalog-maintainer/assets/output.template.md +7 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/extract-error-codes.sh +21 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/find-error-catalogs.sh +12 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/lint-output.sh +25 -0
- package/runtime/base/skills/existing-doc-checker/SKILL.md +11 -8
- package/runtime/base/skills/existing-doc-checker/assets/output.template.md +13 -0
- package/runtime/base/skills/existing-doc-checker/assets/scan-order.txt +8 -0
- package/runtime/base/skills/existing-doc-checker/scripts/lint-output.sh +22 -0
- package/runtime/base/skills/existing-doc-checker/scripts/scan-docs.sh +23 -0
- package/runtime/base/skills/glossary-maintainer/SKILL.md +11 -8
- package/runtime/base/skills/glossary-maintainer/assets/output.template.md +12 -0
- package/runtime/base/skills/glossary-maintainer/scripts/find-term-uses.sh +45 -0
- package/runtime/base/skills/glossary-maintainer/scripts/lint-output.sh +41 -0
- package/runtime/base/skills/integration-doc-maintainer/SKILL.md +14 -8
- package/runtime/base/skills/integration-doc-maintainer/assets/event.template.md +8 -0
- package/runtime/base/skills/integration-doc-maintainer/assets/output.template.md +11 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/extract-events.sh +20 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/find-integration-docs.sh +14 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/lint-output.sh +26 -0
- package/runtime/base/skills/performance-regression-estimator/SKILL.md +79 -0
- package/runtime/base/skills/performance-regression-estimator/agents/openai.yaml +3 -0
- package/runtime/base/skills/performance-regression-estimator/assets/output.template.md +18 -0
- package/runtime/base/skills/performance-regression-estimator/assets/severity-rubric.txt +3 -0
- package/runtime/base/skills/performance-regression-estimator/references/perf-hazards.md +35 -0
- package/runtime/base/skills/performance-regression-estimator/scripts/lint-output.sh +41 -0
- package/runtime/base/skills/performance-regression-estimator/scripts/scan-perf-smells.sh +36 -0
- package/runtime/base/skills/request-classifier/SKILL.md +11 -9
- package/runtime/base/skills/request-classifier/assets/dimensions.txt +8 -0
- package/runtime/base/skills/request-classifier/assets/output.template.md +14 -0
- package/runtime/base/skills/request-classifier/scripts/extract-signals.sh +55 -0
- package/runtime/base/skills/request-classifier/scripts/lint-output.sh +25 -0
- package/runtime/base/skills/requirement-enrichment/SKILL.md +11 -8
- package/runtime/base/skills/requirement-enrichment/assets/operational-checklist.txt +9 -0
- package/runtime/base/skills/requirement-enrichment/assets/output.template.md +12 -0
- package/runtime/base/skills/requirement-enrichment/scripts/lint-output.sh +34 -0
- package/runtime/base/skills/rollback-safety-planner/SKILL.md +77 -0
- package/runtime/base/skills/rollback-safety-planner/agents/openai.yaml +3 -0
- package/runtime/base/skills/rollback-safety-planner/assets/output.template.md +19 -0
- package/runtime/base/skills/rollback-safety-planner/assets/required-fields.txt +6 -0
- package/runtime/base/skills/rollback-safety-planner/references/rollback-procedure-template.md +31 -0
- package/runtime/base/skills/rollback-safety-planner/scripts/lint-output.sh +37 -0
- package/runtime/base/skills/rollback-safety-planner/scripts/select-stories.sh +30 -0
- package/runtime/base/skills/scope-check/SKILL.md +13 -8
- package/runtime/base/skills/scope-check/assets/decision-vocabulary.txt +3 -0
- package/runtime/base/skills/scope-check/assets/output.template.md +13 -0
- package/runtime/base/skills/scope-check/scripts/check-spec-presence.sh +20 -0
- package/runtime/base/skills/scope-check/scripts/lint-output.sh +29 -0
- package/runtime/base/skills/sequence-planner/SKILL.md +10 -8
- package/runtime/base/skills/sequence-planner/assets/order-rules.txt +7 -0
- package/runtime/base/skills/sequence-planner/assets/output.template.md +15 -0
- package/runtime/base/skills/sequence-planner/scripts/lint-output.sh +41 -0
- package/runtime/base/skills/session-resume/SKILL.md +10 -8
- package/runtime/base/skills/session-resume/assets/output.template.md +17 -0
- package/runtime/base/skills/session-resume/scripts/lint-output.sh +22 -0
- package/runtime/base/skills/session-resume/scripts/load-resume-bundle.sh +38 -0
- package/runtime/base/skills/spec-diff/SKILL.md +12 -8
- package/runtime/base/skills/spec-diff/assets/decision-vocabulary.txt +3 -0
- package/runtime/base/skills/spec-diff/assets/output.template.md +13 -0
- package/runtime/base/skills/spec-diff/scripts/extract-ac-ids.sh +14 -0
- package/runtime/base/skills/spec-diff/scripts/lint-output.sh +25 -0
- package/runtime/base/skills/spec-quality-review/SKILL.md +9 -5
- package/runtime/base/skills/spec-quality-review/assets/categories.txt +7 -0
- package/runtime/base/skills/spec-quality-review/assets/output.template.md +9 -0
- package/runtime/base/skills/spec-quality-review/scripts/lint-output.sh +21 -0
- package/runtime/base/skills/spec-quality-review/scripts/scan-defects.sh +39 -0
- package/runtime/base/skills/story-and-solution-writer/SKILL.md +5 -3
- package/runtime/base/skills/story-and-solution-writer/assets/output.template.md +21 -0
- package/runtime/base/skills/story-and-solution-writer/scripts/lint-output.sh +23 -0
- package/runtime/base/skills/test-execution-feedback-loop/SKILL.md +79 -0
- package/runtime/base/skills/test-execution-feedback-loop/agents/openai.yaml +3 -0
- package/runtime/base/skills/test-execution-feedback-loop/assets/output.template.md +19 -0
- package/runtime/base/skills/test-execution-feedback-loop/references/fix-proposal-template.md +33 -0
- package/runtime/base/skills/test-execution-feedback-loop/scripts/lint-output.sh +35 -0
- package/runtime/base/skills/test-execution-feedback-loop/scripts/load-failures.sh +45 -0
- package/runtime/base/skills/test-per-ac-planner/SKILL.md +16 -7
- package/runtime/base/skills/test-per-ac-planner/assets/output.template.md +13 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/check-coverage.sh +17 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/extract-ac-ids.sh +10 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/lint-output.sh +45 -0
- package/runtime/base/skills/workflow-router/SKILL.md +18 -9
- package/runtime/base/skills/workflow-router/assets/output.template.yaml +7 -0
- package/runtime/base/skills/workflow-router/assets/routing-rules.txt +61 -0
- package/runtime/base/skills/workflow-router/scripts/lint-output.sh +27 -0
- package/runtime/base/skills/workflow-router/scripts/route-request.sh +49 -0
- package/runtime/capabilities/coding/skills/database-design-review/SKILL.md +9 -5
- package/runtime/capabilities/coding/skills/database-design-review/assets/output.template.md +18 -0
- package/runtime/capabilities/coding/skills/database-design-review/assets/safe-migration-rules.txt +8 -0
- package/runtime/capabilities/coding/skills/database-design-review/scripts/lint-output.sh +25 -0
- package/runtime/capabilities/coding/skills/database-design-review/scripts/scan-migration-smells.sh +33 -0
- package/runtime/capabilities/coding/skills/index-optimization/SKILL.md +9 -5
- package/runtime/capabilities/coding/skills/index-optimization/assets/index-rules.txt +6 -0
- package/runtime/capabilities/coding/skills/index-optimization/assets/output.template.md +17 -0
- package/runtime/capabilities/coding/skills/index-optimization/scripts/lint-output.sh +22 -0
- package/runtime/capabilities/coding/skills/index-optimization/scripts/scan-query-shapes.sh +32 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/SKILL.md +9 -5
- package/runtime/capabilities/coding/skills/query-pattern-analysis/assets/output.template.md +17 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/assets/risk-rules.txt +8 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/scripts/lint-output.sh +22 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/scripts/scan-query-risks.sh +33 -0
- package/runtime/capabilities/coding/skills/root-cause-analysis/SKILL.md +6 -3
- package/runtime/capabilities/coding/skills/root-cause-analysis/assets/output.template.md +34 -0
- package/runtime/capabilities/coding/skills/root-cause-analysis/assets/section-order.txt +8 -0
- package/runtime/capabilities/coding/skills/root-cause-analysis/scripts/lint-output.sh +44 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/SKILL.md +9 -5
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/assets/component-entry.template.md +8 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/assets/output.template.md +10 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/scripts/find-ui-docs.sh +14 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/scripts/lint-output.sh +24 -0
- package/runtime/capabilities/coding/skills/user-flow-generation/SKILL.md +8 -5
- package/runtime/capabilities/coding/skills/user-flow-generation/assets/branch-categories.txt +6 -0
- package/runtime/capabilities/coding/skills/user-flow-generation/assets/output.template.md +24 -0
- package/runtime/capabilities/coding/skills/user-flow-generation/scripts/lint-output.sh +27 -0
- package/runtime/capabilities/coding/skills/ux-design-research/SKILL.md +6 -3
- package/runtime/capabilities/coding/skills/ux-design-research/assets/output.template.md +18 -0
- package/runtime/capabilities/coding/skills/ux-design-research/scripts/lint-output.sh +23 -0
- package/runtime/capabilities/coding/skills/ux-heuristic-evaluation/SKILL.md +8 -5
- package/runtime/capabilities/coding/skills/ux-heuristic-evaluation/assets/heuristics.txt +11 -0
- package/runtime/capabilities/coding/skills/ux-heuristic-evaluation/assets/output.template.md +11 -0
- package/runtime/capabilities/coding/skills/ux-heuristic-evaluation/scripts/lint-output.sh +23 -0
- package/runtime/capabilities/coding/skills/ux-state-machine/SKILL.md +8 -5
- package/runtime/capabilities/coding/skills/ux-state-machine/assets/canonical-states.txt +9 -0
- package/runtime/capabilities/coding/skills/ux-state-machine/assets/output.template.md +16 -0
- package/runtime/capabilities/coding/skills/ux-state-machine/scripts/lint-output.sh +25 -0
- package/runtime/capabilities/content/skills/content-planner/SKILL.md +33 -3
- package/runtime/capabilities/content/skills/content-planner/assets/brief.template.md +13 -0
- package/runtime/capabilities/content/skills/content-planner/references/planner-checklist.md +12 -0
- package/runtime/capabilities/content/skills/content-planner/scripts/lint-brief.sh +20 -0
- package/runtime/capabilities/content/skills/content-reviewer/SKILL.md +37 -3
- package/runtime/capabilities/content/skills/content-reviewer/assets/output.template.md +11 -0
- package/runtime/capabilities/content/skills/content-reviewer/references/review-rubric.md +12 -0
- package/runtime/capabilities/content/skills/content-reviewer/scripts/lint-output.sh +22 -0
- package/runtime/capabilities/content/skills/content-reviewer/scripts/scan-prose.sh +32 -0
- package/runtime/capabilities/content/skills/content-writer/SKILL.md +37 -4
- package/runtime/capabilities/content/skills/content-writer/assets/draft.template.md +19 -0
- package/runtime/capabilities/content/skills/content-writer/references/draft-checklist.md +11 -0
- package/runtime/capabilities/content/skills/content-writer/scripts/check-coverage.sh +32 -0
- package/runtime/capabilities/content/skills/content-writer/scripts/word-count.sh +18 -0
- package/runtime/capabilities/content/skills/script-writer/SKILL.md +32 -3
- package/runtime/capabilities/content/skills/script-writer/assets/script.template.md +23 -0
- package/runtime/capabilities/content/skills/script-writer/references/spoken-checklist.md +9 -0
- package/runtime/capabilities/content/skills/script-writer/scripts/estimate-runtime.sh +23 -0
- package/runtime/capabilities/content/skills/seo-optimizer/SKILL.md +35 -3
- package/runtime/capabilities/content/skills/seo-optimizer/assets/output.template.md +10 -0
- package/runtime/capabilities/content/skills/seo-optimizer/references/seo-checklist.md +12 -0
- package/runtime/capabilities/content/skills/seo-optimizer/scripts/audit-seo.sh +43 -0
- package/runtime/capabilities/content/skills/seo-optimizer/scripts/lint-output.sh +22 -0
- package/runtime/capabilities/content/skills/style-enforcer/SKILL.md +34 -3
- package/runtime/capabilities/content/skills/style-enforcer/assets/default-rules.txt +8 -0
- package/runtime/capabilities/content/skills/style-enforcer/assets/output.template.md +5 -0
- package/runtime/capabilities/content/skills/style-enforcer/references/style-source.md +12 -0
- package/runtime/capabilities/content/skills/style-enforcer/scripts/check-style.sh +52 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/SKILL.md +7 -3
- package/runtime/capabilities/security/skills/auth-mechanism-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/assets/wstg-mapping.txt +6 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/scripts/lint-findings.sh +35 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/scripts/scan-auth-smells.sh +36 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/SKILL.md +12 -8
- package/runtime/capabilities/security/skills/business-logic-abuse-review/assets/abuse-case-categories.txt +7 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/assets/output.template.md +15 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/scripts/find-workflow-docs.sh +26 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/scripts/lint-findings.sh +35 -0
- package/runtime/capabilities/security/skills/cryptographic-review/SKILL.md +7 -4
- package/runtime/capabilities/security/skills/cryptographic-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/cryptographic-review/assets/wstg-mapping.txt +7 -0
- package/runtime/capabilities/security/skills/cryptographic-review/scripts/lint-findings.sh +35 -0
- package/runtime/capabilities/security/skills/cryptographic-review/scripts/scan-crypto-smells.sh +33 -0
- package/runtime/capabilities/security/skills/dependency-advisory-triage/SKILL.md +9 -8
- package/runtime/capabilities/security/skills/dependency-advisory-triage/assets/output.template.md +11 -0
- package/runtime/capabilities/security/skills/dependency-advisory-triage/scripts/lint-output.sh +32 -0
- package/runtime/capabilities/security/skills/dependency-advisory-triage/scripts/normalize-advisories.sh +63 -0
- package/runtime/capabilities/security/skills/finding-normalizer/SKILL.md +10 -7
- package/runtime/capabilities/security/skills/finding-normalizer/assets/output.template.json +14 -0
- package/runtime/capabilities/security/skills/finding-normalizer/assets/vocabulary.txt +20 -0
- package/runtime/capabilities/security/skills/finding-normalizer/scripts/validate-findings.sh +40 -0
- package/runtime/capabilities/security/skills/input-validation-review/SKILL.md +6 -4
- package/runtime/capabilities/security/skills/input-validation-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/input-validation-review/assets/wstg-mapping.txt +10 -0
- package/runtime/capabilities/security/skills/input-validation-review/scripts/lint-findings.sh +30 -0
- package/runtime/capabilities/security/skills/input-validation-review/scripts/scan-injection-smells.sh +32 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/SKILL.md +6 -4
- package/runtime/capabilities/security/skills/logging-monitoring-review/assets/event-checklist.txt +7 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/scripts/lint-findings.sh +30 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/scripts/scan-log-smells.sh +28 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/SKILL.md +11 -8
- package/runtime/capabilities/security/skills/permission-boundary-review/assets/area-rubric.txt +6 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/scripts/lint-findings.sh +31 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/scripts/scan-authz-smells.sh +29 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/SKILL.md +6 -4
- package/runtime/capabilities/security/skills/rate-limiting-review/assets/category-rubric.txt +6 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/scripts/lint-findings.sh +31 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/scripts/scan-rate-limit.sh +31 -0
- package/runtime/capabilities/security/skills/retest-verification/SKILL.md +11 -8
- package/runtime/capabilities/security/skills/retest-verification/assets/output.template.md +14 -0
- package/runtime/capabilities/security/skills/retest-verification/assets/status-vocabulary.txt +3 -0
- package/runtime/capabilities/security/skills/retest-verification/scripts/lint-output.sh +37 -0
- package/runtime/capabilities/security/skills/retest-verification/scripts/load-source-findings.sh +32 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/SKILL.md +11 -8
- package/runtime/capabilities/security/skills/runtime-surface-probing/assets/output.template.md +8 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/assets/probe-paths.txt +32 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/scripts/lint-findings.sh +30 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/scripts/probe-surfaces.sh +33 -0
- package/runtime/capabilities/security/skills/stride-threat-model/SKILL.md +15 -13
- package/runtime/capabilities/security/skills/stride-threat-model/assets/output.template.json +9 -0
- package/runtime/capabilities/security/skills/stride-threat-model/assets/stride-prompts.txt +6 -0
- package/runtime/capabilities/security/skills/stride-threat-model/scripts/list-modules.sh +19 -0
- package/runtime/capabilities/security/skills/stride-threat-model/scripts/validate-threats.sh +41 -0
- package/runtime/graph-ui/assets/index-4b3KOlpT.js +361 -0
- package/runtime/graph-ui/assets/index-fx4nTJpK.css +1 -0
- package/runtime/graph-ui/assets/layout.worker-B_9N-hQJ.js +1 -0
- package/runtime/graph-ui/index.html +13 -0
- package/runtime/hooks/block-destructive.sh +0 -0
- package/runtime/hooks/context-budget-check.sh +0 -0
- package/runtime/hooks/context-hit-tracker.sh +0 -0
- package/runtime/hooks/conversation-summarize.sh +0 -0
- package/runtime/hooks/module-health-sync.sh +0 -0
- package/runtime/hooks/post-destructive-approved.sh +0 -0
- package/runtime/hooks/pre-commit-check.sh +0 -0
- package/runtime/hooks/pre-compact-preserve.mjs +0 -0
- package/runtime/hooks/pre-compact-preserve.sh +0 -0
- package/runtime/hooks/pre-migrate-check.sh +0 -0
- package/runtime/hooks/pre-write-check-spec.sh +0 -0
- package/runtime/hooks/reset-doc-progress.sh +0 -0
- package/runtime/hooks/silent-update.sh +0 -0
- package/runtime/hooks/skill-cache-check.sh +0 -0
- package/runtime/hooks/skill-index-gen.mjs +0 -0
- package/runtime/hooks/stale-doc-detector.sh +0 -0
- package/runtime/hooks/track-file-changes.sh +0 -0
- package/scripts/deprecate-old-versions.sh +0 -55
- package/scripts/run-vitest-with-summary.mjs +0 -78
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# paqad-ai
|
|
2
|
+
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#15](https://github.com/Eliyce/paqad-ai/pull/15) [`99b1e5b`](https://github.com/Eliyce/paqad-ai/commit/99b1e5b18f42634006f88e16c7eb2fc7091d3f43) Thanks [@HLasani](https://github.com/HLasani)! - First automated release via Changesets + GitHub Actions. No runtime change — this release exists only to validate the new publish pipeline (CI gating, version PR, npm provenance).
|
|
8
|
+
|
|
9
|
+
All notable changes to this project will be documented in this file. See [Changesets](https://github.com/changesets/changesets) for commit guidelines.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
**AI agents that think before they type.** paqad-ai reads your codebase, detects your stack, builds optional hybrid RAG context, and generates the docs, rules, MCP configs, security checks, and workflows your coding agents need to operate with real project context.
|
|
11
11
|
|
|
12
|
-
[](https://npmjs.com/package/paqad-ai)
|
|
12
|
+
[](https://www.npmjs.com/package/paqad-ai)
|
|
13
|
+
[](https://www.npmjs.com/package/paqad-ai)
|
|
14
|
+
[](https://github.com/Eliyce/paqad-ai/actions/workflows/ci.yml)
|
|
15
|
+
[](./LICENSE)
|
|
16
|
+
[](https://nodejs.org)
|
|
17
|
+
[](./CONTRIBUTING.md)
|
|
18
|
+
[](https://paqad.ai)
|
|
19
|
+
[](https://paqad.ai)
|
|
13
20
|
|
|
14
21
|
---
|
|
15
22
|
|
|
@@ -62,6 +69,7 @@ npx paqad-ai onboard
|
|
|
62
69
|
| **Stack detection** | Lockfile-driven framework, trait, and archetype detection across 9 ecosystems |
|
|
63
70
|
| **Documentation** | Stack, architecture, design-system, registry, and module documentation flows |
|
|
64
71
|
| **Hybrid RAG** | Optional vector indexing, hybrid retrieval, reranking, evals, and benchmarks |
|
|
72
|
+
| **Project graph** | One-command WebGL map of modules, files, chunks, symbols, imports, and similarities |
|
|
65
73
|
| **Security** | OWASP-mapped pentest workflow with incremental retests |
|
|
66
74
|
| **Spec compliance** | Obligation extraction, test evidence checks, and failing skeleton generation |
|
|
67
75
|
| **Built-in agent roles** | 20 internal specialist roles for routing, review, design, verification, and security |
|
|
@@ -480,6 +488,30 @@ paqad-ai rag eval --model-graded # Also run the optional model-graded
|
|
|
480
488
|
|
|
481
489
|
Benchmark comparisons support `lexical-vs-rag`, `rag-vs-candidate`, and `feature-off-vs-on`.
|
|
482
490
|
|
|
491
|
+
### `paqad-ai graph`
|
|
492
|
+
|
|
493
|
+
Open an interactive WebGL map of your project in the browser. One command, no extra install — the server, frontend, and Force Atlas 2 layout worker all ship inside `paqad-ai`.
|
|
494
|
+
|
|
495
|
+
```bash
|
|
496
|
+
paqad-ai graph # Opens http://127.0.0.1:5371 in your browser
|
|
497
|
+
paqad-ai graph --no-open # Print the URL and skip auto-open
|
|
498
|
+
paqad-ai graph --port 8080 # Custom port (auto-increments if busy)
|
|
499
|
+
paqad-ai graph --host 0.0.0.0 # Share on a trusted network (loopback by default)
|
|
500
|
+
paqad-ai graph --threshold 0.85 # Initial similarity threshold
|
|
501
|
+
paqad-ai graph --no-watch # Disable live reload on .paqad/ changes
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**What you get:**
|
|
505
|
+
|
|
506
|
+
- Modules, files, chunks, symbols, and the full import graph rendered together as one explorable map
|
|
507
|
+
- Click-through detail panel: module file lists, file `imports_in` / `imports_out`, chunk content with show-more, symbol metadata
|
|
508
|
+
- Search across modules, files, symbols, and file basenames — `/` to focus, `n` / `N` to cycle matches; the camera pans to each hit
|
|
509
|
+
- Similarity slider — adjust the cosine threshold and watch the orange semantic-neighbour edges redraw on demand. Works with `local`, `openai`, and `voyageai` embeddings.
|
|
510
|
+
- Four intelligence overlays — health, defect density (log-scaled), risk floor, complexity correction — with a persistent legend
|
|
511
|
+
- Live reload — change anything under `.paqad/` and the graph updates in place while preserving viewport and selection
|
|
512
|
+
|
|
513
|
+
**Pre-conditions:** the current directory must contain a `.paqad/` from a previous `paqad-ai onboard`. RAG is optional — without it the graph still renders fully, with similarity and chunk nodes disabled behind a clear banner.
|
|
514
|
+
|
|
483
515
|
### Security workflows
|
|
484
516
|
|
|
485
517
|
Security and retest flows are part of the framework runtime and agent workflows in this package version. They are not exposed as standalone top-level CLI commands in `paqad-ai` today.
|
|
@@ -492,6 +524,23 @@ paqad-ai patterns prune [--older-than <days>]
|
|
|
492
524
|
paqad-ai patterns export <output> [--format json|markdown]
|
|
493
525
|
```
|
|
494
526
|
|
|
527
|
+
### `paqad-ai plan`
|
|
528
|
+
|
|
529
|
+
Resumable execution of structured planning manifests. Picks up at the last incomplete slice.
|
|
530
|
+
|
|
531
|
+
```bash
|
|
532
|
+
paqad-ai plan resume <slug>
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
### `paqad-ai module-health`
|
|
536
|
+
|
|
537
|
+
Maintains the module health ledger. `sync` ingests pending provider evidence into the module profile; `record` writes a normalized evidence entry directly.
|
|
538
|
+
|
|
539
|
+
```bash
|
|
540
|
+
paqad-ai module-health sync
|
|
541
|
+
paqad-ai module-health record
|
|
542
|
+
```
|
|
543
|
+
|
|
495
544
|
---
|
|
496
545
|
|
|
497
546
|
## What paqad-ai manages
|
|
@@ -557,6 +606,7 @@ Entry files stay thin. Knowledge lives in shared instruction bundles that extern
|
|
|
557
606
|
| **Refresh** | `paqad-ai refresh` | Re-detect stack, update derived docs |
|
|
558
607
|
| **Update** | `paqad-ai update` | Regenerate framework files after version bump |
|
|
559
608
|
| **RAG** | `paqad-ai rag ...` | Build, inspect, clear, and benchmark hybrid retrieval |
|
|
609
|
+
| **Project graph** | `paqad-ai graph` | Interactive browser view of modules, files, chunks, deps |
|
|
560
610
|
| **Documentation** | Ask agent: _"create documentation"_ | Stack → architecture → design system → modules |
|
|
561
611
|
| **Pentest** | Ask agent: _"run pentest"_ | 5-step scan → findings → report |
|
|
562
612
|
| **Retest** | Ask agent: _"retest pentest"_ | Replay findings → fixed / still-open / needs-verification |
|
|
@@ -571,7 +621,7 @@ Entry files stay thin. Knowledge lives in shared instruction bundles that extern
|
|
|
571
621
|
|
|
572
622
|
| Requirement | Version |
|
|
573
623
|
| ----------- | ----------------------------- |
|
|
574
|
-
| **Node.js** | `≥
|
|
624
|
+
| **Node.js** | `≥ 22` (pinned via `.nvmrc`) |
|
|
575
625
|
| **pnpm** | `10+` (for local development) |
|
|
576
626
|
|
|
577
627
|
---
|