tailtrail 1.0.0__tar.gz
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.
- tailtrail-1.0.0/.claude/commands/tailtrail-start.md +34 -0
- tailtrail-1.0.0/.codex-plugin/plugin.json +14 -0
- tailtrail-1.0.0/.cursor/rules/tailtrail.mdc +49 -0
- tailtrail-1.0.0/.github/prompts/tailtrail-start.prompt.md +102 -0
- tailtrail-1.0.0/.openai/chatgpt-instructions.md +42 -0
- tailtrail-1.0.0/AGENTS.md +49 -0
- tailtrail-1.0.0/AIDLC.md +203 -0
- tailtrail-1.0.0/ARCHITECTURE.md +194 -0
- tailtrail-1.0.0/ASSISTANT-COMPATIBILITY.md +93 -0
- tailtrail-1.0.0/CLAUDE.md +47 -0
- tailtrail-1.0.0/COMPLETE-END-TO-END-WORKFLOW.md +657 -0
- tailtrail-1.0.0/DEPENDENCY-GATE.md +44 -0
- tailtrail-1.0.0/EVALUATION-HARNESS.md +2352 -0
- tailtrail-1.0.0/GOVERNANCE.md +40 -0
- tailtrail-1.0.0/GUARDRAILS.md +175 -0
- tailtrail-1.0.0/HOST-ADAPTERS.md +228 -0
- tailtrail-1.0.0/INSTALL.md +246 -0
- tailtrail-1.0.0/INSTALLER-LIFECYCLE.md +89 -0
- tailtrail-1.0.0/LICENSE +64 -0
- tailtrail-1.0.0/MANIFEST.in +85 -0
- tailtrail-1.0.0/MCP-SERVER.md +301 -0
- tailtrail-1.0.0/NAVIGATOR-FALSE-STOP-REMEDIATION-PLAN.md +979 -0
- tailtrail-1.0.0/NOTICE.md +10 -0
- tailtrail-1.0.0/PACKAGE-CONTRACT.md +73 -0
- tailtrail-1.0.0/PKG-INFO +236 -0
- tailtrail-1.0.0/PRODUCT-MATURITY-IMPROVEMENT-PLAN.md +1674 -0
- tailtrail-1.0.0/PUBLIC-CLAIMS.md +134 -0
- tailtrail-1.0.0/README.md +224 -0
- tailtrail-1.0.0/REPOSITORY-ENFORCEMENT.md +88 -0
- tailtrail-1.0.0/ROADMAP.md +11920 -0
- tailtrail-1.0.0/SECURITY.md +79 -0
- tailtrail-1.0.0/SUPPLY-CHAIN.md +78 -0
- tailtrail-1.0.0/SUPPORT.md +162 -0
- tailtrail-1.0.0/TAILTRAIL-COMMANDS.md +2950 -0
- tailtrail-1.0.0/TAILTRAIL-STOP-RESUME-CONTROL-IMPLEMENTATION-PLAN.md +664 -0
- tailtrail-1.0.0/USER-GUIDE.md +3327 -0
- tailtrail-1.0.0/VERSIONING.md +93 -0
- tailtrail-1.0.0/adapters/README.md +85 -0
- tailtrail-1.0.0/adapters/chatgpt-instructions.md +42 -0
- tailtrail-1.0.0/adapters/claude.md +47 -0
- tailtrail-1.0.0/adapters/copilot-instructions.md +48 -0
- tailtrail-1.0.0/adapters/cursor.mdc +49 -0
- tailtrail-1.0.0/adapters/gemini.md +42 -0
- tailtrail-1.0.0/adapters/generated/claude-v1.md +147 -0
- tailtrail-1.0.0/adapters/generated/codex-v1.md +147 -0
- tailtrail-1.0.0/adapters/generated/copilot-v1.md +147 -0
- tailtrail-1.0.0/adapters/host-compatibility-v1.json +101 -0
- tailtrail-1.0.0/adapters/navigator-host-reasoning-scenarios-v1.json +48 -0
- tailtrail-1.0.0/adapters/navigator-scope-scenarios-v2.json +62 -0
- tailtrail-1.0.0/adapters/official-aidlc-field-ownership-v1.json +50 -0
- tailtrail-1.0.0/adapters/prompts/chatgpt.md +44 -0
- tailtrail-1.0.0/adapters/prompts/claude.md +57 -0
- tailtrail-1.0.0/adapters/prompts/codex.md +59 -0
- tailtrail-1.0.0/adapters/prompts/copilot.md +57 -0
- tailtrail-1.0.0/adapters/prompts/cursor.md +44 -0
- tailtrail-1.0.0/adapters/prompts/gemini.md +44 -0
- tailtrail-1.0.0/adapters/requirement-routing-scenarios-v1.json +64 -0
- tailtrail-1.0.0/adapters/runtime-scenarios-v1.json +50 -0
- tailtrail-1.0.0/aidlc/extensions/security-baseline.md +17 -0
- tailtrail-1.0.0/aidlc/extensions/testing-baseline.md +15 -0
- tailtrail-1.0.0/aidlc/stages/README.md +21 -0
- tailtrail-1.0.0/aidlc/stages/build-test.md +24 -0
- tailtrail-1.0.0/aidlc/stages/design.md +31 -0
- tailtrail-1.0.0/aidlc/stages/handoff.md +30 -0
- tailtrail-1.0.0/aidlc/stages/implementation.md +25 -0
- tailtrail-1.0.0/aidlc/stages/operations.md +30 -0
- tailtrail-1.0.0/aidlc/stages/requirements.md +39 -0
- tailtrail-1.0.0/aidlc/stages/reverse-engineering.md +31 -0
- tailtrail-1.0.0/aidlc/stages/workflow-planning.md +25 -0
- tailtrail-1.0.0/aidlc/stages/workspace-detection.md +32 -0
- tailtrail-1.0.0/aidlc-docs/aidlc-state.md +410 -0
- tailtrail-1.0.0/aidlc-docs/aidlc-upstream-improvement-plan.md +198 -0
- tailtrail-1.0.0/aidlc-docs/audit.md +99 -0
- tailtrail-1.0.0/aidlc-docs/dry-run-evidence-log.md +80 -0
- tailtrail-1.0.0/aidlc-docs/implementation-plan.md +19 -0
- tailtrail-1.0.0/aidlc-docs/navigator-generic-graph-packet-implementation-plan.md +427 -0
- tailtrail-1.0.0/aidlc-docs/phase-e0-design.md +94 -0
- tailtrail-1.0.0/aidlc-docs/phase-e0-requirements.md +70 -0
- tailtrail-1.0.0/aidlc-docs/phase-e1-design.md +61 -0
- tailtrail-1.0.0/aidlc-docs/phase-e1-requirements.md +78 -0
- tailtrail-1.0.0/aidlc-docs/phase-e2-design.md +49 -0
- tailtrail-1.0.0/aidlc-docs/phase-e2-requirements.md +44 -0
- tailtrail-1.0.0/aidlc-docs/phase-e3-design.md +38 -0
- tailtrail-1.0.0/aidlc-docs/phase-e3-requirements.md +50 -0
- tailtrail-1.0.0/aidlc-docs/phase-e4-design.md +42 -0
- tailtrail-1.0.0/aidlc-docs/phase-e4-requirements.md +34 -0
- tailtrail-1.0.0/aidlc-docs/phase-e5-dependency-decision.md +10 -0
- tailtrail-1.0.0/aidlc-docs/phase-e5-design.md +5 -0
- tailtrail-1.0.0/aidlc-docs/phase-e5-requirements.md +11 -0
- tailtrail-1.0.0/aidlc-docs/phase-e6-design.md +7 -0
- tailtrail-1.0.0/aidlc-docs/phase-e6-requirements.md +11 -0
- tailtrail-1.0.0/aidlc-docs/phase-installation-experience-design.md +38 -0
- tailtrail-1.0.0/aidlc-docs/phase-installation-experience-requirements.md +38 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-7-design.md +23 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-7-requirements.md +23 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l0-design.md +54 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l0-requirements.md +44 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l1-design.md +55 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l1-requirements.md +41 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l2-design.md +39 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l2-requirements.md +25 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l3-design.md +101 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l3-requirements.md +60 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l4-design.md +30 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l4-requirements.md +16 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l5-design.md +25 -0
- tailtrail-1.0.0/aidlc-docs/phase-pm-l5-requirements.md +20 -0
- tailtrail-1.0.0/aidlc-docs/phase10-requirements.md +20 -0
- tailtrail-1.0.0/aidlc-docs/phase10-threat-model.md +50 -0
- tailtrail-1.0.0/aidlc-docs/phase11-release-design.md +19 -0
- tailtrail-1.0.0/aidlc-docs/phase11-requirements.md +19 -0
- tailtrail-1.0.0/aidlc-docs/phase12-enterprise-design.md +28 -0
- tailtrail-1.0.0/aidlc-docs/phase12-requirements.md +29 -0
- tailtrail-1.0.0/aidlc-docs/requirements.md +12 -0
- tailtrail-1.0.0/aidlc-docs/session-work-phases.md +129 -0
- tailtrail-1.0.0/aidlc-docs/validation-handoff.md +65 -0
- tailtrail-1.0.0/aidlc-docs/workflow-plan.md +12 -0
- tailtrail-1.0.0/benchmarks/enterprise-conformance/v1.json +27 -0
- tailtrail-1.0.0/benchmarks/evaluation/adoption/v1.json +87 -0
- tailtrail-1.0.0/benchmarks/evaluation/learning-calibration/v1.json +80 -0
- tailtrail-1.0.0/benchmarks/evaluation/navigator-scope/fsr6-v1.json +103 -0
- tailtrail-1.0.0/benchmarks/evaluation/navigator-scope/installed-release-v1.json +63 -0
- tailtrail-1.0.0/benchmarks/evaluation/navigator-scope/language-profiles-v1.json +106 -0
- tailtrail-1.0.0/benchmarks/evaluation/navigator-scope/release-v1.json +53 -0
- tailtrail-1.0.0/benchmarks/evaluation/navigator-scope/v1.json +520 -0
- tailtrail-1.0.0/benchmarks/evaluation/real-portfolio/v1.json +25 -0
- tailtrail-1.0.0/benchmarks/product-maturity/pm-l2-retrieval-fixtures-v1.json +48 -0
- tailtrail-1.0.0/benchmarks/product-maturity/pm0-scenarios-v1.json +62 -0
- tailtrail-1.0.0/benchmarks/product-maturity/presentation-v1/closure-report.json +12 -0
- tailtrail-1.0.0/benchmarks/product-maturity/presentation-v1/debug-report.json +13 -0
- tailtrail-1.0.0/benchmarks/product-maturity/presentation-v1/plan-report.json +15 -0
- tailtrail-1.0.0/context/TailTrail.map.md +29 -0
- tailtrail-1.0.0/context/cache-index.md +18 -0
- tailtrail-1.0.0/context/change-impact.md +29 -0
- tailtrail-1.0.0/context/code-graph-mapper.md +180 -0
- tailtrail-1.0.0/context/compression-policy.md +43 -0
- tailtrail-1.0.0/context/cross-repo-reference.md +77 -0
- tailtrail-1.0.0/context/flow-catalog.md +36 -0
- tailtrail-1.0.0/context/graph-aware-learning.md +40 -0
- tailtrail-1.0.0/context/guardrail-layers.md +148 -0
- tailtrail-1.0.0/context/intent-aliases.md +91 -0
- tailtrail-1.0.0/context/learning-agent.md +110 -0
- tailtrail-1.0.0/context/learning-refresh.md +42 -0
- tailtrail-1.0.0/context/navigator.md +450 -0
- tailtrail-1.0.0/context/project-map.md +55 -0
- tailtrail-1.0.0/context/prune-rules.md +34 -0
- tailtrail-1.0.0/context/quality-loop.md +72 -0
- tailtrail-1.0.0/context/review-lenses.md +23 -0
- tailtrail-1.0.0/context/slices.md +194 -0
- tailtrail-1.0.0/context/token-router.md +169 -0
- tailtrail-1.0.0/docs/arch/code-graphing.md +750 -0
- tailtrail-1.0.0/docs/arch/drift-analysis-implementation.md +327 -0
- tailtrail-1.0.0/docs/arch/navigator-pipeline-orchestration.md +81 -0
- tailtrail-1.0.0/docs/arch/navigator_aidlc_improvements.md +1328 -0
- tailtrail-1.0.0/docs/arch/sequential-worker-pipeline.md +88 -0
- tailtrail-1.0.0/docs/hosts/claude.md +29 -0
- tailtrail-1.0.0/docs/hosts/codex.md +28 -0
- tailtrail-1.0.0/docs/hosts/copilot.md +28 -0
- tailtrail-1.0.0/docs/workflow-enterprise-adapter.md +44 -0
- tailtrail-1.0.0/docs/workflow-release-migration.md +25 -0
- tailtrail-1.0.0/enterprise-closure-registry.json +1665 -0
- tailtrail-1.0.0/enterprise-closure-registry.schema.json +160 -0
- tailtrail-1.0.0/examples/native-date-field.md +20 -0
- tailtrail-1.0.0/examples/preserve-guard.md +27 -0
- tailtrail-1.0.0/examples/shared-bug-fix.md +21 -0
- tailtrail-1.0.0/examples/stdlib-csv.md +24 -0
- tailtrail-1.0.0/examples/tailtrail-test-lab/DEMO-PLAYBOOK.md +60 -0
- tailtrail-1.0.0/examples/tailtrail-test-lab/FEATURE-COVERAGE-MATRIX.md +45 -0
- tailtrail-1.0.0/examples/tailtrail-test-lab/TAILTRAIL-DEMO-PROMPTS.md +825 -0
- tailtrail-1.0.0/examples/tailtrail-test-lab/tailtrail-meta/code-graph-cache.json +1038 -0
- tailtrail-1.0.0/examples/tailtrail-test-lab/test_demo_assets.py +176 -0
- tailtrail-1.0.0/hooks/README.md +72 -0
- tailtrail-1.0.0/hooks/guard-advisory-hook.py +57 -0
- tailtrail-1.0.0/hooks/learning-capture-hook.py +276 -0
- tailtrail-1.0.0/hooks/tailtrail-lifecycle-hook.py +166 -0
- tailtrail-1.0.0/hooks/token-autopilot-hook.py +56 -0
- tailtrail-1.0.0/hooks/token-router-hook.py +54 -0
- tailtrail-1.0.0/package-manifest.json +281 -0
- tailtrail-1.0.0/package-manifest.schema.json +20 -0
- tailtrail-1.0.0/platform-release-contract.json +38 -0
- tailtrail-1.0.0/pyproject.toml +38 -0
- tailtrail-1.0.0/release-build-lock.json +12 -0
- tailtrail-1.0.0/release-channel-v1.json +15 -0
- tailtrail-1.0.0/release-manifest.json +458 -0
- tailtrail-1.0.0/release-manifest.schema.json +92 -0
- tailtrail-1.0.0/schemas/adoption-improvement-decision.schema.json +29 -0
- tailtrail-1.0.0/schemas/adoption-validation-catalog.schema.json +54 -0
- tailtrail-1.0.0/schemas/adoption-validation-report.schema.json +50 -0
- tailtrail-1.0.0/schemas/adoption-validation-trial.schema.json +39 -0
- tailtrail-1.0.0/schemas/architecture-fitness.schema.json +1 -0
- tailtrail-1.0.0/schemas/behavior-harness.schema.json +1 -0
- tailtrail-1.0.0/schemas/canonical-requirement-set.schema.json +38 -0
- tailtrail-1.0.0/schemas/change-intent-anchor.schema.json +18 -0
- tailtrail-1.0.0/schemas/closure-correction.schema.json +23 -0
- tailtrail-1.0.0/schemas/closure-evaluation.schema.json +1 -0
- tailtrail-1.0.0/schemas/closure-finalizer.schema.json +25 -0
- tailtrail-1.0.0/schemas/closure-positive-learning.schema.json +1 -0
- tailtrail-1.0.0/schemas/closure-record.schema.json +23 -0
- tailtrail-1.0.0/schemas/completion-report.schema.json +65 -0
- tailtrail-1.0.0/schemas/context-continuity-advisory.schema.json +1 -0
- tailtrail-1.0.0/schemas/context-continuity-calibration.schema.json +1 -0
- tailtrail-1.0.0/schemas/context-continuity-intervention.schema.json +1 -0
- tailtrail-1.0.0/schemas/context-continuity-policy.schema.json +1 -0
- tailtrail-1.0.0/schemas/context-continuity-selector-policy.schema.json +1 -0
- tailtrail-1.0.0/schemas/context-continuity-state.schema.json +1 -0
- tailtrail-1.0.0/schemas/debug-completion-report.schema.json +40 -0
- tailtrail-1.0.0/schemas/debug-correction-packet.schema.json +69 -0
- tailtrail-1.0.0/schemas/debug-evaluation-report.schema.json +18 -0
- tailtrail-1.0.0/schemas/debug-experiment-proposal.schema.json +22 -0
- tailtrail-1.0.0/schemas/debug-experiment.schema.json +24 -0
- tailtrail-1.0.0/schemas/debug-governance.schema.json +18 -0
- tailtrail-1.0.0/schemas/debug-harness-convergence.schema.json +21 -0
- tailtrail-1.0.0/schemas/debug-host-diagnosis.schema.json +205 -0
- tailtrail-1.0.0/schemas/debug-hypothesis-ranking.schema.json +31 -0
- tailtrail-1.0.0/schemas/debug-intake.schema.json +36 -0
- tailtrail-1.0.0/schemas/debug-investigation-handoff.schema.json +40 -0
- tailtrail-1.0.0/schemas/debug-orientation.schema.json +53 -0
- tailtrail-1.0.0/schemas/debug-preflight.schema.json +112 -0
- tailtrail-1.0.0/schemas/debug-release-gate.schema.json +19 -0
- tailtrail-1.0.0/schemas/debug-reproduction-attempt-status.schema.json +99 -0
- tailtrail-1.0.0/schemas/debug-reproduction-attempt.schema.json +41 -0
- tailtrail-1.0.0/schemas/debug-reproduction-contract.schema.json +38 -0
- tailtrail-1.0.0/schemas/dependency-decision.schema.json +16 -0
- tailtrail-1.0.0/schemas/enterprise-conformance-report.schema.json +19 -0
- tailtrail-1.0.0/schemas/enterprise-target-policy.schema.json +17 -0
- tailtrail-1.0.0/schemas/evaluation-delivery-dataset.schema.json +1 -0
- tailtrail-1.0.0/schemas/evaluation-harness-event.schema.json +82 -0
- tailtrail-1.0.0/schemas/execution-evidence.schema.json +29 -0
- tailtrail-1.0.0/schemas/execution-failure.schema.json +101 -0
- tailtrail-1.0.0/schemas/execution-receipt.schema.json +42 -0
- tailtrail-1.0.0/schemas/failure-fingerprint.schema.json +21 -0
- tailtrail-1.0.0/schemas/git-readiness.schema.json +14 -0
- tailtrail-1.0.0/schemas/harness-checkpoint.schema.json +1 -0
- tailtrail-1.0.0/schemas/harness-control.schema.json +1 -0
- tailtrail-1.0.0/schemas/harness-convergence.schema.json +1 -0
- tailtrail-1.0.0/schemas/harness-result.schema.json +1 -0
- tailtrail-1.0.0/schemas/harness-template-selection.schema.json +1 -0
- tailtrail-1.0.0/schemas/host-adapter-contract.schema.json +35 -0
- tailtrail-1.0.0/schemas/host-decision.schema.json +31 -0
- tailtrail-1.0.0/schemas/host-requirement-routing-conformance.schema.json +42 -0
- tailtrail-1.0.0/schemas/host-runtime-receipt.schema.json +40 -0
- tailtrail-1.0.0/schemas/host-scope-conformance.schema.json +38 -0
- tailtrail-1.0.0/schemas/host-scope-reasoning-conformance.schema.json +32 -0
- tailtrail-1.0.0/schemas/host-workspace-resolution.schema.json +17 -0
- tailtrail-1.0.0/schemas/hypothesis-ledger.schema.json +54 -0
- tailtrail-1.0.0/schemas/input-role-registry.schema.json +30 -0
- tailtrail-1.0.0/schemas/install-journal-event.schema.json +14 -0
- tailtrail-1.0.0/schemas/install-ownership-manifest.schema.json +36 -0
- tailtrail-1.0.0/schemas/install-plan.schema.json +36 -0
- tailtrail-1.0.0/schemas/intent-envelope.schema.json +79 -0
- tailtrail-1.0.0/schemas/learning-calibration-catalog.schema.json +78 -0
- tailtrail-1.0.0/schemas/learning-calibration-projection.schema.json +16 -0
- tailtrail-1.0.0/schemas/learning-calibration-report.schema.json +32 -0
- tailtrail-1.0.0/schemas/learning-governance-event.schema.json +32 -0
- tailtrail-1.0.0/schemas/learning-use-proposal.schema.json +81 -0
- tailtrail-1.0.0/schemas/learning-use-receipt-event.schema.json +142 -0
- tailtrail-1.0.0/schemas/learning-v3-record.schema.json +122 -0
- tailtrail-1.0.0/schemas/maintainability-baseline.schema.json +19 -0
- tailtrail-1.0.0/schemas/maintainability-harness.schema.json +22 -0
- tailtrail-1.0.0/schemas/maintainability-inventory.schema.json +17 -0
- tailtrail-1.0.0/schemas/navigator-graph-lifecycle.schema.json +44 -0
- tailtrail-1.0.0/schemas/navigator-host-scope-packet-v2.schema.json +131 -0
- tailtrail-1.0.0/schemas/navigator-host-scope-proposal.schema.json +124 -0
- tailtrail-1.0.0/schemas/navigator-installed-release-proof.schema.json +207 -0
- tailtrail-1.0.0/schemas/navigator-run-mapping-index.schema.json +33 -0
- tailtrail-1.0.0/schemas/navigator-scope-baseline.schema.json +223 -0
- tailtrail-1.0.0/schemas/navigator-scope-calibration-catalog.schema.json +115 -0
- tailtrail-1.0.0/schemas/navigator-scope-calibration-report.schema.json +149 -0
- tailtrail-1.0.0/schemas/navigator-scope-evidence.schema.json +359 -0
- tailtrail-1.0.0/schemas/navigator-scope-migration-report.schema.json +51 -0
- tailtrail-1.0.0/schemas/navigator-scope-quality.schema.json +83 -0
- tailtrail-1.0.0/schemas/navigator-scope-release-policy.schema.json +26 -0
- tailtrail-1.0.0/schemas/navigator-scope-release-proof.schema.json +50 -0
- tailtrail-1.0.0/schemas/official-aidlc-bridge.schema.json +25 -0
- tailtrail-1.0.0/schemas/official-aidlc-pack.schema.json +40 -0
- tailtrail-1.0.0/schemas/official-aidlc-run-state.schema.json +23 -0
- tailtrail-1.0.0/schemas/official-aidlc-sanitized-reference.schema.json +17 -0
- tailtrail-1.0.0/schemas/official-aidlc-session.schema.json +30 -0
- tailtrail-1.0.0/schemas/official-aidlc-transition-receipt.schema.json +33 -0
- tailtrail-1.0.0/schemas/orchestrated-question-set.schema.json +46 -0
- tailtrail-1.0.0/schemas/planning-aidlc-mode-switch.schema.json +19 -0
- tailtrail-1.0.0/schemas/planning-authority-route.schema.json +26 -0
- tailtrail-1.0.0/schemas/planning-conversation.schema.json +37 -0
- tailtrail-1.0.0/schemas/planning-investigation.schema.json +38 -0
- tailtrail-1.0.0/schemas/planning-lock.schema.json +24 -0
- tailtrail-1.0.0/schemas/planning-revision.schema.json +27 -0
- tailtrail-1.0.0/schemas/platform-qualification-receipt.schema.json +53 -0
- tailtrail-1.0.0/schemas/presentation-report.schema.json +31 -0
- tailtrail-1.0.0/schemas/product-maturity-baseline.schema.json +43 -0
- tailtrail-1.0.0/schemas/product-maturity-learning-inventory.schema.json +109 -0
- tailtrail-1.0.0/schemas/program-plan.schema.json +1 -0
- tailtrail-1.0.0/schemas/program-state.schema.json +1 -0
- tailtrail-1.0.0/schemas/question-context.schema.json +42 -0
- tailtrail-1.0.0/schemas/real-evaluation-portfolio.schema.json +31 -0
- tailtrail-1.0.0/schemas/recovery-reconciliation.schema.json +1 -0
- tailtrail-1.0.0/schemas/release-channel.schema.json +19 -0
- tailtrail-1.0.0/schemas/release-evidence.schema.json +34 -0
- tailtrail-1.0.0/schemas/release-publication-receipt.schema.json +22 -0
- tailtrail-1.0.0/schemas/repository-enforcement-policy.schema.json +22 -0
- tailtrail-1.0.0/schemas/repository-enforcement-report.schema.json +17 -0
- tailtrail-1.0.0/schemas/repository-enforcement-suppression.schema.json +8 -0
- tailtrail-1.0.0/schemas/reproduction-contract.schema.json +24 -0
- tailtrail-1.0.0/schemas/requirement-evidence-assistance.schema.json +102 -0
- tailtrail-1.0.0/schemas/requirement-evidence.schema.json +21 -0
- tailtrail-1.0.0/schemas/requirement-impact-map.schema.json +1 -0
- tailtrail-1.0.0/schemas/requirement-intake.schema.json +112 -0
- tailtrail-1.0.0/schemas/requirement-interpretation.schema.json +103 -0
- tailtrail-1.0.0/schemas/requirement-recovery-manifest.schema.json +1 -0
- tailtrail-1.0.0/schemas/requirement-sufficiency.schema.json +113 -0
- tailtrail-1.0.0/schemas/run-event.schema.json +181 -0
- tailtrail-1.0.0/schemas/spec-kit-amendment.schema.json +22 -0
- tailtrail-1.0.0/schemas/spec-kit-convergence.schema.json +16 -0
- tailtrail-1.0.0/schemas/spec-kit-import.schema.json +16 -0
- tailtrail-1.0.0/schemas/spec-kit-mapping.schema.json +15 -0
- tailtrail-1.0.0/schemas/spec-kit-source.schema.json +16 -0
- tailtrail-1.0.0/schemas/tailtrail-session-attachment.schema.json +53 -0
- tailtrail-1.0.0/schemas/target-resolution-receipt.schema.json +18 -0
- tailtrail-1.0.0/schemas/task-recovery-boundary.schema.json +13 -0
- tailtrail-1.0.0/schemas/task-recovery-plan.schema.json +13 -0
- tailtrail-1.0.0/schemas/testing-profile.schema.json +1 -0
- tailtrail-1.0.0/schemas/token-harness-bridge-input.schema.json +109 -0
- tailtrail-1.0.0/schemas/token-harness-bridge-output.schema.json +93 -0
- tailtrail-1.0.0/schemas/validation-evidence-receipt.schema.json +24 -0
- tailtrail-1.0.0/schemas/workflow-action.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-adapter-input.schema.json +33 -0
- tailtrail-1.0.0/schemas/workflow-adapter-output.schema.json +24 -0
- tailtrail-1.0.0/schemas/workflow-approval-record.schema.json +39 -0
- tailtrail-1.0.0/schemas/workflow-assurance-report.schema.json +17 -0
- tailtrail-1.0.0/schemas/workflow-capability-plan.schema.json +20 -0
- tailtrail-1.0.0/schemas/workflow-ci-continuation.schema.json +18 -0
- tailtrail-1.0.0/schemas/workflow-ci-policy.schema.json +24 -0
- tailtrail-1.0.0/schemas/workflow-ci-receipt.schema.json +32 -0
- tailtrail-1.0.0/schemas/workflow-code-change-reservation.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-compatibility-report.schema.json +12 -0
- tailtrail-1.0.0/schemas/workflow-compiler-plan.schema.json +14 -0
- tailtrail-1.0.0/schemas/workflow-compiler-policy.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-completion-contract.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-completion-receipt.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-context-receipt.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-correction-packet.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-dashboard.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-denial-audit.schema.json +22 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-access-review.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-backup.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-binding.schema.json +13 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-conformance.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-entry.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-event.schema.json +13 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-lease.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-link.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-migration.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-observability.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-policy.schema.json +48 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-replay.schema.json +10 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-restore-validation.schema.json +9 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-support-bundle-verification.schema.json +8 -0
- tailtrail-1.0.0/schemas/workflow-enterprise-support-bundle.schema.json +9 -0
- tailtrail-1.0.0/schemas/workflow-evaluation-event.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-evidence-record.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-evidence.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-freshness-assessment.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-instance.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-learning-link.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-meta-harness-signal.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-operational-checkpoint.schema.json +19 -0
- tailtrail-1.0.0/schemas/workflow-ownership.schema.json +22 -0
- tailtrail-1.0.0/schemas/workflow-preapproval.schema.json +13 -0
- tailtrail-1.0.0/schemas/workflow-projection.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-real-run-proof.schema.json +18 -0
- tailtrail-1.0.0/schemas/workflow-release-gate.schema.json +12 -0
- tailtrail-1.0.0/schemas/workflow-release-scenario.schema.json +15 -0
- tailtrail-1.0.0/schemas/workflow-retention-cleanup.schema.json +17 -0
- tailtrail-1.0.0/schemas/workflow-retention-plan.schema.json +18 -0
- tailtrail-1.0.0/schemas/workflow-retention-policy.schema.json +19 -0
- tailtrail-1.0.0/schemas/workflow-retirement-decision.schema.json +11 -0
- tailtrail-1.0.0/schemas/workflow-retry-attempts.schema.json +12 -0
- tailtrail-1.0.0/schemas/workflow-risk-authority.schema.json +16 -0
- tailtrail-1.0.0/schemas/workflow-runtime-event.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-stage-approvals.schema.json +15 -0
- tailtrail-1.0.0/schemas/workflow-stage-result.schema.json +50 -0
- tailtrail-1.0.0/schemas/workflow-stage.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-storage-event.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-task-scope.schema.json +5 -0
- tailtrail-1.0.0/schemas/workflow-template-execution.schema.json +21 -0
- tailtrail-1.0.0/schemas/workflow-token-telemetry.schema.json +1 -0
- tailtrail-1.0.0/schemas/workflow-transition-table-v1.json +5 -0
- tailtrail-1.0.0/schemas/workflow-transition.schema.json +5 -0
- tailtrail-1.0.0/scripts/__init__.py +5 -0
- tailtrail-1.0.0/scripts/_resume_check_extractor.py +33 -0
- tailtrail-1.0.0/scripts/adoption-validation.py +777 -0
- tailtrail-1.0.0/scripts/advanced-runtime.py +53 -0
- tailtrail-1.0.0/scripts/aidlc-check.py +94 -0
- tailtrail-1.0.0/scripts/aidlc-init.py +116 -0
- tailtrail-1.0.0/scripts/aidlc-official-bridge.py +214 -0
- tailtrail-1.0.0/scripts/aidlc-official-detect.py +216 -0
- tailtrail-1.0.0/scripts/aidlc-official-host.py +188 -0
- tailtrail-1.0.0/scripts/aidlc-official-install.py +172 -0
- tailtrail-1.0.0/scripts/aidlc-requirements.py +285 -0
- tailtrail-1.0.0/scripts/analyze-benchmark.py +397 -0
- tailtrail-1.0.0/scripts/architecture-fitness.py +74 -0
- tailtrail-1.0.0/scripts/architecture_planning.py +355 -0
- tailtrail-1.0.0/scripts/ast-map.py +1208 -0
- tailtrail-1.0.0/scripts/behavior-harness.py +34 -0
- tailtrail-1.0.0/scripts/behaviour_planning.py +575 -0
- tailtrail-1.0.0/scripts/benchmark-tailtrail.py +210 -0
- tailtrail-1.0.0/scripts/bootstrap-snapshot.py +531 -0
- tailtrail-1.0.0/scripts/cache-summary.py +140 -0
- tailtrail-1.0.0/scripts/capture_hooks.py +171 -0
- tailtrail-1.0.0/scripts/change-intent-anchor.py +188 -0
- tailtrail-1.0.0/scripts/check-tailtrail.py +957 -0
- tailtrail-1.0.0/scripts/ci-evidence-ingest.py +32 -0
- tailtrail-1.0.0/scripts/ci-summary.py +149 -0
- tailtrail-1.0.0/scripts/closure-close.py +192 -0
- tailtrail-1.0.0/scripts/closure-contract.py +220 -0
- tailtrail-1.0.0/scripts/closure-correction.py +172 -0
- tailtrail-1.0.0/scripts/closure-evaluation.py +95 -0
- tailtrail-1.0.0/scripts/closure-finalizer.py +354 -0
- tailtrail-1.0.0/scripts/closure-learning.py +238 -0
- tailtrail-1.0.0/scripts/closure-recorder.py +213 -0
- tailtrail-1.0.0/scripts/code-graph-mapper.py +1638 -0
- tailtrail-1.0.0/scripts/code_graph_cache.py +671 -0
- tailtrail-1.0.0/scripts/code_graph_inventory.py +54 -0
- tailtrail-1.0.0/scripts/code_relationships.py +699 -0
- tailtrail-1.0.0/scripts/commit_prompt.py +230 -0
- tailtrail-1.0.0/scripts/completion-report.py +1389 -0
- tailtrail-1.0.0/scripts/completion-review.py +36 -0
- tailtrail-1.0.0/scripts/context-continuity.py +405 -0
- tailtrail-1.0.0/scripts/context-receipt.py +10 -0
- tailtrail-1.0.0/scripts/context_receipt.py +396 -0
- tailtrail-1.0.0/scripts/cross-repo-reference.py +355 -0
- tailtrail-1.0.0/scripts/debug-completion.py +224 -0
- tailtrail-1.0.0/scripts/debug-correction.py +234 -0
- tailtrail-1.0.0/scripts/debug-evaluation.py +170 -0
- tailtrail-1.0.0/scripts/debug-governance.py +82 -0
- tailtrail-1.0.0/scripts/debug-harness-convergence.py +174 -0
- tailtrail-1.0.0/scripts/debug-host-diagnosis.py +924 -0
- tailtrail-1.0.0/scripts/debug-hypothesis.py +538 -0
- tailtrail-1.0.0/scripts/debug-intake.py +199 -0
- tailtrail-1.0.0/scripts/debug-orientation.py +203 -0
- tailtrail-1.0.0/scripts/debug-preflight.py +1346 -0
- tailtrail-1.0.0/scripts/debug-privacy.py +43 -0
- tailtrail-1.0.0/scripts/debug-reproduction.py +801 -0
- tailtrail-1.0.0/scripts/delivery-orchestrator.py +30 -0
- tailtrail-1.0.0/scripts/dependency-decision.py +168 -0
- tailtrail-1.0.0/scripts/drift_analysis.py +450 -0
- tailtrail-1.0.0/scripts/efficacy-benchmark.py +394 -0
- tailtrail-1.0.0/scripts/efficacy-run.py +849 -0
- tailtrail-1.0.0/scripts/enterprise-conformance.py +193 -0
- tailtrail-1.0.0/scripts/enterprise-readiness.py +795 -0
- tailtrail-1.0.0/scripts/enterprise-target-policy.py +162 -0
- tailtrail-1.0.0/scripts/evaluation-audit.py +389 -0
- tailtrail-1.0.0/scripts/evaluation-dataset.py +142 -0
- tailtrail-1.0.0/scripts/evaluation-harness.py +759 -0
- tailtrail-1.0.0/scripts/evidence-metrics.py +18 -0
- tailtrail-1.0.0/scripts/evidence-tiers.py +57 -0
- tailtrail-1.0.0/scripts/execution-evidence.py +340 -0
- tailtrail-1.0.0/scripts/execution-failure.py +597 -0
- tailtrail-1.0.0/scripts/expand-intent.py +876 -0
- tailtrail-1.0.0/scripts/export-release.py +116 -0
- tailtrail-1.0.0/scripts/first-run.py +103 -0
- tailtrail-1.0.0/scripts/flaky-test-tracker.py +22 -0
- tailtrail-1.0.0/scripts/git-readiness.py +54 -0
- tailtrail-1.0.0/scripts/graph-learning.py +576 -0
- tailtrail-1.0.0/scripts/graph_builder.py +223 -0
- tailtrail-1.0.0/scripts/guardrail-check.py +558 -0
- tailtrail-1.0.0/scripts/guardrail-precision.py +247 -0
- tailtrail-1.0.0/scripts/harness-checkpoint.py +111 -0
- tailtrail-1.0.0/scripts/harness-controls.py +65 -0
- tailtrail-1.0.0/scripts/harness-convergence.py +34 -0
- tailtrail-1.0.0/scripts/harness-feedback.py +28 -0
- tailtrail-1.0.0/scripts/harness-review.py +1130 -0
- tailtrail-1.0.0/scripts/harness-template.py +31 -0
- tailtrail-1.0.0/scripts/higher-tier-testing.py +107 -0
- tailtrail-1.0.0/scripts/host-adapter-conformance.py +321 -0
- tailtrail-1.0.0/scripts/host-decision.py +142 -0
- tailtrail-1.0.0/scripts/host-reply-validate.py +185 -0
- tailtrail-1.0.0/scripts/host-runtime-conformance.py +359 -0
- tailtrail-1.0.0/scripts/host-workspace-adapter.py +120 -0
- tailtrail-1.0.0/scripts/install-copilot.py +923 -0
- tailtrail-1.0.0/scripts/install-launcher.py +194 -0
- tailtrail-1.0.0/scripts/install-local.py +461 -0
- tailtrail-1.0.0/scripts/install_surfaces.py +214 -0
- tailtrail-1.0.0/scripts/installation-qualification.py +162 -0
- tailtrail-1.0.0/scripts/installer.py +19 -0
- tailtrail-1.0.0/scripts/learning-agent.py +697 -0
- tailtrail-1.0.0/scripts/learning-calibration.py +624 -0
- tailtrail-1.0.0/scripts/learning-governance.py +550 -0
- tailtrail-1.0.0/scripts/learning-refresh.py +1020 -0
- tailtrail-1.0.0/scripts/learning-retrieval.py +506 -0
- tailtrail-1.0.0/scripts/learning-review.py +418 -0
- tailtrail-1.0.0/scripts/learning-use-receipt.py +784 -0
- tailtrail-1.0.0/scripts/learning-v3.py +868 -0
- tailtrail-1.0.0/scripts/learnings.py +102 -0
- tailtrail-1.0.0/scripts/maintainability-harness.py +313 -0
- tailtrail-1.0.0/scripts/maintainability_planning.py +218 -0
- tailtrail-1.0.0/scripts/mcp-server.py +2101 -0
- tailtrail-1.0.0/scripts/meta-harness-analyze.py +1038 -0
- tailtrail-1.0.0/scripts/meta-harness-propose.py +640 -0
- tailtrail-1.0.0/scripts/metrics_extractor.py +862 -0
- tailtrail-1.0.0/scripts/module_resolution.py +365 -0
- tailtrail-1.0.0/scripts/navigator-installed-release-proof.py +502 -0
- tailtrail-1.0.0/scripts/navigator-scope-calibration.py +790 -0
- tailtrail-1.0.0/scripts/navigator-scope-release.py +497 -0
- tailtrail-1.0.0/scripts/navigator-scope.py +86 -0
- tailtrail-1.0.0/scripts/navigator.py +2253 -0
- tailtrail-1.0.0/scripts/navigator_core.py +809 -0
- tailtrail-1.0.0/scripts/navigator_discovery.py +368 -0
- tailtrail-1.0.0/scripts/navigator_graph_lifecycle.py +409 -0
- tailtrail-1.0.0/scripts/navigator_render.py +664 -0
- tailtrail-1.0.0/scripts/navigator_scope.py +4581 -0
- tailtrail-1.0.0/scripts/official-aidlc-checkpoint.py +253 -0
- tailtrail-1.0.0/scripts/official-aidlc-requirements.py +264 -0
- tailtrail-1.0.0/scripts/official-aidlc-runtime.py +309 -0
- tailtrail-1.0.0/scripts/official-aidlc-sanitize.py +265 -0
- tailtrail-1.0.0/scripts/official-aidlc-state.py +266 -0
- tailtrail-1.0.0/scripts/orchestration/__init__.py +2 -0
- tailtrail-1.0.0/scripts/orchestration/run_resolution.py +65 -0
- tailtrail-1.0.0/scripts/orchestration_facade.py +201 -0
- tailtrail-1.0.0/scripts/outcome-telemetry.py +348 -0
- tailtrail-1.0.0/scripts/package-release-proof.py +90 -0
- tailtrail-1.0.0/scripts/phase8-advanced.py +75 -0
- tailtrail-1.0.0/scripts/pipeline_judge.py +73 -0
- tailtrail-1.0.0/scripts/pipeline_manager.py +107 -0
- tailtrail-1.0.0/scripts/pipeline_orchestrator.py +202 -0
- tailtrail-1.0.0/scripts/plan_render.py +337 -0
- tailtrail-1.0.0/scripts/planning-aidlc-question.py +206 -0
- tailtrail-1.0.0/scripts/planning-discussion.py +778 -0
- tailtrail-1.0.0/scripts/planning-feature-controls.py +163 -0
- tailtrail-1.0.0/scripts/planning-investigation.py +327 -0
- tailtrail-1.0.0/scripts/planning-revision.py +1056 -0
- tailtrail-1.0.0/scripts/planning_lock.py +2258 -0
- tailtrail-1.0.0/scripts/platform-qualification.py +222 -0
- tailtrail-1.0.0/scripts/policy-check.py +244 -0
- tailtrail-1.0.0/scripts/presentation.py +178 -0
- tailtrail-1.0.0/scripts/product-maintainability.py +123 -0
- tailtrail-1.0.0/scripts/product-maturity.py +885 -0
- tailtrail-1.0.0/scripts/program-checkpoint.py +23 -0
- tailtrail-1.0.0/scripts/program-plan.py +51 -0
- tailtrail-1.0.0/scripts/prompt-profile.py +10 -0
- tailtrail-1.0.0/scripts/prompt_profile.py +120 -0
- tailtrail-1.0.0/scripts/prune-context.py +123 -0
- tailtrail-1.0.0/scripts/public-benchmark.py +229 -0
- tailtrail-1.0.0/scripts/public-doc-audit.py +88 -0
- tailtrail-1.0.0/scripts/quality-loop.py +535 -0
- tailtrail-1.0.0/scripts/quality-run.py +212 -0
- tailtrail-1.0.0/scripts/quality-scan.py +166 -0
- tailtrail-1.0.0/scripts/question-orchestrator.py +320 -0
- tailtrail-1.0.0/scripts/real-evaluation-portfolio.py +299 -0
- tailtrail-1.0.0/scripts/recovery-diagnostician.py +27 -0
- tailtrail-1.0.0/scripts/recovery-reconcile.py +144 -0
- tailtrail-1.0.0/scripts/registry-drift.py +249 -0
- tailtrail-1.0.0/scripts/release-check.py +97 -0
- tailtrail-1.0.0/scripts/release-confidence.py +56 -0
- tailtrail-1.0.0/scripts/release-info.py +41 -0
- tailtrail-1.0.0/scripts/release-publication.py +75 -0
- tailtrail-1.0.0/scripts/release_manifest.py +126 -0
- tailtrail-1.0.0/scripts/repository-enforcement.py +517 -0
- tailtrail-1.0.0/scripts/requirement-completion.py +36 -0
- tailtrail-1.0.0/scripts/requirement-impact-map.py +52 -0
- tailtrail-1.0.0/scripts/requirement-interpretation-draft.py +336 -0
- tailtrail-1.0.0/scripts/requirement-interpretation-scaffold.py +33 -0
- tailtrail-1.0.0/scripts/requirement-recovery-manifest.py +89 -0
- tailtrail-1.0.0/scripts/requirement_discovery.py +1307 -0
- tailtrail-1.0.0/scripts/requirement_evidence.py +218 -0
- tailtrail-1.0.0/scripts/requirement_intake.py +691 -0
- tailtrail-1.0.0/scripts/review-graph.py +438 -0
- tailtrail-1.0.0/scripts/review-run.py +637 -0
- tailtrail-1.0.0/scripts/route-context.py +383 -0
- tailtrail-1.0.0/scripts/run-ledger.py +331 -0
- tailtrail-1.0.0/scripts/run-tests.py +396 -0
- tailtrail-1.0.0/scripts/scanner-graph-overlay.py +838 -0
- tailtrail-1.0.0/scripts/session-control.py +84 -0
- tailtrail-1.0.0/scripts/session_control.py +424 -0
- tailtrail-1.0.0/scripts/setup-scan.py +506 -0
- tailtrail-1.0.0/scripts/shell_quote.py +22 -0
- tailtrail-1.0.0/scripts/slice-context.py +112 -0
- tailtrail-1.0.0/scripts/smoke-test.py +110 -0
- tailtrail-1.0.0/scripts/sonar-summary.py +130 -0
- tailtrail-1.0.0/scripts/spec-kit-amendment.py +210 -0
- tailtrail-1.0.0/scripts/spec-kit-bridge.py +108 -0
- tailtrail-1.0.0/scripts/spec-kit-ci-gate.py +42 -0
- tailtrail-1.0.0/scripts/spec-kit-converge.py +107 -0
- tailtrail-1.0.0/scripts/spec-kit-detect.py +167 -0
- tailtrail-1.0.0/scripts/spec-kit-evidence.py +126 -0
- tailtrail-1.0.0/scripts/spec-kit-import.py +177 -0
- tailtrail-1.0.0/scripts/spec-kit-integration.py +33 -0
- tailtrail-1.0.0/scripts/spec-kit-observability.py +90 -0
- tailtrail-1.0.0/scripts/spec-kit-policy.py +116 -0
- tailtrail-1.0.0/scripts/spec-kit-slices.py +140 -0
- tailtrail-1.0.0/scripts/start_posture.py +383 -0
- tailtrail-1.0.0/scripts/summarize-output.py +120 -0
- tailtrail-1.0.0/scripts/supply-chain.py +211 -0
- tailtrail-1.0.0/scripts/sync-adapters.py +115 -0
- tailtrail-1.0.0/scripts/sync-governance.py +315 -0
- tailtrail-1.0.0/scripts/tailtrail-registry.py +619 -0
- tailtrail-1.0.0/scripts/tailtrail-report.py +1225 -0
- tailtrail-1.0.0/scripts/tailtrail.py +1495 -0
- tailtrail-1.0.0/scripts/target_workspace.py +733 -0
- tailtrail-1.0.0/scripts/task-next.py +289 -0
- tailtrail-1.0.0/scripts/task-recovery-boundary.py +149 -0
- tailtrail-1.0.0/scripts/task-recovery.py +90 -0
- tailtrail-1.0.0/scripts/task-start.py +7004 -0
- tailtrail-1.0.0/scripts/team-init.py +104 -0
- tailtrail-1.0.0/scripts/test-precision.py +530 -0
- tailtrail-1.0.0/scripts/test-tier-selector.py +27 -0
- tailtrail-1.0.0/scripts/test_scope.py +18 -0
- tailtrail-1.0.0/scripts/testing-profile.py +32 -0
- tailtrail-1.0.0/scripts/token-auto.py +225 -0
- tailtrail-1.0.0/scripts/token-budget-coach.py +10 -0
- tailtrail-1.0.0/scripts/token-harness-bridge.py +471 -0
- tailtrail-1.0.0/scripts/token-harness-ledger.py +338 -0
- tailtrail-1.0.0/scripts/token-harness-proof.py +326 -0
- tailtrail-1.0.0/scripts/token-harness-reduce.py +513 -0
- tailtrail-1.0.0/scripts/token-harness.py +414 -0
- tailtrail-1.0.0/scripts/token-savings.py +484 -0
- tailtrail-1.0.0/scripts/token-telemetry.py +10 -0
- tailtrail-1.0.0/scripts/token_budget_coach.py +410 -0
- tailtrail-1.0.0/scripts/token_telemetry.py +461 -0
- tailtrail-1.0.0/scripts/ui-consistency.py +129 -0
- tailtrail-1.0.0/scripts/ui_planning.py +438 -0
- tailtrail-1.0.0/scripts/update-copilot.py +310 -0
- tailtrail-1.0.0/scripts/update-tailtrail.py +59 -0
- tailtrail-1.0.0/scripts/upgrade-tailtrail.py +15 -0
- tailtrail-1.0.0/scripts/validation-receipt.py +21 -0
- tailtrail-1.0.0/scripts/validation-summary.py +128 -0
- tailtrail-1.0.0/scripts/visual_requirement.py +374 -0
- tailtrail-1.0.0/scripts/vulnerability-run.py +200 -0
- tailtrail-1.0.0/scripts/vulnerability-scan.py +156 -0
- tailtrail-1.0.0/scripts/vulnerability-summary.py +556 -0
- tailtrail-1.0.0/scripts/workflow-dashboard.py +165 -0
- tailtrail-1.0.0/scripts/workflow-runtime.py +327 -0
- tailtrail-1.0.0/scripts/workflow_runtime/__init__.py +6 -0
- tailtrail-1.0.0/scripts/workflow_runtime/adapter_catalog.py +135 -0
- tailtrail-1.0.0/scripts/workflow_runtime/adapters.py +165 -0
- tailtrail-1.0.0/scripts/workflow_runtime/approvals.py +282 -0
- tailtrail-1.0.0/scripts/workflow_runtime/assurance.py +59 -0
- tailtrail-1.0.0/scripts/workflow_runtime/capabilities.py +266 -0
- tailtrail-1.0.0/scripts/workflow_runtime/ci.py +163 -0
- tailtrail-1.0.0/scripts/workflow_runtime/compiler.py +289 -0
- tailtrail-1.0.0/scripts/workflow_runtime/context.py +110 -0
- tailtrail-1.0.0/scripts/workflow_runtime/contracts.py +193 -0
- tailtrail-1.0.0/scripts/workflow_runtime/correction.py +88 -0
- tailtrail-1.0.0/scripts/workflow_runtime/denials.py +69 -0
- tailtrail-1.0.0/scripts/workflow_runtime/enterprise.py +160 -0
- tailtrail-1.0.0/scripts/workflow_runtime/enterprise_recovery.py +155 -0
- tailtrail-1.0.0/scripts/workflow_runtime/enterprise_transport.py +140 -0
- tailtrail-1.0.0/scripts/workflow_runtime/evidence.py +272 -0
- tailtrail-1.0.0/scripts/workflow_runtime/evidence_completion.py +75 -0
- tailtrail-1.0.0/scripts/workflow_runtime/executor.py +229 -0
- tailtrail-1.0.0/scripts/workflow_runtime/freshness.py +204 -0
- tailtrail-1.0.0/scripts/workflow_runtime/mcp_bridge.py +239 -0
- tailtrail-1.0.0/scripts/workflow_runtime/outcomes.py +87 -0
- tailtrail-1.0.0/scripts/workflow_runtime/ownership.py +224 -0
- tailtrail-1.0.0/scripts/workflow_runtime/projection.py +127 -0
- tailtrail-1.0.0/scripts/workflow_runtime/reason_codes.py +50 -0
- tailtrail-1.0.0/scripts/workflow_runtime/release.py +172 -0
- tailtrail-1.0.0/scripts/workflow_runtime/resume.py +29 -0
- tailtrail-1.0.0/scripts/workflow_runtime/retention.py +68 -0
- tailtrail-1.0.0/scripts/workflow_runtime/retry.py +139 -0
- tailtrail-1.0.0/scripts/workflow_runtime/stage_results.py +116 -0
- tailtrail-1.0.0/scripts/workflow_runtime/start_integration.py +273 -0
- tailtrail-1.0.0/scripts/workflow_runtime/state.py +240 -0
- tailtrail-1.0.0/scripts/workflow_runtime/storage.py +240 -0
- tailtrail-1.0.0/scripts/workflow_runtime/task_scope.py +220 -0
- tailtrail-1.0.0/scripts/workflow_runtime/templates.py +134 -0
- tailtrail-1.0.0/scripts/workflow_runtime/transitions.py +129 -0
- tailtrail-1.0.0/scripts/workflow_runtime/vertical.py +91 -0
- tailtrail-1.0.0/scripts/write_guardian.py +125 -0
- tailtrail-1.0.0/setup.cfg +4 -0
- tailtrail-1.0.0/setup.py +95 -0
- tailtrail-1.0.0/skills/tailtrail/SKILL.md +48 -0
- tailtrail-1.0.0/skills/tailtrail-review/SKILL.md +92 -0
- tailtrail-1.0.0/skills/tailtrail-start/SKILL.md +32 -0
- tailtrail-1.0.0/tailtrail/__init__.py +18 -0
- tailtrail-1.0.0/tailtrail/__main__.py +7 -0
- tailtrail-1.0.0/tailtrail/api.py +32 -0
- tailtrail-1.0.0/tailtrail/cli.py +118 -0
- tailtrail-1.0.0/tailtrail/errors.py +13 -0
- tailtrail-1.0.0/tailtrail/hosts/__init__.py +6 -0
- tailtrail-1.0.0/tailtrail/hosts/contracts.py +169 -0
- tailtrail-1.0.0/tailtrail/hosts/diagnostics.py +86 -0
- tailtrail-1.0.0/tailtrail/install/__init__.py +6 -0
- tailtrail-1.0.0/tailtrail/install/catalog.py +79 -0
- tailtrail-1.0.0/tailtrail/install/cli.py +178 -0
- tailtrail-1.0.0/tailtrail/install/engine.py +610 -0
- tailtrail-1.0.0/tailtrail/install/files.py +88 -0
- tailtrail-1.0.0/tailtrail/install/host_launcher.py +42 -0
- tailtrail-1.0.0/tailtrail/install/models.py +82 -0
- tailtrail-1.0.0/tailtrail/install/pathfix.py +109 -0
- tailtrail-1.0.0/tailtrail/kernel.py +51 -0
- tailtrail-1.0.0/tailtrail/migrations/__init__.py +20 -0
- tailtrail-1.0.0/tailtrail/resources.py +71 -0
- tailtrail-1.0.0/tailtrail/upgrade.py +147 -0
- tailtrail-1.0.0/tailtrail-enforcement-baseline.json +7 -0
- tailtrail-1.0.0/tailtrail-enforcement-policy.json +24 -0
- tailtrail-1.0.0/tailtrail-enforcement-suppressions.json +87 -0
- tailtrail-1.0.0/tailtrail-meta/document-owners-v1.json +14 -0
- tailtrail-1.0.0/tailtrail-meta/maintainability-inventory-v1.json +2022 -0
- tailtrail-1.0.0/tailtrail-meta/navigator-scope-baseline-v1.json +208 -0
- tailtrail-1.0.0/tailtrail-meta/product-maturity-baseline-v1.json +1632 -0
- tailtrail-1.0.0/tailtrail-meta/product-maturity-learning-inventory-v1.json +784 -0
- tailtrail-1.0.0/tailtrail-meta/product-maturity-policy-v1.json +162 -0
- tailtrail-1.0.0/tailtrail-policy.example.md +148 -0
- tailtrail-1.0.0/tailtrail-registry.json +3319 -0
- tailtrail-1.0.0/tailtrail-registry.schema.json +234 -0
- tailtrail-1.0.0/tailtrail.egg-info/PKG-INFO +236 -0
- tailtrail-1.0.0/tailtrail.egg-info/SOURCES.txt +769 -0
- tailtrail-1.0.0/tailtrail.egg-info/dependency_links.txt +1 -0
- tailtrail-1.0.0/tailtrail.egg-info/entry_points.txt +2 -0
- tailtrail-1.0.0/tailtrail.egg-info/top_level.txt +1 -0
- tailtrail-1.0.0/templates/aidlc-audit.md +21 -0
- tailtrail-1.0.0/templates/aidlc-state.md +33 -0
- tailtrail-1.0.0/templates/behavior-analysis.md +44 -0
- tailtrail-1.0.0/templates/benchmark-result.md +23 -0
- tailtrail-1.0.0/templates/change-brief.md +29 -0
- tailtrail-1.0.0/templates/change-intent-anchor.md +15 -0
- tailtrail-1.0.0/templates/ci-summary.md +36 -0
- tailtrail-1.0.0/templates/code-graph-map.md +49 -0
- tailtrail-1.0.0/templates/command-result.md +26 -0
- tailtrail-1.0.0/templates/context-brief.md +25 -0
- tailtrail-1.0.0/templates/context-continuity-advisory-proposal.example.json +10 -0
- tailtrail-1.0.0/templates/context-continuity-policy.example.json +18 -0
- tailtrail-1.0.0/templates/context-continuity-selector-policy.example.json +12 -0
- tailtrail-1.0.0/templates/dependency-decision.example.json +15 -0
- tailtrail-1.0.0/templates/diff-handoff.md +29 -0
- tailtrail-1.0.0/templates/efficacy-result.md +26 -0
- tailtrail-1.0.0/templates/enterprise-report.md +79 -0
- tailtrail-1.0.0/templates/enterprise-target-policy.example.json +20 -0
- tailtrail-1.0.0/templates/evaluation-result.md +30 -0
- tailtrail-1.0.0/templates/evidence-note.md +25 -0
- tailtrail-1.0.0/templates/graph-learning.md +31 -0
- tailtrail-1.0.0/templates/guardrail-finding.md +18 -0
- tailtrail-1.0.0/templates/harness-checkpoint.md +12 -0
- tailtrail-1.0.0/templates/harness-feedback.md +13 -0
- tailtrail-1.0.0/templates/harness-templates.example.json +11 -0
- tailtrail-1.0.0/templates/impact-brief.md +23 -0
- tailtrail-1.0.0/templates/implementation-plan.md +23 -0
- tailtrail-1.0.0/templates/intent-overrides.json +23 -0
- tailtrail-1.0.0/templates/learning-refresh-report.md +30 -0
- tailtrail-1.0.0/templates/learning-signal.md +27 -0
- tailtrail-1.0.0/templates/learnings.md +40 -0
- tailtrail-1.0.0/templates/meta-harness-proposal.md +34 -0
- tailtrail-1.0.0/templates/official-aidlc-pack.manifest.example.json +23 -0
- tailtrail-1.0.0/templates/operations-notes.md +23 -0
- tailtrail-1.0.0/templates/outcome-event.md +29 -0
- tailtrail-1.0.0/templates/policy-overrides.json +47 -0
- tailtrail-1.0.0/templates/quality-event.md +37 -0
- tailtrail-1.0.0/templates/quality-review.md +42 -0
- tailtrail-1.0.0/templates/quality-run.md +27 -0
- tailtrail-1.0.0/templates/quality-scan.md +23 -0
- tailtrail-1.0.0/templates/question-file.md +28 -0
- tailtrail-1.0.0/templates/requirements.md +21 -0
- tailtrail-1.0.0/templates/review-finding.md +11 -0
- tailtrail-1.0.0/templates/review-graph.md +34 -0
- tailtrail-1.0.0/templates/review-result.md +50 -0
- tailtrail-1.0.0/templates/risk-callout.md +23 -0
- tailtrail-1.0.0/templates/router-decision.md +25 -0
- tailtrail-1.0.0/templates/sonar-summary.md +36 -0
- tailtrail-1.0.0/templates/spec-kit-bridge-policy.example.json +32 -0
- tailtrail-1.0.0/templates/stage-gate.md +25 -0
- tailtrail-1.0.0/templates/tailtrail-gitignore.md +80 -0
- tailtrail-1.0.0/templates/testing-profile.example.yml +7 -0
- tailtrail-1.0.0/templates/token-savings-report.md +21 -0
- tailtrail-1.0.0/templates/token-usage-example.jsonl +2 -0
- tailtrail-1.0.0/templates/tool-summary.md +23 -0
- tailtrail-1.0.0/templates/validation-handoff.md +23 -0
- tailtrail-1.0.0/templates/value-report.csv +1 -0
- tailtrail-1.0.0/templates/vulnerability-remediation.md +44 -0
- tailtrail-1.0.0/templates/vulnerability-summary.md +38 -0
- tailtrail-1.0.0/templates/workflow-plan.md +23 -0
- tailtrail-1.0.0/templates/workflow-recommendation.md +74 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TailTrail Start
|
|
2
|
+
|
|
3
|
+
This command is activated only by the **current user message**. A prior chat
|
|
4
|
+
mention, pasted **error output**, log, stack trace, or follow-up debugging
|
|
5
|
+
request must not create a **new Planning Lock**. Reuse an awaiting-approval run
|
|
6
|
+
ID; continue an approved in-scope run without another Start approval.
|
|
7
|
+
|
|
8
|
+
Run the atomic TailTrail Start flow for: `$ARGUMENTS`
|
|
9
|
+
|
|
10
|
+
Create one persisted Planning Lock and return the complete TailTrail Start
|
|
11
|
+
Report with its run ID. If the request is hands-free or end-to-end, include the
|
|
12
|
+
program requirements, dependency order, first active slice, and approval gate.
|
|
13
|
+
Copy the complete Start Report verbatim and stop; it must appear in the normal
|
|
14
|
+
assistant response, outside any collapsible terminal/tool-result panel. Do not
|
|
15
|
+
append an implementation plan, steps, analysis, or guidance.
|
|
16
|
+
Exception for a saved Standard or Full official-AIDLC stage with
|
|
17
|
+
`official-aidlc-host-generation-required`: read its pinned official
|
|
18
|
+
Requirements Analysis and question-format rules, generate and record the
|
|
19
|
+
official questions/options with TailTrail advisory recommendation and reasoning,
|
|
20
|
+
then return that same run's complete Official AI-DLC Requirements report. Do this in the same turn: for an official run, never end the turn at the Start Report — read the rules, generate and record the questions, and return the Requirements report before stopping. Do not
|
|
21
|
+
inspect source or implement work.
|
|
22
|
+
Do not implement, edit source, run tests/scanners/Terraform, or mutate Git.
|
|
23
|
+
|
|
24
|
+
For an awaiting-approval AIDLC run, use `tailtrail planning aidlc-question
|
|
25
|
+
clarify --run-id <id> --question-id Q5` when the user asks to explain or
|
|
26
|
+
rephrase a numbered question. Explain only from saved AIDLC evidence and make
|
|
27
|
+
no plan change. If the user says the question, options, or reasoning is wrong,
|
|
28
|
+
create a sanitized `aidlc-question challenge`; the active AIDLC authority must
|
|
29
|
+
generate the replacement, then TailTrail records it and requires explicit
|
|
30
|
+
`aidlc-question approve`. Standard/Full replacements must follow the pinned
|
|
31
|
+
official AIDLC Requirements rules.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
_TailTrail instructions revision: `2f9de47578c1` — quote this line if asked whether instructions are current._
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tailtrail",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "TailTrail local development guidance for Codex with native plugin skills and review prompts.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"skills": "./skills/",
|
|
7
|
+
"interface": {
|
|
8
|
+
"defaultPrompt": [
|
|
9
|
+
"You are TailTrail, a Codex plugin for local development guidance and review.",
|
|
10
|
+
"Use @tailtrail for implementation tasks and @tailtrail-review for review tasks.",
|
|
11
|
+
"Keep changes small, reuse existing project patterns, preserve safeguards, and use strict mode for reviews."
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: TailTrail guidance for small, reuse-first local development changes.
|
|
3
|
+
globs:
|
|
4
|
+
- "**/*"
|
|
5
|
+
alwaysApply: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# TailTrail For Cursor
|
|
9
|
+
|
|
10
|
+
Use TailTrail when editing, reviewing, refactoring, or planning code in this workspace.
|
|
11
|
+
|
|
12
|
+
## Core — follow exactly, do not skim
|
|
13
|
+
|
|
14
|
+
- Navigator-first workflow for non-trivial tasks; ask for approval before implementation. `tailtrail start` is planning-only: never implement, edit, run project/scanner/Terraform/Git commands after planning without a separate explicit `approve` (`looks good` / `go ahead` never approve).
|
|
15
|
+
- MCP first (default path): if the TailTrail MCP server is configured, call the single `tailtrail_start` tool once with `approved: true` — one atomic call, do not split lock/report, nothing to retype. Else if this host can run project commands, run `tailtrail start "<goal>"` (CLI fallback). Else state the plan is not persisted and give the exact command. Return the tool/CLI output as the complete Start Report verbatim (starts `# TailTrail Start Plan`, includes the run ID) outside any collapsible terminal/tool-result panel, then stop. Never synthesize a substitute plan or task list. Verify `Planning Lock`, `Scope`, `Requirements`, `Selected TailTrail features`, `Plan`, `Focused validation`, `Approval`; the selected-features table is mandatory — never replace it with `Next step`. Preserve fences, table pipes, backticks, spacing; never retype, normalize, or HTML-escape. If a section is missing, paste stdout again. For official runs, never end the turn at the Start Report: generate and record questions, then return the Requirements report in the same turn.
|
|
16
|
+
- Before sending any Start, closure, or hello reply: verify the run ID, `text` fence, and required headings are all present; if anything is missing, paste the stdout again instead of sending a partial reply.
|
|
17
|
+
- Current-turn Start boundary: evaluate Start only from the current user message. A prior mention, pasted error output, log, stack trace, or follow-up is not a new Planning Lock. Reuse an awaiting-approval run ID; with no active run and no explicit Start, use guide routing.
|
|
18
|
+
- Natural TailTrail requests and read-only questions (tell me / what are / list / describe / explain / graph / summary, no change verb): run `tailtrail intent "<words>"` first, follow its briefing, use the guide flow, and never create a Planning Lock. `looks good`, `go ahead`, and similar wording never approve; approval requires an explicit `approve`. `tailtrail intent resolve "<words>"` / MCP `intent_resolve` is read-only and grants no authority.
|
|
19
|
+
- Requirement interpretation is exact-goal-bound: send no private reasoning. Pass artifacts via `requirement_artifact` (SHA-256 bound) before scope; bind clauses with source IDs, keep quoted literals in `quoted`, build requirements from outcome / constraint / scope only, keep questions open. An attached image the host can see but has not bound is a material open question, not a silent drop: include what must be specified from it as a `question` clause. Missing or unreadable artifacts stop before scope and Planning Lock.
|
|
20
|
+
- Scope evidence v2 host boundary: consume the fingerprint plus owner / inspection / proof / excluded roles; never reclassify paths or promote unresolved scope. Scope work happens before Planning Lock persistence; unresolved Build scope creates no lock.
|
|
21
|
+
- Requirement-before-scope host boundary: consume MCP `requirement_route` directly (`deferred` forbids graph work and Planning Lock creation; only `eligible` permits bounded scope work). Requirement-routing negative assurance: a missing or deferred route combined with scope or run authority is a conformance failure — report it, never reinterpret; scope availability cannot preempt requirement intake.
|
|
22
|
+
- Evidence-first scope: when the packet route is `requested`, return one schema-v2 proposal bound to the exact packet, decision, target, hashes, and edge IDs via `navigator_scope_proposal_record`. Invented paths, stale hash, or rejected proposals create no run.
|
|
23
|
+
- Interactive Plan Mode host boundary: while a plan is awaiting approval, answer only from saved planning evidence (`planning explain` / `discuss` / `revise`); never start implementation. After Debug reproduction or revision transitions, return the canonical `Next actions` and `Route to a code fix` guidance; an `awaiting-reproduction-input` request keeps hypotheses and correction blocked. See `DEBUG-HARNESS.md` for the full lifecycle.
|
|
24
|
+
- `tailtrail stop` is the highest-priority control; `tailtrail resume --run-id <exact-run-id>` only reattaches (never approves or advances). Rejected plan: do not inspect source, tests, scanners, or Git and do not create a new run; return the `feedback-template` blank form for the same run ID (`AIDLC Requirements mode` on second material rejection).
|
|
25
|
+
- Activated run: retain `execution_handoff`, obey `closure.command`; never substitute a generic summary. Lite/Off `approved-plan-auto-grant` continues internally; Standard/Full and Intent Bridge show the defensive handoff. Close with `completion-report` plus `closure finalize`, returning stdout verbatim.
|
|
26
|
+
- `hello tailtrail` variants: run `tailtrail hello`, return the ASCII TailTrail banner plus result verbatim as the complete response, preserve the command-emitted `text` fence, no narration, no todo/status update, never suggest `doctor` after it.
|
|
27
|
+
- Staleness check: when asked whether instructions are current, quote the `TailTrail instructions revision` line verbatim.
|
|
28
|
+
- After changes: post-change review; scanner approval before heavy commands; learnings as advisory (source / tests / CI / scanners / policy / guardrails / user win); token claims estimated unless measured telemetry; label graph/scanner evidence heuristic, local-ast, provider-backed, measured/validated; follow `tailtrail-policy.md`, never weaken safety rules.
|
|
29
|
+
|
|
30
|
+
## Pointers — load on demand, never paste detail from memory
|
|
31
|
+
|
|
32
|
+
- Intent: `scripts/expand-intent.py` or `tailtrail intent ...`; fallback `context/intent-aliases.md` (+ `.tailtrail/intent-overrides.json`).
|
|
33
|
+
- Commands and flows: `TAILTRAIL-COMMANDS.md`; lifecycle: `AIDLC.md` + `aidlc-docs/aidlc-state.md`; bugs: `DEBUG-HARNESS.md`; risks: `GUARDRAILS.md` + `context/guardrail-layers.md`; deps: `DEPENDENCY-GATE.md`.
|
|
34
|
+
- Portable commands: quote for the host shell (POSIX single-quotes break `cmd.exe`; `list2cmdline` quoting on Windows); prefer `sys.executable -m ...` proofs that run on sh, cmd, and PowerShell.
|
|
35
|
+
|
|
36
|
+
<!-- tailtrail-governance:start -->
|
|
37
|
+
- Read relevant source, callers, tests, configuration, and policy before changing code.
|
|
38
|
+
- Reuse existing helpers, types, conventions, validation style, and project patterns before adding new abstractions.
|
|
39
|
+
- Prefer standard library, platform-native behavior, framework capabilities, and already-installed dependencies before adding packages.
|
|
40
|
+
- Make the smallest maintainable change that solves the root problem without unrelated rewrites or formatting churn.
|
|
41
|
+
- Preserve safeguards: authentication, authorization, validation, escaping, accessibility, data integrity, privacy, logging, auditability, error handling, data-loss prevention, and explicit user requirements.
|
|
42
|
+
- Do not claim tests, builds, scans, pushes, deployments, merges, or approvals succeeded unless they actually ran and succeeded.
|
|
43
|
+
- Preserve exact source, diffs, configs, commands, file paths, IDs, hashes, dependency names and versions, security rules, policy text, and logs when exactness affects the task.
|
|
44
|
+
- Token saving must not hide material facts or make validation, policy, security, dependency, or source evidence lossy.
|
|
45
|
+
- Use `tailtrail-policy.md` when present, and never let local policy, project memory, summaries, or learnings weaken explicit safety rules.
|
|
46
|
+
<!-- tailtrail-governance:end -->
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
_TailTrail instructions revision: `9ee83a1d9d86` — quote this line if asked whether instructions are current._
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create a persisted TailTrail Start plan without implementing work.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Run the atomic TailTrail Start flow for this request:
|
|
6
|
+
|
|
7
|
+
${input:goal:Describe the task to plan}
|
|
8
|
+
|
|
9
|
+
This prompt creates a **Planning Lock** only when the **current user message**
|
|
10
|
+
explicitly invokes it. A prior chat mention, pasted **error output**, log, stack
|
|
11
|
+
trace, or follow-up debugging request must not create a **new Planning Lock**. Reuse an
|
|
12
|
+
awaiting-approval run ID; continue an approved in-scope run without another
|
|
13
|
+
Start approval.
|
|
14
|
+
|
|
15
|
+
If the local TailTrail MCP server is configured, call the single
|
|
16
|
+
`tailtrail_start` tool with `approved: true` and the goal above.
|
|
17
|
+
Otherwise run: `{{TAILTRAIL_START_COMMAND}}` and return its output.
|
|
18
|
+
|
|
19
|
+
If the user includes `--verbose`, treat it as a TailTrail flag, not part of the
|
|
20
|
+
goal: pass `verbose: true` to `tailtrail_start`, or append `--verbose` to the
|
|
21
|
+
CLI command. The returned report must then include every verbose heading.
|
|
22
|
+
|
|
23
|
+
**The complete and only normal assistant response must be the exact Start Report
|
|
24
|
+
stdout (starting `# TailTrail Start Plan` and including its returned run ID). Copy the
|
|
25
|
+
complete Start Report verbatim outside any collapsible terminal/tool-result panel.
|
|
26
|
+
Stop immediately after it.
|
|
27
|
+
Never synthesize a substitute plan or task list. Do not write `Steps`, `in-progress`,
|
|
28
|
+
`Next I'll`, `shall I proceed`, or implementation/testing/PR/documentation work. If
|
|
29
|
+
stdout is unavailable, state only that the command report could not be copied; do not
|
|
30
|
+
reconstruct a plan from the goal.**
|
|
31
|
+
|
|
32
|
+
**Official AIDLC exception:** if the saved Start report has
|
|
33
|
+
`aidlc_requirements.state = official-aidlc-host-generation-required`, do not stop
|
|
34
|
+
at a local substitute. Read the pinned official Requirements Analysis and
|
|
35
|
+
question-format rules plus the saved Question Orchestrator context referenced by
|
|
36
|
+
the report. Generate only material official questions and options; include
|
|
37
|
+
requirement IDs, decision class and impact, known context, evidence references,
|
|
38
|
+
and attach a TailTrail advisory recommendation and evidence-grounded reasoning to each,
|
|
39
|
+
record them with `tailtrail planning official-aidlc-questions`, and return the
|
|
40
|
+
complete `TailTrail Official AI-DLC Requirements` report for the same run. Do this in the same turn: for an official run, never end the turn at the Start Report — read the rules, generate and record the questions, and return the Requirements report before stopping. Do not inspect project source, present inventory hypotheses as confirmed source
|
|
41
|
+
behavior, implement work, or claim the recommendations are
|
|
42
|
+
official-pack text; the user may choose any option or Other with detail.
|
|
43
|
+
|
|
44
|
+
Before sending the report, verify it includes every required heading: `Planning Lock`,
|
|
45
|
+
`Scope`, `Requirements`, `Selected TailTrail features`, `Plan`, `Focused validation`,
|
|
46
|
+
and `Approval`. The selected-features table is mandatory. Do not shorten, rename, or
|
|
47
|
+
replace it with `Next step`; paste the CLI stdout again if any section is missing.
|
|
48
|
+
|
|
49
|
+
If the request includes `--verbose`, return the full CLI verbose report verbatim.
|
|
50
|
+
Verify it includes `Planning Lock`, `Start Here`, `Navigator Decision`, `Selected
|
|
51
|
+
TailTrail features`, `Deferred TailTrail features`, `Guided delivery`, `Validation`,
|
|
52
|
+
`Evidence posture`, and `Approval`. Never replace those sections with a summary.
|
|
53
|
+
|
|
54
|
+
For `hands-free` or `end-to-end` work, the Program Delivery plan is part of
|
|
55
|
+
the Start Report itself — do not generate a separate one.
|
|
56
|
+
If the user rejects or declines this awaiting-approval plan, do **not** inspect
|
|
57
|
+
project files, offer inspection, run tests/scanners, edit source, run Git, or
|
|
58
|
+
create another Start run. Read only the saved Planning Lock and Start report,
|
|
59
|
+
then run `tailtrail planning feedback-template --run-id <active-run-id>` and
|
|
60
|
+
return its blank feedback form. Never invent a rejection decision or comment.
|
|
61
|
+
The user may review every requirement with an `approve` or `reject — <reason>`
|
|
62
|
+
decision, say `Reject all — <reason>`, or say `Use AIDLC Requirements mode`.
|
|
63
|
+
For AIDLC, run `tailtrail planning aidlc-cycle --run-id <active-run-id>`
|
|
64
|
+
and return its complete `TailTrail AIDLC Requirements` report, including the
|
|
65
|
+
current requirement boundary, focused questions, and next response format.
|
|
66
|
+
Keep the same run ID.
|
|
67
|
+
On the first material rejection, ask targeted questions or offer AIDLC
|
|
68
|
+
Requirements mode; on the second, use AIDLC Requirements mode before another
|
|
69
|
+
material proposal.
|
|
70
|
+
|
|
71
|
+
When the user answers an active AIDLC Requirements report, record every answer
|
|
72
|
+
with `tailtrail planning aidlc-cycle --run-id <active-run-id> --answers '<json>'`
|
|
73
|
+
and return the resulting revised boundary for approval. When the user approves
|
|
74
|
+
that boundary, run `tailtrail planning aidlc-cycle --run-id <active-run-id>
|
|
75
|
+
--approved` and retain the internal Execution Handoff. For Lite/Off
|
|
76
|
+
`approved-plan-auto-grant`, continue safe implementation immediately without
|
|
77
|
+
returning the handoff as a stopping response. Standard/Full and Intent Bridge
|
|
78
|
+
retain the visible defensive handoff and material gate.
|
|
79
|
+
|
|
80
|
+
On Windows native shells, use `--answers-base64 <base64-utf8-json>` in place of
|
|
81
|
+
`--answers` so native argument quoting cannot corrupt the JSON.
|
|
82
|
+
|
|
83
|
+
After the user has approved this run and implementation has completed, run
|
|
84
|
+
`tailtrail completion-report --root . --run-id <active-run-id>` after the selected
|
|
85
|
+
review and validation steps. Return its complete stdout rather than a generic
|
|
86
|
+
implementation summary. It reports requirement delivery and TailTrail controls
|
|
87
|
+
separately; actual model tokens remain unavailable unless linked host/provider
|
|
88
|
+
telemetry identifies this exact run ID.
|
|
89
|
+
|
|
90
|
+
When plan approval returns an `execution_handoff`, retain its run ID and obey
|
|
91
|
+
`closure.command`. Lite/Off `approved-plan-auto-grant` consumes that handoff
|
|
92
|
+
internally and continues implementation; Standard/Full and Intent Bridge show
|
|
93
|
+
it because a material authority gate remains. Before any final response after
|
|
94
|
+
a source edit, execute closure and return its stdout verbatim, including the
|
|
95
|
+
recorded execution-authority route. A `Changes made`, `Validation`, or next-step
|
|
96
|
+
narrative is never a substitute for the Completion Report.
|
|
97
|
+
|
|
98
|
+
Until the Start plan or revised AIDLC boundary is explicitly approved, do not
|
|
99
|
+
edit source, run project commands, scanners, tests, Terraform, or Git mutations.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
_TailTrail instructions revision: `0940fb0fe7a8` — quote this line if asked whether instructions are current._
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# TailTrail For ChatGPT
|
|
2
|
+
|
|
3
|
+
Use this file when ChatGPT is working with this repository or when these instructions are uploaded as project context.
|
|
4
|
+
|
|
5
|
+
## Core — follow exactly, do not skim
|
|
6
|
+
|
|
7
|
+
- Navigator-first workflow for non-trivial tasks; ask for approval before implementation. `tailtrail start` is planning-only: never implement, edit, run project/scanner/Terraform/Git commands after planning without a separate explicit `approve` (`looks good` / `go ahead` never approve).
|
|
8
|
+
- MCP first (default path): if the TailTrail MCP server is configured, call the single `tailtrail_start` tool once with `approved: true` — one atomic call, do not split lock/report, nothing to retype. Else if this host can run project commands, run `tailtrail start "<goal>"` (CLI fallback). Else state the plan is not persisted and give the exact command. Return the tool/CLI output as the complete Start Report verbatim (starts `# TailTrail Start Plan`, includes the run ID) outside any collapsible terminal/tool-result panel, then stop. Never synthesize a substitute plan or task list. Verify `Planning Lock`, `Scope`, `Requirements`, `Selected TailTrail features`, `Plan`, `Focused validation`, `Approval`; the selected-features table is mandatory — never replace it with `Next step`. Preserve fences, table pipes, backticks, spacing; never retype, normalize, or HTML-escape. If a section is missing, paste stdout again. For official runs, never end the turn at the Start Report: generate and record questions, then return the Requirements report in the same turn.
|
|
9
|
+
- Before sending any Start, closure, or hello reply: verify the run ID, `text` fence, and required headings are all present; if anything is missing, paste the stdout again instead of sending a partial reply.
|
|
10
|
+
- Current-turn Start boundary: evaluate Start only from the current user message. A prior mention, pasted error output, log, stack trace, or follow-up is not a new Planning Lock. Reuse an awaiting-approval run ID; with no active run and no explicit Start, use guide routing.
|
|
11
|
+
- Natural TailTrail requests and read-only questions (tell me / what are / list / describe / explain / graph / summary, no change verb): run `tailtrail intent "<words>"` first, follow its briefing, use the guide flow, and never create a Planning Lock. `looks good`, `go ahead`, and similar wording never approve; approval requires an explicit `approve`. `tailtrail intent resolve "<words>"` / MCP `intent_resolve` is read-only and grants no authority.
|
|
12
|
+
- Requirement interpretation is exact-goal-bound: send no private reasoning. Pass artifacts via `requirement_artifact` (SHA-256 bound) before scope; bind clauses with source IDs, keep quoted literals in `quoted`, build requirements from outcome / constraint / scope only, keep questions open. An attached image the host can see but has not bound is a material open question, not a silent drop: include what must be specified from it as a `question` clause. Missing or unreadable artifacts stop before scope and Planning Lock.
|
|
13
|
+
- Scope evidence v2 host boundary: consume the fingerprint plus owner / inspection / proof / excluded roles; never reclassify paths or promote unresolved scope. Scope work happens before Planning Lock persistence; unresolved Build scope creates no lock.
|
|
14
|
+
- Requirement-before-scope host boundary: consume MCP `requirement_route` directly (`deferred` forbids graph work and Planning Lock creation; only `eligible` permits bounded scope work). Requirement-routing negative assurance: a missing or deferred route combined with scope or run authority is a conformance failure — report it, never reinterpret; scope availability cannot preempt requirement intake.
|
|
15
|
+
- Evidence-first scope: when the packet route is `requested`, return one schema-v2 proposal bound to the exact packet, decision, target, hashes, and edge IDs via `navigator_scope_proposal_record`. Invented paths, stale hash, or rejected proposals create no run.
|
|
16
|
+
- Interactive Plan Mode host boundary: while a plan is awaiting approval, answer only from saved planning evidence (`planning explain` / `discuss` / `revise`); never start implementation. After Debug reproduction or revision transitions, return the canonical `Next actions` and `Route to a code fix` guidance; an `awaiting-reproduction-input` request keeps hypotheses and correction blocked. See `DEBUG-HARNESS.md` for the full lifecycle.
|
|
17
|
+
- `tailtrail stop` is the highest-priority control; `tailtrail resume --run-id <exact-run-id>` only reattaches (never approves or advances). Rejected plan: do not inspect source, tests, scanners, or Git and do not create a new run; return the `feedback-template` blank form for the same run ID (`AIDLC Requirements mode` on second material rejection).
|
|
18
|
+
- Activated run: retain `execution_handoff`, obey `closure.command`; never substitute a generic summary. Lite/Off `approved-plan-auto-grant` continues internally; Standard/Full and Intent Bridge show the defensive handoff. Close with `completion-report` plus `closure finalize`, returning stdout verbatim.
|
|
19
|
+
- `hello tailtrail` variants: run `tailtrail hello`, return the ASCII TailTrail banner plus result verbatim as the complete response, preserve the command-emitted `text` fence, no narration, no todo/status update, never suggest `doctor` after it.
|
|
20
|
+
- Staleness check: when asked whether instructions are current, quote the `TailTrail instructions revision` line verbatim.
|
|
21
|
+
- After changes: post-change review; scanner approval before heavy commands; learnings as advisory (source / tests / CI / scanners / policy / guardrails / user win); token claims estimated unless measured telemetry; label graph/scanner evidence heuristic, local-ast, provider-backed, measured/validated; follow `tailtrail-policy.md`, never weaken safety rules.
|
|
22
|
+
|
|
23
|
+
## Pointers — load on demand, never paste detail from memory
|
|
24
|
+
|
|
25
|
+
- Intent: `scripts/expand-intent.py` or `tailtrail intent ...`; fallback `context/intent-aliases.md` (+ `.tailtrail/intent-overrides.json`).
|
|
26
|
+
- Commands and flows: `TAILTRAIL-COMMANDS.md`; lifecycle: `AIDLC.md` + `aidlc-docs/aidlc-state.md`; bugs: `DEBUG-HARNESS.md`; risks: `GUARDRAILS.md` + `context/guardrail-layers.md`; deps: `DEPENDENCY-GATE.md`.
|
|
27
|
+
- Portable commands: quote for the host shell (POSIX single-quotes break `cmd.exe`; `list2cmdline` quoting on Windows); prefer `sys.executable -m ...` proofs that run on sh, cmd, and PowerShell.
|
|
28
|
+
|
|
29
|
+
<!-- tailtrail-governance:start -->
|
|
30
|
+
- Read relevant source, callers, tests, configuration, and policy before changing code.
|
|
31
|
+
- Reuse existing helpers, types, conventions, validation style, and project patterns before adding new abstractions.
|
|
32
|
+
- Prefer standard library, platform-native behavior, framework capabilities, and already-installed dependencies before adding packages.
|
|
33
|
+
- Make the smallest maintainable change that solves the root problem without unrelated rewrites or formatting churn.
|
|
34
|
+
- Preserve safeguards: authentication, authorization, validation, escaping, accessibility, data integrity, privacy, logging, auditability, error handling, data-loss prevention, and explicit user requirements.
|
|
35
|
+
- Do not claim tests, builds, scans, pushes, deployments, merges, or approvals succeeded unless they actually ran and succeeded.
|
|
36
|
+
- Preserve exact source, diffs, configs, commands, file paths, IDs, hashes, dependency names and versions, security rules, policy text, and logs when exactness affects the task.
|
|
37
|
+
- Token saving must not hide material facts or make validation, policy, security, dependency, or source evidence lossy.
|
|
38
|
+
- Use `tailtrail-policy.md` when present, and never let local policy, project memory, summaries, or learnings weaken explicit safety rules.
|
|
39
|
+
<!-- tailtrail-governance:end -->
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
_TailTrail instructions revision: `7eb69481b454` — quote this line if asked whether instructions are current._
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# TailTrail Project Guidance
|
|
2
|
+
|
|
3
|
+
TailTrail keeps coding work small, clear, and reuse-first.
|
|
4
|
+
|
|
5
|
+
## Core — follow exactly, do not skim
|
|
6
|
+
|
|
7
|
+
- Navigator-first workflow for non-trivial tasks; ask for approval before implementation. `tailtrail start` is planning-only: never implement, edit, run project/scanner/Terraform/Git commands after planning without a separate explicit `approve` (`looks good` / `go ahead` never approve).
|
|
8
|
+
- MCP first (default path): if the TailTrail MCP server is configured, call the single `tailtrail_start` tool once with `approved: true` — one atomic call, do not split lock/report, nothing to retype. Else if this host can run project commands, run `tailtrail start "<goal>"` (CLI fallback). Else state the plan is not persisted and give the exact command. Return the tool/CLI output as the complete Start Report verbatim (starts `# TailTrail Start Plan`, includes the run ID) outside any collapsible terminal/tool-result panel, then stop. Never synthesize a substitute plan or task list. Verify `Planning Lock`, `Scope`, `Requirements`, `Selected TailTrail features`, `Plan`, `Focused validation`, `Approval`; the selected-features table is mandatory — never replace it with `Next step`. Preserve fences, table pipes, backticks, spacing; never retype, normalize, or HTML-escape. If a section is missing, paste stdout again. For official runs, never end the turn at the Start Report: generate and record questions, then return the Requirements report in the same turn.
|
|
9
|
+
- Before sending any Start, closure, or hello reply: verify the run ID, `text` fence, and required headings are all present; if anything is missing, paste the stdout again instead of sending a partial reply.
|
|
10
|
+
- Current-turn Start boundary: evaluate Start only from the current user message. A prior mention, pasted error output, log, stack trace, or follow-up is not a new Planning Lock. Reuse an awaiting-approval run ID; with no active run and no explicit Start, use guide routing.
|
|
11
|
+
- Natural TailTrail requests and read-only questions (tell me / what are / list / describe / explain / graph / summary, no change verb): run `tailtrail intent "<words>"` first, follow its briefing, use the guide flow, and never create a Planning Lock. `looks good`, `go ahead`, and similar wording never approve; approval requires an explicit `approve`. `tailtrail intent resolve "<words>"` / MCP `intent_resolve` is read-only and grants no authority.
|
|
12
|
+
- Requirement interpretation is exact-goal-bound: send no private reasoning. Pass artifacts via `requirement_artifact` (SHA-256 bound) before scope; bind clauses with source IDs, keep quoted literals in `quoted`, build requirements from outcome / constraint / scope only, keep questions open. An attached image the host can see but has not bound is a material open question, not a silent drop: include what must be specified from it as a `question` clause. Missing or unreadable artifacts stop before scope and Planning Lock.
|
|
13
|
+
- Scope evidence v2 host boundary: consume the fingerprint plus owner / inspection / proof / excluded roles; never reclassify paths or promote unresolved scope. Scope work happens before Planning Lock persistence; unresolved Build scope creates no lock.
|
|
14
|
+
- Requirement-before-scope host boundary: consume MCP `requirement_route` directly (`deferred` forbids graph work and Planning Lock creation; only `eligible` permits bounded scope work). Requirement-routing negative assurance: a missing or deferred route combined with scope or run authority is a conformance failure — report it, never reinterpret; scope availability cannot preempt requirement intake.
|
|
15
|
+
- Evidence-first scope: when the packet route is `requested`, return one schema-v2 proposal bound to the exact packet, decision, target, hashes, and edge IDs via `navigator_scope_proposal_record`. Invented paths, stale hash, or rejected proposals create no run.
|
|
16
|
+
- Interactive Plan Mode host boundary: while a plan is awaiting approval, answer only from saved planning evidence (`planning explain` / `discuss` / `revise`); never start implementation. After Debug reproduction or revision transitions, return the canonical `Next actions` and `Route to a code fix` guidance; an `awaiting-reproduction-input` request keeps hypotheses and correction blocked. See `DEBUG-HARNESS.md` for the full lifecycle.
|
|
17
|
+
|
|
18
|
+
<!-- tailtrail-debug-host:start -->
|
|
19
|
+
- Debug Start records command-free orientation only and must not spawn project, test, graph-helper, scanner, package-manager, external-provider, or Git commands. Preserve the same run, workflow, and requirement IDs across Start approval, reproduction draft, approved host execution, experiment proposal, root-cause proof, separately approved correction, canonical closure finalize, and the unified Completion Report.
|
|
20
|
+
- Diagnose only through the `tailtrail-host-debug-diagnosis` contract and return only its closed typed `proposal`; MCP operations only record supplied authority or factual evidence. TailTrail-managed state, including every `.tailtrail/**` path, is never application ownership evidence; reproduction and correction approvals remain mandatory.
|
|
21
|
+
<!-- tailtrail-debug-host:end -->
|
|
22
|
+
- `tailtrail stop` is the highest-priority control; `tailtrail resume --run-id <exact-run-id>` only reattaches (never approves or advances). Rejected plan: do not inspect source, tests, scanners, or Git and do not create a new run; return the `feedback-template` blank form for the same run ID (`AIDLC Requirements mode` on second material rejection).
|
|
23
|
+
- Activated run: retain `execution_handoff`, obey `closure.command`; never substitute a generic summary. Lite/Off `approved-plan-auto-grant` continues internally; Standard/Full and Intent Bridge show the defensive handoff. Close with `completion-report` plus `closure finalize`, returning stdout verbatim.
|
|
24
|
+
- `hello tailtrail` variants: run `tailtrail hello`, return the ASCII TailTrail banner plus result verbatim as the complete response, preserve the command-emitted `text` fence, no narration, no todo/status update, never suggest `doctor` after it.
|
|
25
|
+
- Staleness check: when asked whether instructions are current, quote the `TailTrail instructions revision` line verbatim.
|
|
26
|
+
- After changes: post-change review; scanner approval before heavy commands; learnings as advisory (source / tests / CI / scanners / policy / guardrails / user win); token claims estimated unless measured telemetry; label graph/scanner evidence heuristic, local-ast, provider-backed, measured/validated; follow `tailtrail-policy.md`, never weaken safety rules.
|
|
27
|
+
|
|
28
|
+
## Pointers — load on demand, never paste detail from memory
|
|
29
|
+
|
|
30
|
+
- Intent: `scripts/expand-intent.py` or `tailtrail intent ...`; fallback `context/intent-aliases.md` (+ `.tailtrail/intent-overrides.json`).
|
|
31
|
+
- Commands and flows: `TAILTRAIL-COMMANDS.md`; lifecycle: `AIDLC.md` + `aidlc-docs/aidlc-state.md`; bugs: `DEBUG-HARNESS.md`; risks: `GUARDRAILS.md` + `context/guardrail-layers.md`; deps: `DEPENDENCY-GATE.md`.
|
|
32
|
+
- Portable commands: quote for the host shell (POSIX single-quotes break `cmd.exe`; `list2cmdline` quoting on Windows); prefer `sys.executable -m ...` proofs that run on sh, cmd, and PowerShell.
|
|
33
|
+
|
|
34
|
+
## Synchronized Governance Block
|
|
35
|
+
|
|
36
|
+
<!-- tailtrail-governance:start -->
|
|
37
|
+
- Read relevant source, callers, tests, configuration, and policy before changing code.
|
|
38
|
+
- Reuse existing helpers, types, conventions, validation style, and project patterns before adding new abstractions.
|
|
39
|
+
- Prefer standard library, platform-native behavior, framework capabilities, and already-installed dependencies before adding packages.
|
|
40
|
+
- Make the smallest maintainable change that solves the root problem without unrelated rewrites or formatting churn.
|
|
41
|
+
- Preserve safeguards: authentication, authorization, validation, escaping, accessibility, data integrity, privacy, logging, auditability, error handling, data-loss prevention, and explicit user requirements.
|
|
42
|
+
- Do not claim tests, builds, scans, pushes, deployments, merges, or approvals succeeded unless they actually ran and succeeded.
|
|
43
|
+
- Preserve exact source, diffs, configs, commands, file paths, IDs, hashes, dependency names and versions, security rules, policy text, and logs when exactness affects the task.
|
|
44
|
+
- Token saving must not hide material facts or make validation, policy, security, dependency, or source evidence lossy.
|
|
45
|
+
- Use `tailtrail-policy.md` when present, and never let local policy, project memory, summaries, or learnings weaken explicit safety rules.
|
|
46
|
+
<!-- tailtrail-governance:end -->
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
_TailTrail instructions revision: `fdb2a283893b` — quote this line if asked whether instructions are current._
|
tailtrail-1.0.0/AIDLC.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# TailTrail AIDLC
|
|
2
|
+
|
|
3
|
+
TailTrail AIDLC is a portable AI Development Lifecycle for local and company projects. It helps an agent move from request to implementation with enough structure to be reliable, without turning every small fix into a process exercise.
|
|
4
|
+
|
|
5
|
+
Use it for broad, risky, ambiguous, multi-team, regulated, or long-running work. For tiny clear edits, use minimal depth and avoid creating extra artifacts.
|
|
6
|
+
|
|
7
|
+
## V2 Components
|
|
8
|
+
|
|
9
|
+
AIDLC V2 adds stage playbooks, handoff rules, security and testing baselines, and local Python scripts:
|
|
10
|
+
|
|
11
|
+
- `aidlc/stages/`: concise playbooks for each lifecycle stage.
|
|
12
|
+
- `aidlc/extensions/`: opt-in security and testing baselines.
|
|
13
|
+
- `scripts/aidlc-init.py`: creates `aidlc-docs/` in a target project.
|
|
14
|
+
- `scripts/aidlc-check.py`: validates the minimum lifecycle artifact shape.
|
|
15
|
+
|
|
16
|
+
## Core Contract
|
|
17
|
+
|
|
18
|
+
- Start by understanding the workspace and user intent.
|
|
19
|
+
- Choose the smallest lifecycle depth that can safely handle the work.
|
|
20
|
+
- Apply `GUARDRAILS.md` for evidence, uncertainty, approval, validation truth, exactness, and safeguard preservation.
|
|
21
|
+
- Read `tailtrail-policy.md` when present for local lifecycle, validation, dependency, ownership, and security expectations.
|
|
22
|
+
- Record durable state in `aidlc-docs/aidlc-state.md`.
|
|
23
|
+
- Record important decisions and approvals in `aidlc-docs/audit.md`.
|
|
24
|
+
- Ask non-trivial clarifying questions in files, not long chat threads.
|
|
25
|
+
- Require approval gates for standard and comprehensive work before moving across major boundaries.
|
|
26
|
+
- Keep application code out of `aidlc-docs/`.
|
|
27
|
+
- Load only the current lifecycle slice when resuming work.
|
|
28
|
+
|
|
29
|
+
## Artifact Location
|
|
30
|
+
|
|
31
|
+
In a target project, store lifecycle artifacts under:
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
aidlc-docs/
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Recommended names:
|
|
38
|
+
|
|
39
|
+
- `aidlc-state.md`
|
|
40
|
+
- `audit.md`
|
|
41
|
+
- `questions.md`
|
|
42
|
+
- `requirements.md`
|
|
43
|
+
- `workflow-plan.md`
|
|
44
|
+
- `implementation-plan.md`
|
|
45
|
+
- `diff-handoff.md`
|
|
46
|
+
- `validation-handoff.md`
|
|
47
|
+
- `operations-notes.md`
|
|
48
|
+
|
|
49
|
+
Use fewer files for minimal work. Use more files only when they reduce ambiguity, risk, or handoff cost.
|
|
50
|
+
|
|
51
|
+
To initialize a target project:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
python3 scripts/aidlc-init.py --root /path/to/project --depth standard
|
|
55
|
+
python3 scripts/aidlc-check.py --root /path/to/project
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Use strict answer validation only after question files should be complete:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
python3 scripts/aidlc-check.py --root /path/to/project --strict-answers
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Depth Levels
|
|
65
|
+
|
|
66
|
+
| Depth | Use When | Artifact Style |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| `minimal` | Clear, low-risk, small-scope work | Update state, capture the request, run focused validation, hand off briefly. |
|
|
69
|
+
| `standard` | Normal feature, bug, or refactor work | Create requirements, workflow plan, implementation handoff, validation handoff, and approval gates. |
|
|
70
|
+
| `comprehensive` | High-risk, multi-team, regulated, production-sensitive, or system-wide work | Add deeper requirements, questions, design notes, risk/NFR notes, operations notes, and explicit approvals. |
|
|
71
|
+
|
|
72
|
+
Depth changes detail level, not discipline. Minimal work still preserves security, validation, data integrity, accessibility, and explicit user requirements.
|
|
73
|
+
|
|
74
|
+
## Phases
|
|
75
|
+
|
|
76
|
+
### 1. Inception
|
|
77
|
+
|
|
78
|
+
Purpose: understand the work before choosing implementation shape.
|
|
79
|
+
|
|
80
|
+
Always consider:
|
|
81
|
+
|
|
82
|
+
- workspace detection
|
|
83
|
+
- request and requirement analysis
|
|
84
|
+
- risk and ambiguity
|
|
85
|
+
- workflow planning
|
|
86
|
+
|
|
87
|
+
Use conditionally:
|
|
88
|
+
|
|
89
|
+
- reverse engineering for brownfield systems
|
|
90
|
+
- user stories for stakeholder-heavy work
|
|
91
|
+
- design notes for new boundaries or changed architecture
|
|
92
|
+
- NFR notes for performance, reliability, privacy, security, compliance, observability, or operability risk
|
|
93
|
+
|
|
94
|
+
Outputs:
|
|
95
|
+
|
|
96
|
+
- `aidlc-docs/aidlc-state.md`
|
|
97
|
+
- `aidlc-docs/audit.md`
|
|
98
|
+
- `aidlc-docs/questions.md` when needed
|
|
99
|
+
- `aidlc-docs/requirements.md`
|
|
100
|
+
- `aidlc-docs/workflow-plan.md`
|
|
101
|
+
|
|
102
|
+
Gate for standard or comprehensive depth: requirements and workflow plan approved.
|
|
103
|
+
|
|
104
|
+
### 2. Construction
|
|
105
|
+
|
|
106
|
+
Purpose: implement approved units of work with a clear validation path.
|
|
107
|
+
|
|
108
|
+
Always consider:
|
|
109
|
+
|
|
110
|
+
- implementation plan for non-trivial work
|
|
111
|
+
- exact source files and tests
|
|
112
|
+
- dependency gate before adding packages
|
|
113
|
+
- focused validation
|
|
114
|
+
- build/test output slicing for noisy logs
|
|
115
|
+
|
|
116
|
+
Use conditionally:
|
|
117
|
+
|
|
118
|
+
- per-unit design for multi-unit work
|
|
119
|
+
- NFR design notes for high-risk requirements
|
|
120
|
+
- migration or data notes when state changes
|
|
121
|
+
- rollback notes when production impact exists
|
|
122
|
+
|
|
123
|
+
Outputs:
|
|
124
|
+
|
|
125
|
+
- `aidlc-docs/implementation-plan.md`
|
|
126
|
+
- code changes in the application repo
|
|
127
|
+
- `aidlc-docs/diff-handoff.md`
|
|
128
|
+
- `aidlc-docs/validation-handoff.md`
|
|
129
|
+
|
|
130
|
+
Gate for standard or comprehensive depth: implementation plan approved before coding; validation handoff approved before closeout.
|
|
131
|
+
|
|
132
|
+
### 3. Operations
|
|
133
|
+
|
|
134
|
+
Purpose: capture what must be known after code changes ship or move toward production.
|
|
135
|
+
|
|
136
|
+
Use when deployment, support, monitoring, rollback, migration, or production readiness is in scope.
|
|
137
|
+
|
|
138
|
+
Outputs:
|
|
139
|
+
|
|
140
|
+
- `aidlc-docs/operations-notes.md`
|
|
141
|
+
|
|
142
|
+
Gate for standard or comprehensive depth: operations notes approved before production handoff.
|
|
143
|
+
|
|
144
|
+
## Question Files
|
|
145
|
+
|
|
146
|
+
Use `templates/question-file.md` when ambiguity affects scope, safety, data, ownership, user experience, or approval. Keep questions specific and answerable.
|
|
147
|
+
|
|
148
|
+
Question rules:
|
|
149
|
+
|
|
150
|
+
- Use file-based questions for non-trivial ambiguity.
|
|
151
|
+
- Include meaningful choices.
|
|
152
|
+
- Put `Other` as the final option.
|
|
153
|
+
- Include one recommended option after each question.
|
|
154
|
+
- Add concise reasoning for the recommendation so the user can review the tradeoff.
|
|
155
|
+
- State any assumption behind the recommendation instead of presenting it as fact.
|
|
156
|
+
- Leave `[Answer]:` for the user to fill in.
|
|
157
|
+
- After answers are provided, check for contradictions before proceeding.
|
|
158
|
+
|
|
159
|
+
## Approval Gates
|
|
160
|
+
|
|
161
|
+
Use `templates/stage-gate.md` for standard and comprehensive work.
|
|
162
|
+
|
|
163
|
+
Required gates:
|
|
164
|
+
|
|
165
|
+
- requirements to workflow planning
|
|
166
|
+
- workflow planning to implementation planning
|
|
167
|
+
- implementation planning to coding
|
|
168
|
+
- validation handoff to closeout
|
|
169
|
+
- operations readiness when production handoff is involved
|
|
170
|
+
|
|
171
|
+
Minimal work can use a short inline approval note in `aidlc-docs/aidlc-state.md` if the user clearly asked to proceed.
|
|
172
|
+
|
|
173
|
+
## Resume Rule
|
|
174
|
+
|
|
175
|
+
When resuming AIDLC work:
|
|
176
|
+
|
|
177
|
+
1. Read `aidlc-docs/aidlc-state.md` first.
|
|
178
|
+
2. Read only artifacts needed for the current phase and stage.
|
|
179
|
+
3. Use `context/slices.md` and the `aidlc` slice to avoid loading every lifecycle file.
|
|
180
|
+
4. Refresh stale facts when source files, requirements, approvals, commands, or policies changed.
|
|
181
|
+
5. Update state and audit after meaningful progress.
|
|
182
|
+
|
|
183
|
+
## Handoff Rule
|
|
184
|
+
|
|
185
|
+
Handoff is the compact transfer package for the next developer, reviewer, agent, or operations owner. Use `aidlc/stages/handoff.md` and the active handoff template when work changes owner, moves to review, finishes validation, or goes toward production.
|
|
186
|
+
|
|
187
|
+
Handoff must say:
|
|
188
|
+
|
|
189
|
+
- what changed
|
|
190
|
+
- what was reused
|
|
191
|
+
- what was intentionally skipped
|
|
192
|
+
- what validation ran
|
|
193
|
+
- what risk remains
|
|
194
|
+
- what exact files, diffs, commands, or logs can be reopened
|
|
195
|
+
- what approval or next action is needed
|
|
196
|
+
|
|
197
|
+
## Dependency Rule
|
|
198
|
+
|
|
199
|
+
Before adding a dependency, use `DEPENDENCY-GATE.md`. Prefer existing project capabilities, standard libraries, platform-native features, and already-installed packages.
|
|
200
|
+
|
|
201
|
+
## TailTrail Fit
|
|
202
|
+
|
|
203
|
+
AIDLC should make large work safer and easier to resume. It should not make small work heavy. If an artifact does not reduce ambiguity, risk, handoff cost, or validation effort, skip it and record why in state or handoff.
|