@event4u/agent-config 3.3.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/README.md +2 -2
- package/.agent-src/commands/agent-handoff.md +31 -2
- package/.agent-src/commands/agent-status.md +5 -5
- package/.agent-src/commands/agents/audit.md +8 -8
- package/.agent-src/commands/agents/init.md +25 -1
- package/.agent-src/commands/agents/optimize.md +3 -3
- package/.agent-src/commands/agents/user.md +1 -1
- package/.agent-src/commands/agents.md +1 -1
- package/.agent-src/commands/analyze-reference-repo.md +1 -1
- package/.agent-src/commands/check-current-md.md +8 -8
- package/.agent-src/commands/{compress.md → condense.md} +55 -55
- package/.agent-src/commands/context/create.md +7 -4
- package/.agent-src/commands/context/refactor.md +3 -1
- package/.agent-src/commands/feature/dev.md +1 -1
- package/.agent-src/commands/feature/explore.md +1 -1
- package/.agent-src/commands/feature/plan.md +10 -8
- package/.agent-src/commands/feature/refactor.md +3 -1
- package/.agent-src/commands/feature/roadmap.md +7 -4
- package/.agent-src/commands/fix/portability.md +3 -3
- package/.agent-src/commands/fix/refs.md +4 -4
- package/.agent-src/commands/ghostwriter.md +2 -2
- package/.agent-src/commands/memory/learn-low-impact.md +3 -3
- package/.agent-src/commands/module/explore.md +34 -8
- package/.agent-src/commands/optimize/agents-dir.md +9 -7
- package/.agent-src/commands/optimize/augmentignore.md +2 -2
- package/.agent-src/commands/optimize/skills.md +9 -9
- package/.agent-src/commands/post-as.md +1 -1
- package/.agent-src/commands/project-analyze.md +2 -2
- package/.agent-src/commands/project-health.md +3 -2
- package/.agent-src/commands/research/deep.md +1 -1
- package/.agent-src/commands/research/report.md +1 -1
- package/.agent-src/commands/research.md +1 -1
- package/.agent-src/commands/roadmap/ai-council.md +1 -1
- package/.agent-src/commands/roadmap/create.md +9 -4
- package/.agent-src/commands/rule-compliance-audit.md +1 -1
- package/.agent-src/commands/upstream-contribute.md +14 -14
- package/.agent-src/commands/video/from-script.md +1 -1
- package/.agent-src/commands/video/scene.md +1 -1
- package/.agent-src/commands/video/stitch.md +1 -1
- package/.agent-src/commands/video/storyboard.md +1 -1
- package/.agent-src/commands/video.md +1 -1
- package/.agent-src/contexts/augment-infrastructure.md +1 -1
- package/.agent-src/contexts/authority/commit-mechanics.md +15 -0
- package/.agent-src/contexts/authority/kernel-rule-edits.md +3 -3
- package/.agent-src/contexts/authority/scope-mechanics.md +1 -1
- package/.agent-src/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md +28 -28
- package/.agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +4 -4
- package/.agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +2 -2
- package/.agent-src/contexts/contracts/artifact-engagement-flow.md +6 -6
- package/.agent-src/contexts/contracts/command-suggestion-flow.md +3 -3
- package/.agent-src/contexts/contracts/emergency-triage-block.md +4 -4
- package/.agent-src/contexts/contracts/frugality-charter.md +3 -3
- package/.agent-src/contexts/documentation-hierarchy.md +14 -7
- package/.agent-src/contexts/execution/autonomy-examples.md +1 -1
- package/.agent-src/contexts/execution/cheap-question-mechanics.md +39 -2
- package/.agent-src/contexts/execution/roadmap-process-loop.md +28 -5
- package/.agent-src/contexts/override-system.md +5 -5
- package/.agent-src/ghostwriter/fictional-fixture-v1.md +1 -1
- package/.agent-src/personas/advisors/first-principles.md +1 -1
- package/.agent-src/personas/hollywood-director.md +1 -1
- package/.agent-src/rules/architecture.md +5 -1
- package/.agent-src/rules/augment-edit-discipline.md +5 -5
- package/.agent-src/rules/augment-source-of-truth.md +15 -15
- package/.agent-src/rules/commit-conventions.md +1 -1
- package/.agent-src/rules/commit-policy.md +10 -0
- package/.agent-src/rules/domain-adoption-policy.md +3 -3
- package/.agent-src/rules/fast-path-marker-visibility.md +3 -3
- package/.agent-src/rules/finance-safety-floor.md +1 -1
- package/.agent-src/rules/framework-neutrality-in-generic-skills.md +8 -8
- package/.agent-src/rules/git-history-discipline.md +1 -1
- package/.agent-src/rules/improve-before-implement.md +2 -2
- package/.agent-src/rules/language-and-tone.md +2 -2
- package/.agent-src/rules/media-governance-routing.md +5 -5
- package/.agent-src/rules/no-attribution-footers.md +1 -0
- package/.agent-src/rules/no-cheap-questions.md +3 -0
- package/.agent-src/rules/no-decorative-emojis-in-git-surfaces.md +111 -0
- package/.agent-src/rules/no-pr-progress-comments.md +118 -0
- package/.agent-src/rules/no-roadmap-references.md +3 -3
- package/.agent-src/rules/non-destructive-by-default.md +1 -1
- package/.agent-src/rules/persona-governance.md +3 -3
- package/.agent-src/rules/preservation-guard.md +15 -15
- package/.agent-src/rules/roadmap-ci-steps-policy.md +7 -3
- package/.agent-src/rules/rule-type-governance.md +1 -1
- package/.agent-src/rules/skill-quality.md +1 -1
- package/.agent-src/rules/{caveman-speak.md → telegraph-speak.md} +15 -15
- package/.agent-src/rules/token-optimizer-maintenance.md +6 -6
- package/.agent-src/skills/agent-docs-writing/SKILL.md +17 -11
- package/.agent-src/skills/agents-md-thin-root/SKILL.md +9 -9
- package/.agent-src/skills/check-refs/SKILL.md +2 -2
- package/.agent-src/skills/code-refactoring/SKILL.md +2 -2
- package/.agent-src/skills/command-writing/SKILL.md +19 -19
- package/.agent-src/skills/comp-banding/SKILL.md +1 -1
- package/.agent-src/skills/condense-memory/SKILL.md +131 -0
- package/.agent-src/skills/context-authoring/SKILL.md +2 -2
- package/.agent-src/skills/context-document/SKILL.md +5 -3
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +3 -3
- package/.agent-src/skills/description-assist/SKILL.md +2 -2
- package/.agent-src/skills/git-workflow/SKILL.md +1 -1
- package/.agent-src/skills/guideline-writing/SKILL.md +5 -5
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +4 -4
- package/.agent-src/skills/lint-skills/SKILL.md +3 -3
- package/.agent-src/skills/md-language-check/SKILL.md +2 -2
- package/.agent-src/skills/module-detect-on-the-fly/SKILL.md +138 -0
- package/.agent-src/skills/module-management/SKILL.md +166 -94
- package/.agent-src/skills/override-management/SKILL.md +1 -1
- package/.agent-src/skills/persona-writing/SKILL.md +5 -5
- package/.agent-src/skills/positioning-strategy/SKILL.md +1 -1
- package/.agent-src/skills/project-docs/SKILL.md +6 -4
- package/.agent-src/skills/readme-reviewer/SKILL.md +2 -2
- package/.agent-src/skills/roadmap-management/SKILL.md +13 -1
- package/.agent-src/skills/roadmap-writing/SKILL.md +4 -2
- package/.agent-src/skills/rule-refactor/SKILL.md +5 -5
- package/.agent-src/skills/rule-writing/SKILL.md +18 -18
- package/.agent-src/skills/script-writing/SKILL.md +1 -1
- package/.agent-src/skills/skill-improvement-pipeline/SKILL.md +6 -6
- package/.agent-src/skills/skill-management/SKILL.md +21 -21
- package/.agent-src/skills/skill-reviewer/SKILL.md +2 -2
- package/.agent-src/skills/skill-writing/SKILL.md +8 -8
- package/.agent-src/skills/skill-writing/evals/triggers.json +1 -1
- package/.agent-src/skills/token-optimizer/SKILL.md +4 -4
- package/.agent-src/skills/unit-economics-modeling/SKILL.md +1 -1
- package/.agent-src/skills/upstream-contribute/SKILL.md +17 -17
- package/.agent-src/templates/AGENTS.md +1 -0
- package/.agent-src/templates/agent-settings.md +24 -13
- package/.agent-src/templates/agents/agent-project-settings.example.yml +61 -2
- package/.agent-src/templates/command.md +5 -5
- package/.agent-src/templates/contexts.md +1 -1
- package/.agent-src/templates/copilot-instructions.md +8 -8
- package/.agent-src/templates/features.md +1 -1
- package/.agent-src/templates/hooks/pre-commit-frontmatter +2 -2
- package/.agent-src/templates/hooks/pre-commit-roadmap-progress +3 -3
- package/.agent-src/templates/persona.md +2 -2
- package/.agent-src/templates/roadmaps.md +1 -1
- package/.agent-src/templates/rule.md +13 -13
- package/.agent-src/templates/scripts/memory_lookup.py +1 -1
- package/.agent-src/templates/scripts/memory_status.py +2 -2
- package/.agent-src/templates/scripts/work_engine/_lib/agent_settings.py +195 -1
- package/.agent-src/templates/scripts/work_engine/orchestration.py +1 -1
- package/.agent-src/templates/skill-archive-note.md +5 -5
- package/.agent-src/templates/skill.md +1 -1
- package/.claude-plugin/marketplace.json +4 -4
- package/AGENTS.md +16 -17
- package/CHANGELOG.md +216 -3
- package/CONTRIBUTING.md +31 -12
- package/README.md +21 -12
- package/config/agent-settings.template.yml +22 -2
- package/config/discovery/unassigned-artefacts.yml +24 -24
- package/config/profiles/full.ini +1 -1
- package/dist/cli/agent-config.js +52 -3
- package/dist/cli/agent-config.js.map +1 -1
- package/dist/cli/commands/uiServe.js +9 -0
- package/dist/cli/commands/uiServe.js.map +1 -1
- package/dist/cli/registry.js +2 -1
- package/dist/cli/registry.js.map +1 -1
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +649 -606
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +4 -4
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +439 -437
- package/dist/discovery/trust-report.md +5 -5
- package/dist/discovery/workspaces.json +450 -448
- package/dist/install/atomic.js +92 -0
- package/dist/install/atomic.js.map +1 -0
- package/dist/install/conflict.js +196 -0
- package/dist/install/conflict.js.map +1 -0
- package/dist/install/detect.js +218 -0
- package/dist/install/detect.js.map +1 -0
- package/dist/install/paths.js +82 -0
- package/dist/install/paths.js.map +1 -0
- package/dist/install/plan.js +157 -0
- package/dist/install/plan.js.map +1 -0
- package/dist/install/txlog.js +140 -0
- package/dist/install/txlog.js.map +1 -0
- package/dist/install/types.js +19 -0
- package/dist/install/types.js.map +1 -0
- package/dist/install/wizard-plan.js +184 -0
- package/dist/install/wizard-plan.js.map +1 -0
- package/dist/mcp/registry-manifest.json +4 -4
- package/dist/router.json +67 -19
- package/dist/server/app.js +6 -0
- package/dist/server/app.js.map +1 -1
- package/dist/server/routes/install.js +358 -0
- package/dist/server/routes/install.js.map +1 -0
- package/dist/server/routes/wizard.js +468 -32
- package/dist/server/routes/wizard.js.map +1 -1
- package/dist/server/routes/workspace.js +396 -0
- package/dist/server/routes/workspace.js.map +1 -0
- package/dist/server/schemas/settings.js +5 -3
- package/dist/server/schemas/settings.js.map +1 -1
- package/dist/ui/assets/index-BDAhhpDV.js +40 -0
- package/dist/ui/assets/index-BDAhhpDV.js.map +1 -0
- package/dist/ui/assets/index-BXZILUxe.css +1 -0
- package/dist/ui/index.html +2 -2
- package/docs/MIGRATION.md +1 -1
- package/docs/adrs/cost/0001-hard-stop-hook.md +1 -1
- package/docs/adrs/router/0001-three-tier-routing.md +4 -4
- package/docs/adrs/schema/0001-json-schema-frontmatter.md +1 -1
- package/docs/adrs/smoke/0001-per-tier-smoke-scripts.md +4 -4
- package/docs/adrs/{caveman → telegraph}/0001-default-off-until-bench.md +9 -9
- package/docs/adrs/telegraph/README.md +9 -0
- package/docs/architecture/augment-projection.md +4 -4
- package/docs/architecture/claude-bundle.md +1 -1
- package/docs/architecture/current-onboard-baseline.md +3 -3
- package/docs/architecture/multi-tool-projection.md +10 -10
- package/docs/architecture/source-projection.md +27 -27
- package/docs/architecture.md +19 -15
- package/docs/archive/CHANGELOG-pre-2.11.0.md +2 -2
- package/docs/archive/CHANGELOG-pre-2.15.0.md +3 -3
- package/docs/archive/CHANGELOG-pre-2.16.0.md +1 -1
- package/docs/archive/CHANGELOG-pre-2.2.0.md +70 -70
- package/docs/archive/CHANGELOG-pre-2.20.0.md +2 -2
- package/docs/archive/CHANGELOG-pre-2.25.0.md +15 -15
- package/docs/archive/CHANGELOG-pre-3.0.0.md +4 -4
- package/docs/archive/CHANGELOG-pre-3.1.0.md +2 -2
- package/docs/archive/CHANGELOG-pre-3.2.0.md +3 -3
- package/docs/benchmark.md +65 -0
- package/docs/benchmarks.md +16 -16
- package/docs/catalog.md +17 -15
- package/docs/contracts/CHANGELOG-conventions.md +1 -1
- package/docs/contracts/STABILITY.md +2 -2
- package/docs/contracts/adoption-signal-floor.md +110 -0
- package/docs/contracts/adr-chat-history-split.md +4 -4
- package/docs/contracts/adr-command-suggestion.md +4 -4
- package/docs/contracts/adr-gtm-context-spine.md +1 -1
- package/docs/contracts/adr-implement-ticket-runtime.md +4 -4
- package/docs/contracts/adr-install-user-type-axis.md +1 -1
- package/docs/contracts/adr-layout.md +2 -2
- package/docs/contracts/adr-product-ui-track.md +10 -10
- package/docs/contracts/adr-user-types-axis.md +3 -3
- package/docs/contracts/adr-wing4-context-spine.md +1 -1
- package/docs/contracts/agent-memory-contract.md +3 -3
- package/docs/contracts/agents-md-tech-stack.md +2 -2
- package/docs/contracts/ai-council-config.md +2 -2
- package/docs/contracts/at-rest-encryption.md +4 -0
- package/docs/contracts/audit-log-v1.md +1 -1
- package/docs/contracts/benchmark-ab-contract.md +101 -0
- package/docs/contracts/benchmark-corpus-spec.md +1 -1
- package/docs/contracts/branch-protection-policy.md +98 -0
- package/docs/contracts/ci-cost-budget.md +106 -0
- package/docs/contracts/ci-green-floor.md +141 -0
- package/docs/contracts/command-clusters.md +6 -6
- package/docs/contracts/command-surface-tiers.md +2 -2
- package/docs/contracts/command-taxonomy.md +2 -2
- package/docs/contracts/{compression-default-kill-criterion.md → condensation-default-kill-criterion.md} +29 -29
- package/docs/contracts/config-presets.md +1 -1
- package/docs/contracts/context-paths.md +3 -3
- package/docs/contracts/context-spine.md +1 -1
- package/docs/contracts/cost-summary-schema.md +12 -12
- package/docs/contracts/cross-wing-handoff.md +4 -4
- package/docs/contracts/daily-workspace.md +4 -0
- package/docs/contracts/decision-trace-v1.md +2 -2
- package/docs/contracts/discovery-manifest.md +4 -4
- package/docs/contracts/explain-modes.md +4 -0
- package/docs/contracts/file-ownership-matrix.json +3493 -3318
- package/docs/contracts/file-ownership-matrix.md +3 -3
- package/docs/contracts/frontmatter-contract.md +4 -4
- package/docs/contracts/ghostwriter-schema.md +3 -3
- package/docs/contracts/gui-wizard.md +110 -97
- package/docs/contracts/harness-expectations.md +123 -0
- package/docs/contracts/host-agent-protocol.md +4 -0
- package/docs/contracts/implement-ticket-flow.md +9 -9
- package/docs/contracts/install-scopes.md +77 -0
- package/docs/contracts/iron-law-overrides.txt +1 -1
- package/docs/contracts/kernel-membership.md +26 -26
- package/docs/contracts/linear-ai-rules-inclusion.md +1 -1
- package/docs/contracts/linter-structural-model.md +2 -2
- package/docs/contracts/load-context-budget-model.md +4 -4
- package/docs/contracts/load-context-schema.md +13 -13
- package/docs/contracts/local-analytics.md +4 -0
- package/docs/contracts/local-knowledge-ingestion.md +1 -1
- package/docs/contracts/mcp-cloud-scope.md +2 -2
- package/docs/contracts/mcp-phase-1-scope.md +3 -3
- package/docs/contracts/measurement-baseline.md +5 -5
- package/docs/contracts/mental-models.md +30 -30
- package/docs/contracts/multi-tool-projection-fidelity.md +4 -4
- package/docs/contracts/namespace.md +4 -4
- package/docs/contracts/orchestration-dsl-v1.md +7 -7
- package/docs/contracts/package-self-orientation.md +12 -12
- package/docs/contracts/persona-schema.md +6 -6
- package/docs/contracts/pilot/language-and-tone.md +1 -1
- package/docs/contracts/plain-language-surface.md +117 -0
- package/docs/contracts/profile-system.md +3 -3
- package/docs/contracts/release-pr-gating.md +103 -0
- package/docs/contracts/role-experience.md +3 -3
- package/docs/contracts/rule-classification.md +13 -13
- package/docs/contracts/rule-interactions.md +4 -4
- package/docs/contracts/rule-interactions.yml +30 -30
- package/docs/contracts/rule-priority-hierarchy.md +13 -13
- package/docs/contracts/rule-router.md +2 -2
- package/docs/contracts/safety-model.md +1 -1
- package/docs/contracts/skill-distribution-channels.md +61 -0
- package/docs/contracts/skill-domains.md +2 -2
- package/docs/contracts/smoke-contracts.md +5 -5
- package/docs/contracts/telegraph-telemetry.md +83 -0
- package/docs/contracts/trust-and-safety.md +5 -5
- package/docs/contracts/ui-stack-extension.md +7 -7
- package/docs/contracts/ui-track-flow.md +9 -9
- package/docs/contracts/user-type-schema.md +4 -4
- package/docs/contracts/workflow-packs.md +4 -4
- package/docs/contracts/workspace-documents.md +4 -0
- package/docs/customization.md +28 -8
- package/docs/decisions/ADR-001-kernel-swap-deferred.md +6 -6
- package/docs/decisions/ADR-002-kernel-bucket-overrides.md +11 -11
- package/docs/decisions/ADR-003-flat-cluster-subs-and-colon-syntax.md +2 -2
- package/docs/decisions/ADR-004-rule-governance-pruning.md +4 -4
- package/docs/decisions/ADR-005-subagent-worktrees.md +7 -7
- package/docs/decisions/ADR-011-domain-pack-readiness.md +6 -6
- package/docs/decisions/ADR-013-discovery-frontmatter-contract.md +3 -3
- package/docs/decisions/ADR-015-discovery-manifest-contract.md +3 -3
- package/docs/decisions/ADR-017-monorepo-physical-layout.md +10 -10
- package/docs/decisions/ADR-018-trust-and-safety-layer.md +6 -6
- package/docs/decisions/ADR-019-router-json-dist-location.md +2 -2
- package/docs/decisions/ADR-020-global-only-consumer-scope.md +2 -2
- package/docs/decisions/ADR-021-deployment-shape.md +3 -3
- package/docs/decisions/ADR-022-daily-workspace-decomposition.md +1 -1
- package/docs/decisions/ADR-027-changelog-machine-vs-manual.md +2 -2
- package/docs/decisions/ADR-028-root-layout.md +7 -7
- package/docs/decisions/ADR-029-multi-workspace-deferred.md +2 -2
- package/docs/decisions/ADR-rule-kernel-and-router.md +5 -5
- package/docs/deploy/connector-setup.md +2 -2
- package/docs/deploy/policy-cookbook.md +2 -2
- package/docs/deploy/team-deployment-posture.md +20 -0
- package/docs/development.md +17 -17
- package/docs/distribution/registries.md +32 -0
- package/docs/distribution/registry-submissions.md +85 -0
- package/docs/distribution/telemetry-schema.md +1 -1
- package/docs/getting-started-by-role.md +45 -3
- package/docs/getting-started.md +2 -2
- package/docs/guidelines/agent-infra/5w2h-analysis.md +3 -3
- package/docs/guidelines/agent-infra/ask-when-uncertain-demos.md +1 -1
- package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +3 -3
- package/docs/guidelines/agent-infra/carve-out-predicates.md +3 -3
- package/docs/guidelines/agent-infra/critical-thinking.md +4 -4
- package/docs/guidelines/agent-infra/direct-answers-demos.md +1 -1
- package/docs/guidelines/agent-infra/first-principles.md +2 -2
- package/docs/guidelines/agent-infra/inversion-thinking.md +5 -5
- package/docs/guidelines/agent-infra/layered-settings.md +56 -2
- package/docs/guidelines/agent-infra/mental-models.md +3 -3
- package/docs/guidelines/agent-infra/roadmap-progress-mechanics.md +2 -2
- package/docs/guidelines/agent-infra/rule-type-governance.md +1 -1
- package/docs/guidelines/agent-infra/scqa-framework.md +5 -5
- package/docs/guidelines/agent-infra/self-improvement-pipeline.md +2 -2
- package/docs/guidelines/agent-infra/six-hats.md +3 -3
- package/docs/guidelines/agent-infra/skill-quality-checklist.md +5 -5
- package/docs/guidelines/agent-infra/systems-thinking.md +1 -1
- package/docs/guidelines/agent-infra/verify-before-complete-demos.md +1 -1
- package/docs/guidelines/augment-portability-patterns.md +4 -4
- package/docs/guidelines/cross-role-handoff.md +2 -2
- package/docs/guidelines/php/php-coding-patterns.md +1 -1
- package/docs/guidelines/prompt-templates.md +6 -6
- package/docs/maintainers/dev-mode.md +1 -1
- package/docs/mcp.md +1 -1
- package/docs/parity/bench.json +3 -3
- package/docs/parity/ruflo.md +2 -2
- package/docs/profiles.md +11 -11
- package/docs/quality.md +11 -11
- package/docs/safety.md +3 -3
- package/docs/setup/mcp-client-config.md +1 -1
- package/docs/setup/mcp-r2-bootstrap.md +1 -1
- package/docs/setup/mcp-server-docker.md +3 -3
- package/docs/setup/per-ide/windsurf.md +1 -1
- package/docs/skills-catalog.md +8 -7
- package/docs/troubleshooting.md +1 -1
- package/docs/walkthroughs/daily-workspace-a11y.md +87 -0
- package/llms.txt +7 -6
- package/package.json +1 -1
- package/scripts/__pycache__/validate_frontmatter.cpython-312.pyc +0 -0
- package/scripts/_archive/README.md +2 -2
- package/scripts/_archive/_backfill_skill_domains.py +3 -3
- package/scripts/_archive/_bootstrap_tier_frontmatter.py +3 -3
- package/scripts/_archive/_p43_bodies.py +10 -10
- package/scripts/_archive/{_p43_compress.py → _p43_condense.py} +5 -5
- package/scripts/_archive/_p4_migrate.py +7 -7
- package/scripts/_archive/_phase2_shim_helper.py +1 -1
- package/scripts/_archive/_pilot_council_question.py +5 -5
- package/scripts/_cli/explain_last/inputs.py +1 -1
- package/scripts/_lib/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/_lib/__pycache__/agent_src.cpython-312.pyc +0 -0
- package/scripts/_lib/agent_settings.py +195 -1
- package/scripts/_lib/agent_src.py +19 -19
- package/scripts/_lib/bench_ab_cache.py +162 -0
- package/scripts/_lib/bench_ab_scoring.py +209 -0
- package/scripts/_lib/{bench_caveman.py → bench_telegraph.py} +21 -21
- package/scripts/_lib/{bench_caveman_report.py → bench_telegraph_report.py} +21 -21
- package/scripts/_lib/claude_desktop_bundler.py +5 -5
- package/scripts/_lib/module_detection.py +223 -0
- package/scripts/_lib/scope_guard.sh +162 -0
- package/scripts/_phase4_bucket.py +3 -3
- package/scripts/_pilot_measure.py +4 -4
- package/scripts/_tmp_scan_framework_leakage.py +1 -1
- package/scripts/adoption_report.py +195 -0
- package/scripts/adoption_snapshot.py +219 -0
- package/scripts/adoption_status.py +166 -0
- package/scripts/ai-video/lib/parse-blueprint.sh +1 -1
- package/scripts/ai_council/advisors.py +5 -5
- package/scripts/ai_council/compile_corpus.py +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_budget_v2_audit.py +3 -3
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_context_layer_v1_review.py +2 -2
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_inject_quiet_flag.py +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_measure_v2.sh +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_measure_verbosity.sh +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_nondestructive_inline_audit.py +3 -3
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_per_task.sh +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase6_trigger_jaccard.py +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase_2a_budget_rebalance.py +6 -6
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_rebalancing_audit.py +1 -1
- package/scripts/ai_council/one_off_archive/2026-05/_one_off_tier_retrofit.py +6 -6
- package/scripts/annotate_discovery.py +13 -13
- package/scripts/apply_modules_config.py +290 -0
- package/scripts/audit_adr_coverage.py +2 -2
- package/scripts/audit_auto_rules.py +2 -2
- package/scripts/audit_cloud_compatibility.py +3 -3
- package/scripts/audit_command_surface.py +9 -9
- package/scripts/audit_likelihood.py +2 -2
- package/scripts/audit_user_type_axis.py +2 -2
- package/scripts/bench_ab_cache_dispatch.py +68 -0
- package/scripts/bench_ab_clone.py +170 -0
- package/scripts/bench_ab_diff.py +227 -0
- package/scripts/bench_ab_integrity.py +143 -0
- package/scripts/bench_ab_run.py +235 -0
- package/scripts/bench_ab_task_runner.py +369 -0
- package/scripts/bench_ab_tracka_run.py +202 -0
- package/scripts/{bench_compress_memory.py → bench_condense_memory.py} +16 -16
- package/scripts/bench_run.py +33 -33
- package/scripts/bench_runner.py +2 -2
- package/scripts/bootstrap.sh +99 -0
- package/scripts/build_cloud_bundle.py +6 -6
- package/scripts/build_discovery_manifest.py +7 -7
- package/scripts/build_linear_digest.py +3 -3
- package/scripts/build_rule_trigger_matrix.py +8 -8
- package/scripts/chat_history.py +5 -5
- package/scripts/check_always_budget.py +11 -5
- package/scripts/check_augment_description_cap.py +3 -3
- package/scripts/check_cluster_patterns.py +2 -2
- package/scripts/check_command_count_messaging.py +3 -3
- package/scripts/{check_compression.py → check_condensation.py} +34 -34
- package/scripts/{check_compressed_paths.py → check_condensed_paths.py} +8 -8
- package/scripts/check_context_paths.py +7 -7
- package/scripts/check_council_layout.py +2 -2
- package/scripts/check_council_references.py +9 -9
- package/scripts/check_iron_law_prominence.py +2 -2
- package/scripts/check_kernel_rule_bundle.py +2 -2
- package/scripts/check_module_management_neutral.py +149 -0
- package/scripts/check_no_roadmap_refs.py +9 -9
- package/scripts/check_portability.py +3 -3
- package/scripts/check_public_catalog_links.py +4 -4
- package/scripts/check_references.py +7 -6
- package/scripts/check_release_pr_shape.py +112 -0
- package/scripts/check_reply_consistency.py +3 -3
- package/scripts/check_safety_floor_untouched.py +1 -1
- package/scripts/check_template_pin_drift.py +5 -5
- package/scripts/check_token_optimizer_freshness.py +3 -3
- package/scripts/ci_status.py +301 -0
- package/scripts/ci_time_ratio.py +1 -1
- package/scripts/cleanup_other_scope.sh +146 -0
- package/scripts/compile_router.py +10 -10
- package/scripts/{compress.py → condense.py} +64 -64
- package/scripts/condense.sh +18 -0
- package/scripts/{compress_memory.py → condense_memory.py} +33 -33
- package/scripts/config/presets.py +2 -2
- package/scripts/config/profiles.py +1 -1
- package/scripts/cost_by_conversation.py +3 -3
- package/scripts/cost_summary.py +7 -7
- package/scripts/count_token_optimizer_usage.sh +1 -1
- package/scripts/gen_discovery_baseline.py +5 -5
- package/scripts/generate_index.py +6 -6
- package/scripts/generate_ownership_matrix.py +10 -10
- package/scripts/generate_pack_manifests.py +1 -1
- package/scripts/ghostwriter_fixture_allowlist.txt +1 -1
- package/scripts/install +3 -3
- package/scripts/install-hooks.sh +6 -6
- package/scripts/install.py +273 -45
- package/scripts/install.sh +187 -1
- package/scripts/inventory_frontmatter.py +2 -2
- package/scripts/iron_law_sha.py +3 -3
- package/scripts/lint_agents_layout.py +14 -7
- package/scripts/lint_agents_md.py +4 -4
- package/scripts/lint_archived_skills.py +3 -3
- package/scripts/lint_artefact_frontmatter.py +2 -2
- package/scripts/lint_bench_ab.py +172 -0
- package/scripts/lint_bench_corpus.py +1 -1
- package/scripts/lint_command_tiers.py +5 -5
- package/scripts/lint_context_spine_usage.py +1 -1
- package/scripts/lint_framework_leakage.py +7 -7
- package/scripts/lint_framework_leakage_allowlist.json +152 -84
- package/scripts/lint_ghostwriter_source.py +3 -3
- package/scripts/lint_handoffs.py +1 -1
- package/scripts/lint_load_context.py +11 -11
- package/scripts/lint_media_policy_linkage.py +5 -5
- package/scripts/lint_namespace.py +1 -1
- package/scripts/lint_no_new_atomic_commands.py +2 -2
- package/scripts/lint_orchestration_dsl.py +1 -1
- package/scripts/lint_pack_boundaries.py +2 -2
- package/scripts/lint_persona_governance.py +4 -4
- package/scripts/lint_role_experiences.py +237 -0
- package/scripts/lint_rule_interactions.py +2 -2
- package/scripts/lint_rule_tiers.py +1 -1
- package/scripts/lint_trust_coherence.py +2 -2
- package/scripts/mcp_registry_submit.sh +187 -0
- package/scripts/mcp_server/tools.py +1 -1
- package/scripts/measure_frugality_savings.py +10 -10
- package/scripts/measure_patterns.py +1 -1
- package/scripts/measure_projection_bytes.py +5 -5
- package/scripts/measure_rule_budget.py +3 -3
- package/scripts/measure_skill_reduction.py +1 -1
- package/scripts/memory_lookup.py +1 -1
- package/scripts/memory_status.py +2 -2
- package/scripts/migrate_command_suggestions.py +3 -3
- package/scripts/mine_session.py +1 -1
- package/scripts/move_artefact.py +3 -3
- package/scripts/new_skill.py +2 -2
- package/scripts/pack_mcp_content.py +9 -9
- package/scripts/plan_physical_move.py +6 -6
- package/scripts/print_required_checks.py +196 -0
- package/scripts/probe_skill_registration.py +413 -0
- package/scripts/propose_modules_config.py +145 -0
- package/scripts/prototype_lint_contradictions.py +1 -1
- package/scripts/recruit_preflight.sh +152 -0
- package/scripts/refine_ticket_detect.py +3 -3
- package/scripts/release.py +20 -0
- package/scripts/render_benchmark_md.py +308 -0
- package/scripts/roadmap_progress_hook.py +1 -1
- package/scripts/run_skill_evals.py +2 -2
- package/scripts/runtime_registry.py +4 -4
- package/scripts/schemas/command.schema.json +4 -4
- package/scripts/schemas/rule.schema.json +5 -5
- package/scripts/schemas/skill.schema.json +3 -3
- package/scripts/schemas/user-type.schema.json +1 -1
- package/scripts/score_skill_selection.py +1 -1
- package/scripts/skill_collision_clusters.py +2 -2
- package/scripts/skill_linter.py +81 -81
- package/scripts/skill_overlap.py +5 -5
- package/scripts/skill_tools/audit_persona_coverage.py +2 -2
- package/scripts/skill_tools/audit_user_type_coverage.py +2 -2
- package/scripts/skill_tools/run_block_d_eval.py +1 -1
- package/scripts/skill_tools/score_skill_relevance.py +1 -1
- package/scripts/skill_tools/suggest_skill_for_task.py +1 -1
- package/scripts/skill_trigger_eval.py +3 -3
- package/scripts/smoke/kernel.sh +7 -1
- package/scripts/smoke/router.sh +5 -5
- package/scripts/smoke/skills.sh +1 -1
- package/scripts/smoke_quickstart.py +1 -1
- package/scripts/snapshot_agent_outputs.py +3 -3
- package/scripts/spotcheck_thin_root.py +1 -1
- package/scripts/{caveman_stats.py → telegraph_stats.py} +18 -18
- package/scripts/update_counts.py +1 -1
- package/scripts/validate_decision_engine.py +1 -1
- package/scripts/validate_frontmatter.py +1 -1
- package/scripts/validate_safe_paths.py +3 -3
- package/scripts/{validate_caveman_carveouts.py → validate_telegraph_carveouts.py} +7 -7
- package/scripts/verify_roadmap_closure.py +6 -6
- package/templates/consumer-settings/ONBOARDING.md +41 -0
- package/.agent-src/commands/install-via-agent.md +0 -129
- package/.agent-src/skills/compress-memory/SKILL.md +0 -131
- package/dist/ui/assets/index-D-DY1ywI.js +0 -35
- package/dist/ui/assets/index-D-DY1ywI.js.map +0 -1
- package/dist/ui/assets/index-Dqfhmg-d.css +0 -1
- package/docs/adrs/caveman/README.md +0 -9
- package/docs/contracts/caveman-telemetry.md +0 -83
- package/scripts/compress.sh +0 -18
|
@@ -43,7 +43,7 @@ diff.
|
|
|
43
43
|
### 1. Validate dependencies
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
scripts/ai-video/lib/validate-deps.sh .agent-src.
|
|
46
|
+
scripts/ai-video/lib/validate-deps.sh .agent-src.uncondensed/commands/video/storyboard.md
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### 2. Load config + resolve image provider
|
|
@@ -63,7 +63,7 @@ contract under [`scripts/ai-video/lib/adapter-contract.md`](../scripts/ai-video/
|
|
|
63
63
|
- **Run `validate-deps.sh` first.** Every subcommand calls
|
|
64
64
|
`scripts/ai-video/lib/validate-deps.sh` before any adapter; fails
|
|
65
65
|
fast on missing personas / skills.
|
|
66
|
-
- **Edit `.agent-src.
|
|
66
|
+
- **Edit `.agent-src.uncondensed/` only.** Generated mirrors regenerate.
|
|
67
67
|
|
|
68
68
|
## See also
|
|
69
69
|
|
|
@@ -57,7 +57,7 @@ Define hard constraints: coding standards, Docker usage, language preferences, s
|
|
|
57
57
|
|---|---|
|
|
58
58
|
| `quality-workflow.md` | PHP (PHPStan → Rector → PHPStan) and JS/TS pipelines |
|
|
59
59
|
| `downstream-changes.md` | After every edit, find and update ALL callers, tests, imports |
|
|
60
|
-
| `augment-edit-discipline.md` | Edits inside `.augment/` / `.agent-src.
|
|
60
|
+
| `augment-edit-discipline.md` | Edits inside `.augment/` / `.agent-src.uncondensed/` stay project-agnostic AND sync counts + cross-references in the same edit |
|
|
61
61
|
| `context-hygiene.md` | 3-failure rule, state dumps |
|
|
62
62
|
| `architecture.md` | Architecture principles, file placement |
|
|
63
63
|
| `docker-commands.md` | All PHP commands run inside Docker containers |
|
|
@@ -21,6 +21,21 @@ Outside the four below, no commit is allowed and no commit ask is allowed.
|
|
|
21
21
|
4. **Roadmap authorization** — roadmap lists explicit commit steps and
|
|
22
22
|
the user invoked roadmap execution; each commit matches a step.
|
|
23
23
|
|
|
24
|
+
## Always split into logical chunks — default mandate
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
WHEN A COMMIT IS AUTHORIZED, ALWAYS SPLIT THE DIFF INTO THE
|
|
28
|
+
SMALLEST LOGICAL CHUNKS THAT MAKE SENSE. NEVER ASK "EIN COMMIT
|
|
29
|
+
ODER MEHRERE?", "WIE SOLL ICH SPLITTEN?", "WELCHER ZUERST?".
|
|
30
|
+
THE SPLIT IS THE AGENT'S CALL, NOT THE USER'S.
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Default shape — one chunk per concern (scope / refactor / rules / config / cleanup), in dependency order (foundation → feature → cleanup). Mixed-concern files split by hunk via `git add -p`. Generated / projected files (e.g. `.agent-src/`, `.augment/`, `.claude/`) ride with the source-of-truth chunk that produced them, not as a separate "regenerate projections" commit.
|
|
34
|
+
|
|
35
|
+
The chunking decision is **never** a numbered option. Pick a sensible split, state it inline ("splitte in 3 chunks: workspace-scope · rules-hardening · gitignore-cleanup"), execute. The user retains revert / amend control after the fact — they don't need to pre-approve the chunk boundary.
|
|
36
|
+
|
|
37
|
+
Carve-out — if the diff is genuinely indivisible (single hunk, single concern, single file family) → one commit, state inline. If a chunk would cross the Hard Floor below (bulk deletion / infra), surface that chunk's diff per the next section before its commit lands, not before the chunk boundary is chosen.
|
|
38
|
+
|
|
24
39
|
## Hard Floor still applies — bulk deletions and infra changes
|
|
25
40
|
|
|
26
41
|
Even when one of the four `commit-policy` exceptions authorizes a
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Loaded by [`scope-control`](../../rules/scope-control.md). Codifies the
|
|
4
4
|
soak-time guarantee for edits to always-loaded (kernel) rules under
|
|
5
|
-
`.agent-src.
|
|
5
|
+
`.agent-src.uncondensed/rules/`.
|
|
6
6
|
|
|
7
7
|
**Size budget:** ≤ 1,500 chars.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ diagnosis.
|
|
|
22
22
|
## Trigger
|
|
23
23
|
|
|
24
24
|
A PR is a "kernel-rule edit" iff it modifies any file in
|
|
25
|
-
`.agent-src.
|
|
25
|
+
`.agent-src.uncondensed/rules/` that is in the locked kernel set
|
|
26
26
|
(see [`docs/contracts/kernel-membership.md`](../../../docs/contracts/kernel-membership.md)).
|
|
27
27
|
|
|
28
28
|
The CI guard (Phase 4.2 of the always-budget-relief roadmap) fails
|
|
@@ -43,6 +43,6 @@ records why the bundle is necessary in the PR body.
|
|
|
43
43
|
## Source
|
|
44
44
|
|
|
45
45
|
- Roadmap Phase 4: always-budget-relief roadmap § Phase 4 (transient — see `agents/roadmaps/archive/`).
|
|
46
|
-
- Lesson: PR #36 (2026-05-04)
|
|
46
|
+
- Lesson: PR #36 (2026-05-04) condensed the rollout schedule under
|
|
47
47
|
autonomous mandate; the slow-rollout note was deferred until this
|
|
48
48
|
ADR pass.
|
|
@@ -91,7 +91,7 @@ User decides. Default: **3** when the current branch's name and scope match the
|
|
|
91
91
|
|
|
92
92
|
**Failure mode — diverging stacked PRs.** Skipping the inventory and committing to the wrong base creates two PRs that should have been one stack: merge conflicts when the parent lands, rebase / force-push churn, duplicate review effort. The 30-second inventory cost up front beats hours of rebase reconciliation later.
|
|
93
93
|
|
|
94
|
-
**Failure mode — opening a PR on a stale long-lived branch.** A pre-existing feature branch (e.g. `feat/X` last touched days ago) is still "the current branch" but its base — `main` — has moved on. Auto-generated artifacts (`agents/roadmaps-progress.md`, ownership matrices,
|
|
94
|
+
**Failure mode — opening a PR on a stale long-lived branch.** A pre-existing feature branch (e.g. `feat/X` last touched days ago) is still "the current branch" but its base — `main` — has moved on. Auto-generated artifacts (`agents/roadmaps-progress.md`, ownership matrices, condensed mirrors, hash files) are the canonical collision surface: any merged PR on `main` touched them, and the stale branch's copy is now a content conflict by construction. Opening a PR without fetching `main` first surfaces conflicts only after `gh pr create` has already published the broken PR.
|
|
95
95
|
|
|
96
96
|
**Pre-PR freshness check — MANDATORY** (mirrored in [`/create-pr` Step 1b](../../commands/create-pr.md)). Before `gh pr create`:
|
|
97
97
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Source of Truth — mechanics
|
|
2
2
|
|
|
3
|
-
Workflow,
|
|
3
|
+
Workflow, condensation rules, commands workflow, symlink mapping, and
|
|
4
4
|
quick reference for the
|
|
5
5
|
[`augment-source-of-truth`](../../../rules/augment-source-of-truth.md)
|
|
6
6
|
rule. The Iron Rule and the "never edit generated layers" obligation
|
|
@@ -9,45 +9,45 @@ when authoring or pre-review verification fires.
|
|
|
9
9
|
|
|
10
10
|
## Workflow
|
|
11
11
|
|
|
12
|
-
1. **Create or edit** the file in `.agent-src.
|
|
13
|
-
2. **Do NOT auto-
|
|
14
|
-
3. **Before commit/push:** Check if
|
|
15
|
-
(`bash scripts/
|
|
12
|
+
1. **Create or edit** the file in `.agent-src.uncondensed/{path}`
|
|
13
|
+
2. **Do NOT auto-condense.** Continue working.
|
|
14
|
+
3. **Before commit/push:** Check if condensation is needed
|
|
15
|
+
(`bash scripts/condense.sh --changed`). If files need condensation,
|
|
16
16
|
ask the user:
|
|
17
17
|
```
|
|
18
|
-
> 📦 {N} .agent-src files need
|
|
18
|
+
> 📦 {N} .agent-src files need condensation before commit.
|
|
19
19
|
>
|
|
20
|
-
> 1.
|
|
21
|
-
> 2. Later — commit without
|
|
20
|
+
> 1. Condense now — run /condense
|
|
21
|
+
> 2. Later — commit without condensation
|
|
22
22
|
```
|
|
23
|
-
4. If
|
|
24
|
-
`bash scripts/
|
|
23
|
+
4. If condensing: run `/condense` command, then
|
|
24
|
+
`bash scripts/condense.sh --mark-done {path}`
|
|
25
25
|
|
|
26
26
|
For new non-.md files (`.php`, configs):
|
|
27
|
-
`bash scripts/
|
|
27
|
+
`bash scripts/condense.sh --sync` copies them automatically.
|
|
28
28
|
|
|
29
|
-
**Key change:**
|
|
29
|
+
**Key change:** Condensation happens once before commit/push — not after every edit.
|
|
30
30
|
This avoids interruptions when work is still in progress.
|
|
31
31
|
|
|
32
|
-
## What "
|
|
32
|
+
## What "condense" means
|
|
33
33
|
|
|
34
34
|
- Remove articles (a, an, the), filler, hedging, connective fluff
|
|
35
35
|
- Shorten phrases: "in order to" → "to", "make sure to" → "ensure"
|
|
36
36
|
- Fragments OK: "Run tests before commit" not "You should always run tests before committing"
|
|
37
37
|
- Merge redundant bullets
|
|
38
38
|
|
|
39
|
-
## What NEVER changes during
|
|
39
|
+
## What NEVER changes during condensation
|
|
40
40
|
|
|
41
41
|
- Code blocks, inline code, URLs, file paths, commands
|
|
42
42
|
- Headings (exact text preserved)
|
|
43
|
-
- Tables (structure preserved,
|
|
43
|
+
- Tables (structure preserved, condense cell text only)
|
|
44
44
|
- YAML frontmatter
|
|
45
45
|
- Technical terms, library names, API names
|
|
46
46
|
- Strong language: "NEVER", "MUST", "Do NOT" — these are load-bearing
|
|
47
47
|
|
|
48
48
|
## Commands workflow
|
|
49
49
|
|
|
50
|
-
Commands live in `.agent-src.
|
|
50
|
+
Commands live in `.agent-src.uncondensed/commands/{name}.md` (single source of truth).
|
|
51
51
|
Claude Code reads them via symlinks in `.claude/skills/{name}/SKILL.md`.
|
|
52
52
|
|
|
53
53
|
**Required frontmatter for commands:**
|
|
@@ -60,14 +60,14 @@ disable-model-invocation: true
|
|
|
60
60
|
|
|
61
61
|
- `name` and `disable-model-invocation: true` are required for Claude Code compatibility
|
|
62
62
|
- Augment ignores unknown frontmatter fields — no conflict
|
|
63
|
-
- Template: `.agent-src.
|
|
63
|
+
- Template: `.agent-src.uncondensed/templates/command.md`
|
|
64
64
|
|
|
65
65
|
**Creating a new command:**
|
|
66
66
|
|
|
67
|
-
1. Create `.agent-src.
|
|
67
|
+
1. Create `.agent-src.uncondensed/commands/{name}.md` (use template)
|
|
68
68
|
2. Run `python3 scripts/skill_linter.py` — must be 0 FAIL
|
|
69
|
-
3.
|
|
70
|
-
4. Run `python3 scripts/
|
|
69
|
+
3. Condense via `/condense`, which writes to `.agent-src/commands/`
|
|
70
|
+
4. Run `python3 scripts/condense.py --generate-tools` — creates Claude symlink automatically
|
|
71
71
|
|
|
72
72
|
**Never** create `.claude/skills/{name}/SKILL.md` manually for commands — always use the symlink workflow.
|
|
73
73
|
|
|
@@ -88,11 +88,11 @@ Commands have `disable-model-invocation: true` in their frontmatter.
|
|
|
88
88
|
|
|
89
89
|
| Task | What to do |
|
|
90
90
|
|---|---|
|
|
91
|
-
| Edit existing file | Edit in `.agent-src.
|
|
92
|
-
| Create new `.md` | Create in `.agent-src.
|
|
93
|
-
| Create new non-`.md` | Create in `.agent-src.
|
|
94
|
-
| Create new command | Create in `.agent-src.
|
|
95
|
-
| Delete a file | Delete from `.agent-src.
|
|
96
|
-
| Check what needs
|
|
97
|
-
| Mark file as
|
|
98
|
-
| Verify everything is in sync | `bash scripts/
|
|
91
|
+
| Edit existing file | Edit in `.agent-src.uncondensed/`, condense to `.agent-src/` |
|
|
92
|
+
| Create new `.md` | Create in `.agent-src.uncondensed/`, condense to `.agent-src/` |
|
|
93
|
+
| Create new non-`.md` | Create in `.agent-src.uncondensed/`, run `bash scripts/condense.sh --sync` |
|
|
94
|
+
| Create new command | Create in `.agent-src.uncondensed/commands/`, sync, `python3 scripts/condense.py --generate-tools` |
|
|
95
|
+
| Delete a file | Delete from `.agent-src.uncondensed/` and `.agent-src/` |
|
|
96
|
+
| Check what needs condensation | `bash scripts/condense.sh --changed` |
|
|
97
|
+
| Mark file as condensed | `bash scripts/condense.sh --mark-done {path}` |
|
|
98
|
+
| Verify everything is in sync | `bash scripts/condense.sh --check` |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Skill quality — mechanics
|
|
2
2
|
|
|
3
3
|
Description-triggering recipe, merge-preservation invariants, and
|
|
4
|
-
|
|
4
|
+
condensation-preservation invariants for the
|
|
5
5
|
[`skill-quality`](../../../rules/skill-quality.md) rule. The minimum
|
|
6
6
|
sharpness table, required sections, frontmatter contract, the
|
|
7
7
|
skill-independence Iron Law, and the refactor-safety NEVER list live
|
|
@@ -46,9 +46,9 @@ A merge is invalid if:
|
|
|
46
46
|
- Anti-pattern coverage decreased
|
|
47
47
|
- The merged skill became a generic umbrella doc
|
|
48
48
|
|
|
49
|
-
##
|
|
49
|
+
## Condensation Preservation
|
|
50
50
|
|
|
51
|
-
When
|
|
51
|
+
When condensing a skill, the condensed version MUST preserve:
|
|
52
52
|
|
|
53
53
|
- Trigger quality (description + When to use)
|
|
54
54
|
- All procedure steps that contain decisions
|
|
@@ -56,7 +56,7 @@ When compressing a skill, the compressed version MUST preserve:
|
|
|
56
56
|
- All gotchas and anti-patterns
|
|
57
57
|
- Strongest example (at minimum one good/bad contrast)
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Condensation may remove:
|
|
60
60
|
- Verbose explanations
|
|
61
61
|
- Redundant examples (keep the strongest)
|
|
62
62
|
- Commentary that doesn't affect execution
|
|
@@ -89,8 +89,8 @@ The editor may report that the user has a file open. Background
|
|
|
89
89
|
context only — does NOT mean the user's message is about that file.
|
|
90
90
|
|
|
91
91
|
- The user's message determines intent — not which file is open.
|
|
92
|
-
- A user can have `README.md` open and type `/
|
|
93
|
-
to
|
|
92
|
+
- A user can have `README.md` open and type `/condense` — intent is
|
|
93
|
+
to condense, not to discuss the README.
|
|
94
94
|
- A user can have `UserController.php` open and ask "how do tests
|
|
95
95
|
work?" — intent is testing, not the controller.
|
|
96
96
|
- Treat the open file as relevant only when the user's message
|
|
@@ -14,7 +14,7 @@ stability: beta
|
|
|
14
14
|
|
|
15
15
|
This document is the stable reference for **what gets recorded, when, and
|
|
16
16
|
under which constraints**. The roadmap tracks phased delivery; the rule
|
|
17
|
-
([`artifact-engagement-recording`](../../.agent-src.
|
|
17
|
+
([`artifact-engagement-recording`](../../.agent-src.uncondensed/rules/artifact-engagement-recording.md))
|
|
18
18
|
tells the agent when to fire; this doc explains the contract every
|
|
19
19
|
recording must honour.
|
|
20
20
|
|
|
@@ -55,8 +55,8 @@ refine → memory → analyze → plan → implement → test → verify → rep
|
|
|
55
55
|
|
|
56
56
|
The setting lives at `telemetry.artifact_engagement.granularity` in
|
|
57
57
|
`.agent-settings.yml`. Default `task`. Both flows
|
|
58
|
-
([`/implement-ticket`](../../.agent-src.
|
|
59
|
-
and [`/work`](../../.agent-src.
|
|
58
|
+
([`/implement-ticket`](../../.agent-src.uncondensed/commands/implement-ticket.md)
|
|
59
|
+
and [`/work`](../../.agent-src.uncondensed/commands/work.md)) use the
|
|
60
60
|
same eight-step contract from
|
|
61
61
|
[`implement-ticket-flow.md`](implement-ticket-flow.md).
|
|
62
62
|
|
|
@@ -215,7 +215,7 @@ rule listed above:
|
|
|
215
215
|
# Validate every line against the schema + redaction floor
|
|
216
216
|
python3 -c '
|
|
217
217
|
import pathlib, sys
|
|
218
|
-
sys.path.insert(0, ".agent-src.
|
|
218
|
+
sys.path.insert(0, ".agent-src.uncondensed/templates/scripts")
|
|
219
219
|
from telemetry.engagement import EngagementSchemaError, parse_event
|
|
220
220
|
log = pathlib.Path(".agent-engagement.jsonl")
|
|
221
221
|
ok = bad = 0
|
|
@@ -253,7 +253,7 @@ layers reject.
|
|
|
253
253
|
|
|
254
254
|
## See also
|
|
255
255
|
|
|
256
|
-
- [`artifact-engagement-recording`](../../.agent-src.
|
|
256
|
+
- [`artifact-engagement-recording`](../../.agent-src.uncondensed/rules/artifact-engagement-recording.md) — agent-side trigger
|
|
257
257
|
- [`implement-ticket-flow`](implement-ticket-flow.md) — the eight-step contract this rule observes
|
|
258
|
-
- [`scripts/telemetry/`](../../.agent-src.
|
|
258
|
+
- [`scripts/telemetry/`](../../.agent-src.uncondensed/templates/scripts/telemetry/) — schema, boundary session, settings reader
|
|
259
259
|
- [`tests/telemetry/`](../../tests/telemetry/) — contract enforcement (schema, settings, aggregator, renderer, CLI, cost-floor, redaction)
|
|
@@ -5,7 +5,7 @@ stability: beta
|
|
|
5
5
|
# Command Suggestion — Flow & Scoring Contract
|
|
6
6
|
|
|
7
7
|
> Cross-cutting reference for the suggestion layer.
|
|
8
|
-
> The runtime rule is [`command-suggestion`](../../.agent-src.
|
|
8
|
+
> The runtime rule is [`command-suggestion`](../../.agent-src.uncondensed/rules/command-suggestion-policy.md);
|
|
9
9
|
> the architectural decision lives in [`adr-command-suggestion.md`](adr-command-suggestion.md).
|
|
10
10
|
>
|
|
11
11
|
> - **Created:** 2026-04-30
|
|
@@ -140,7 +140,7 @@ Cursor, Cline, Windsurf) get the engine via `scripts/`.
|
|
|
140
140
|
|
|
141
141
|
## See also
|
|
142
142
|
|
|
143
|
-
- [`command-suggestion`](../../.agent-src.
|
|
143
|
+
- [`command-suggestion`](../../.agent-src.uncondensed/rules/command-suggestion-policy.md) — runtime rule
|
|
144
144
|
- [`adr-command-suggestion.md`](adr-command-suggestion.md) — architectural decision
|
|
145
145
|
- [`command-suggestion-eligibility.md`](command-suggestion-eligibility.md) — locked eligibility table
|
|
146
|
-
- [`agent-settings`](../../.agent-src.
|
|
146
|
+
- [`agent-settings`](../../.agent-src.uncondensed/templates/agent-settings.md) — `commands.suggestion.*` reference
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Canonical content of the **Emergency Triage** block referenced by the
|
|
4
4
|
> `agents-md-thin-root` skill. Both the package-root `AGENTS.md` and
|
|
5
|
-
> `.agent-src.
|
|
5
|
+
> `.agent-src.uncondensed/templates/AGENTS.md` (consumer template)
|
|
6
6
|
> embed this block verbatim. Drift is caught by the `lint-agents-md`
|
|
7
7
|
> task in the package's CI pipeline.
|
|
8
8
|
|
|
@@ -19,14 +19,14 @@ Use this variant in `AGENTS.md` at the package root.
|
|
|
19
19
|
|
|
20
20
|
1. **What is this repo?** — `event4u/agent-config`, a governed skill / rule / command suite for AI coding tools (no application runtime).
|
|
21
21
|
2. **What language?** — All `.md` content is English; agents mirror the user's language at runtime.
|
|
22
|
-
3. **Where do I edit?** — `.agent-src.
|
|
22
|
+
3. **Where do I edit?** — `.agent-src.uncondensed/` only. Never `.agent-src/`, `.augment/`, `.claude/`, `.cursor/`, `.clinerules/`, `.windsurfrules`.
|
|
23
23
|
4. **Lint / test / sync entry point?** — `task ci` (full pipeline). Subsets: `task sync`, `task generate-tools`, `task lint-skills`, `task test`.
|
|
24
24
|
5. **Where do the always-active rules live?** — `.agent-src/rules/` (kernel = 9 Iron-Law rules; tier-1 / tier-2 routed via `.agent-src/router.json`).
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Consumer-template variant
|
|
28
28
|
|
|
29
|
-
Use this variant in `.agent-src.
|
|
29
|
+
Use this variant in `.agent-src.uncondensed/templates/AGENTS.md`. The
|
|
30
30
|
consumer's `AGENTS.md` lands at the consumer-project root after install.
|
|
31
31
|
|
|
32
32
|
```
|
|
@@ -45,7 +45,7 @@ The package-root and the consumer template answer the same five
|
|
|
45
45
|
questions but in different repos:
|
|
46
46
|
|
|
47
47
|
- The package-root variant points at this repo's authoring layer
|
|
48
|
-
(`.agent-src.
|
|
48
|
+
(`.agent-src.uncondensed/`) and the package's CI entry point.
|
|
49
49
|
- The consumer variant tells the agent it is in a **consumer** project
|
|
50
50
|
where `.augment/` is an installed artifact and editing it is wrong.
|
|
51
51
|
|
|
@@ -37,7 +37,7 @@ Live Phase 1 schema (see [`templates/agent-settings.md`](../../templates/agent-s
|
|
|
37
37
|
| `verbosity.offer_council_in_delivery` | When `false`, delivery commands skip the optional "run Council on this?" offer. |
|
|
38
38
|
| `verbosity.post_action_reports` | `off` / `minimal` / `full` — multi-line status blocks after a successful action. |
|
|
39
39
|
| `verbosity.intent_announcements` | When `false`, writers must not generate "Let me…", "Now I will…", "Found it" openers. |
|
|
40
|
-
| `
|
|
40
|
+
| `telegraph.speak_scope` | `off` / `prose_only` / `aggressive` — telegraph-speak grammar scope. Iron-Law fenced blocks never touched. |
|
|
41
41
|
|
|
42
42
|
Phase 10 adds `verbosity.script_output` (`silent` / `minimal` / `verbose`) and `verbosity.taskfile_command_echo` (`true` / `false`); writer artifacts cite this row when those land.
|
|
43
43
|
|
|
@@ -49,9 +49,9 @@ kernel chars. The pointers below replace them.
|
|
|
49
49
|
|
|
50
50
|
| Rule | Interacts with |
|
|
51
51
|
|---|---|
|
|
52
|
-
| `direct-answers` | `language-and-tone` · `ask-when-uncertain` · `think-before-action` · `verify-before-complete` · `token-efficiency` · `user-interaction` (overrides brevity) · `
|
|
52
|
+
| `direct-answers` | `language-and-tone` · `ask-when-uncertain` · `think-before-action` · `verify-before-complete` · `token-efficiency` · `user-interaction` (overrides brevity) · `telegraph-speak` |
|
|
53
53
|
| `no-cheap-questions` | `ask-when-uncertain` · `autonomous-execution` · `commit-policy` · `scope-control` · `non-destructive-by-default` · `user-interaction` · `direct-answers` |
|
|
54
|
-
| `
|
|
54
|
+
| `telegraph-speak` | `language-and-tone` (mirror user language **before** telegraph) · `direct-answers` Iron Law 3 (telegraph is one brevity tactic, not a replacement) · `user-interaction` (numbered-options carve-out) · `commit-policy`, `non-destructive-by-default`, `scope-control` (Iron-Law literal fence carve-outs) |
|
|
55
55
|
|
|
56
56
|
## Decidable carve-out predicates
|
|
57
57
|
|
|
@@ -20,7 +20,7 @@ Layer 2: AGENTS.md ← Project entry point
|
|
|
20
20
|
Layer 3: .github/copilot-instructions ← Coding standards
|
|
21
21
|
Layer 4: agents/overrides/ ← Project customizations of Layer 1
|
|
22
22
|
Layer 5: agents/ ← Project-specific docs
|
|
23
|
-
Layer 6:
|
|
23
|
+
Layer 6: {module_root}/*/{agent_folder}/ ← Module-specific docs (e.g. app/Modules/*/agents/)
|
|
24
24
|
Layer 7: Docs/ ← Technical docs for humans
|
|
25
25
|
Layer 8: {package}/agents/ ← Package-specific docs
|
|
26
26
|
```
|
|
@@ -69,19 +69,26 @@ See `.augment/contexts/override-system.md` for naming conventions and format.
|
|
|
69
69
|
Project-specific knowledge that doesn't belong in the shared package.
|
|
70
70
|
Structural docs live directly in `agents/`, organized content in subdirectories.
|
|
71
71
|
|
|
72
|
-
### Layer 6: `
|
|
72
|
+
### Layer 6: `{module_root}/*/{agent_folder}/` — Module Documentation
|
|
73
73
|
|
|
74
74
|
**Scope:** Single module
|
|
75
|
-
**Location:** `
|
|
75
|
+
**Location:** `{module_root}/{Module}/{agent_folder}/` — resolved via
|
|
76
|
+
`modules.root_paths` + `modules.agent_folder` in `.agent-project-settings.yml`.
|
|
77
|
+
Common shapes:
|
|
78
|
+
|
|
79
|
+
- Laravel — `app/Modules/{Module}/agents/`
|
|
80
|
+
- Symfony bundles — `src/Bundle/{Bundle}/agents/`
|
|
81
|
+
- Node / Python / Go monorepo packages — `packages/{Pkg}/agents/`
|
|
82
|
+
|
|
76
83
|
**Contains:** Module description, module-scoped features, roadmaps, contexts
|
|
77
84
|
|
|
78
85
|
Created when a module has its own conventions or active development.
|
|
79
|
-
Roadmaps are stored in `
|
|
86
|
+
Roadmaps are stored in `{agent_folder}/roadmaps/` per module.
|
|
80
87
|
|
|
81
88
|
### Layer 7: `Docs/` — Technical Documentation
|
|
82
89
|
|
|
83
90
|
**Scope:** Project or module
|
|
84
|
-
**Location:** `Docs/` or `
|
|
91
|
+
**Location:** `Docs/` or `{module_root}/{Module}/Docs/`
|
|
85
92
|
**Contains:** Setup guides, architecture diagrams, API docs
|
|
86
93
|
|
|
87
94
|
For human readers. `agents/` is optimized for AI agents, `Docs/` for humans.
|
|
@@ -105,7 +112,7 @@ When starting work, agents read in this order:
|
|
|
105
112
|
| 3 | `agents/roadmaps/` | Active roadmap context |
|
|
106
113
|
| 4 | `agents/overrides/` | Project customizations |
|
|
107
114
|
| 5 | `agents/` | Project-specific docs for the task |
|
|
108
|
-
| 6 | `
|
|
115
|
+
| 6 | `{module_root}/{Module}/{agent_folder}/` | Module docs (if working on a module; Laravel: `app/Modules/{Module}/agents/`) |
|
|
109
116
|
| 7 | `agents/features/` | Related feature plans |
|
|
110
117
|
| 8 | `agents/roadmaps/` | Active roadmaps |
|
|
111
118
|
|
|
@@ -125,7 +132,7 @@ agents/overrides/skills/eloquent.md ← Override (Layer 4)
|
|
|
125
132
|
|---|---|---|
|
|
126
133
|
| `.augment/contexts/` | Shared (about the agent system) | `augment-infrastructure.md` |
|
|
127
134
|
| `agents/settings/contexts/` | Project-wide | `import-pipeline.md` |
|
|
128
|
-
| `app/Modules/*/agents/settings/contexts/` | Module-specific | `client-api.md` |
|
|
135
|
+
| `{module_root}/*/{agent_folder}/settings/contexts/` (per `modules.root_paths` + `modules.agent_folder`; Laravel: `app/Modules/*/agents/settings/contexts/`) | Module-specific | `client-api.md` |
|
|
129
136
|
|
|
130
137
|
### Template Usage (Layer 1 → Layer 5/6)
|
|
131
138
|
|
|
@@ -66,7 +66,7 @@ or `auto`-after-opt-in, act on them.
|
|
|
66
66
|
- "Do you want a verification table or paragraph?" — pick whichever
|
|
67
67
|
fits the conversation style; format is not a decision worth a turn.
|
|
68
68
|
- "Show me a diff before regenerating output from a tracked source?"
|
|
69
|
-
—
|
|
69
|
+
— condensation, code-gen, formatter passes, lock-file rebuilds — run
|
|
70
70
|
it and report the result. Reversibility comes from the source, not
|
|
71
71
|
from per-file confirmation. See [`non-destructive-by-default`](../../rules/non-destructive-by-default.md#not-in-scope--deterministic-regeneration)
|
|
72
72
|
§ Not in scope.
|
|
@@ -4,7 +4,7 @@ Catalog material for [`no-cheap-questions`](../../rules/no-cheap-questions.md)
|
|
|
4
4
|
|
|
5
5
|
## Cheap classes — full catalog
|
|
6
6
|
|
|
7
|
-
Sequencing · format-only · commit / CI / test asks · fenced re-ask · Iron-Law option · context-derived · dominant option · re-ask after decline · paternalistic (IL 3) · continuation under mandate (IL 4) · prereq-for-authorized-action (IL 5) · destination-already-stated (IL 6). Extended examples: [`asking-and-brevity-examples`](../../../docs/guidelines/agent-infra/asking-and-brevity-examples.md#cheap-question-class-catalog--extended-examples).
|
|
7
|
+
Sequencing · format-only · commit / CI / test asks · fenced re-ask · Iron-Law option · context-derived · dominant option · re-ask after decline · paternalistic (IL 3) · continuation under mandate (IL 4) · prereq-for-authorized-action (IL 5) · destination-already-stated (IL 6) · self-cleaning artefact follow-up · disguised commit ask (preview-as-bait) · commit-chunking-strategy (one-or-multiple / which-first / how-to-split). Extended examples: [`asking-and-brevity-examples`](../../../docs/guidelines/agent-infra/asking-and-brevity-examples.md#cheap-question-class-catalog--extended-examples).
|
|
8
8
|
|
|
9
9
|
## Iron Law 3 — No Paternalistic State-Assuming Options
|
|
10
10
|
|
|
@@ -40,7 +40,7 @@ A clean edit-batch is not a halt condition — pick the next item.
|
|
|
40
40
|
|
|
41
41
|
When the user authorizes a top-level action ("commit", "push", "open PR", "run tests", "deploy"), the following prereq work is execution, not a decision point — never raise a numbered-options block about it:
|
|
42
42
|
|
|
43
|
-
-
|
|
43
|
+
- condensation / hash-sync before commit
|
|
44
44
|
- code formatting / linter auto-fix before commit
|
|
45
45
|
- type-check / quality-tool repairs to clear CI gates
|
|
46
46
|
- test repair when the user said "commit and the tests pass"
|
|
@@ -70,6 +70,43 @@ The user has already named the destination — branch-base inventory does not fi
|
|
|
70
70
|
|
|
71
71
|
No "which branch?", no "should I open a new PR?", no branch-base inventory. `scope-control`'s branch inventory applies only when the destination is **unstated**.
|
|
72
72
|
|
|
73
|
+
## Self-cleaning artefact follow-up — never offer cleanup of self-managing state
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
ARTEFACT IS GITIGNORED, AUTO-PRUNED, OR TTL-MANAGED → CLEANUP
|
|
77
|
+
IS NOT A USER DECISION. NEVER OFFER IT AS A NUMBERED OPTION,
|
|
78
|
+
NEVER FRAME IT AS "WILLST DU AUFRÄUMEN?".
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Triggers — files under `agents/runtime/`, council `questions/` / `responses/` / `sessions/`, cache directories, build artefacts, `dist/` regenerated by the package's sync pipeline, anything `.gitignore`'d that the system already prunes on a schedule. The system owns the lifecycle; surfacing it as a choice fabricates a decision point.
|
|
82
|
+
|
|
83
|
+
State the fact inline ("artefakte sind gitignored + auto-pruned nach 7 Tagen") if relevant — never as an option.
|
|
84
|
+
|
|
85
|
+
## Disguised commit ask — preview-as-bait
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
NEVER WRAP A COMMIT REQUEST AS A "MESSAGE PREVIEW",
|
|
89
|
+
"VORSCHLAG FALLS DU SPÄTER COMMITTEN WILLST",
|
|
90
|
+
OR A NUMBERED OPTION CONTAINING A COMMIT-MESSAGE BODY.
|
|
91
|
+
COMMIT-POLICY APPLIES REGARDLESS OF WRAPPING.
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Failure shapes — "Commit-Vorschlag falls Du den Diff später als chore-Commit ablegen willst" with a fenced commit body · numbered option "2. Diff committen — `chore: …`" · "Hier wäre die Message falls Du committen willst" · any sequencing-disguise that pairs a commit body with a question mark.
|
|
95
|
+
|
|
96
|
+
Why cheap — [`commit-policy`](../../rules/commit-policy.md) says **never ask about committing**. Dressing the ask as a preview, suggestion, or sequencing option does not lift the ban; it just adds opacity. If the user authorized a commit → execute, derive the message from the diff. If they did not → don't write the message body at all.
|
|
97
|
+
|
|
98
|
+
## Commit-chunking strategy — never a user decision
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
NEVER ASK "ONE COMMIT OR MULTIPLE?", "WIE SOLL ICH SPLITTEN?",
|
|
102
|
+
"WELCHER CHUNK ZUERST?", "ZUSAMMEN ODER GETRENNT?".
|
|
103
|
+
THE AGENT PICKS THE SPLIT. STATE INLINE. EXECUTE.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Failure shapes — numbered-options block with "1. ein Commit · 2. zwei Commits · 3. drei Commits" · "Soll ich das in einem Rutsch committen oder splitten?" · "Welcher Commit zuerst — rules oder workspace?" · any question pairing a split-strategy choice with a question mark.
|
|
107
|
+
|
|
108
|
+
Why cheap — [`commit-policy § Always split into logical chunks`](../../rules/commit-policy.md) makes chunking the agent's call by default: one chunk per concern, foundation-first, generated files ride with their source. The user retains revert / amend control after the fact; they don't need to pre-approve the boundary. Mechanics + carve-outs: [`commit-mechanics § Always split into logical chunks`](../authority/commit-mechanics.md).
|
|
109
|
+
|
|
73
110
|
## When asking IS allowed
|
|
74
111
|
|
|
75
112
|
Real architectural / scope trade-off · vague-request trigger ([`ask-when-uncertain`](../../rules/ask-when-uncertain.md)) · security-sensitive ([`security-sensitive-stop`](../../rules/security-sensitive-stop.md)) · Hard Floor ([`non-destructive-by-default`](../../rules/non-destructive-by-default.md)) · two genuinely-equivalent paths where user preference is the tiebreaker.
|
|
@@ -15,7 +15,9 @@ delta**.
|
|
|
15
15
|
Search both locations:
|
|
16
16
|
|
|
17
17
|
- `agents/roadmaps/*.md` (project root)
|
|
18
|
-
- `
|
|
18
|
+
- `{module_root}/*/{agent_folder}/roadmaps/*.md` (module-scoped; resolve
|
|
19
|
+
via `scripts/_lib/agent_settings.py::enumerate_modules()`. Laravel
|
|
20
|
+
shape: `app/Modules/*/agents/roadmaps/*.md`)
|
|
19
21
|
|
|
20
22
|
**Exclude** `template.md`, `archive/`, and `skipped/`.
|
|
21
23
|
|
|
@@ -25,9 +27,28 @@ Search both locations:
|
|
|
25
27
|
surface alternatives in the pre-run summary.
|
|
26
28
|
- None active → tell the user; suggest [`/roadmap:create`](../../commands/roadmap/create.md).
|
|
27
29
|
|
|
28
|
-
## 2. Pre-run summary —
|
|
30
|
+
## 2. Pre-run summary — gate or inline note
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
Read `roadmap.skip_pre_run_gate` from `.agent-settings.yml` (default
|
|
33
|
+
`true`). The command name already names the scope; asking "Go /
|
|
34
|
+
Different roadmap / …" on every run is the noise the gate-skip removes.
|
|
35
|
+
|
|
36
|
+
- `true` **and** the roadmap is unambiguous (user named it, or exactly
|
|
37
|
+
one active roadmap exists) → **skip the interactive gate.** Emit the
|
|
38
|
+
summary block below as a one-shot inline note (no numbered options,
|
|
39
|
+
no wait) so the user can still abort mid-stream if the wrong file was
|
|
40
|
+
picked, then continue straight into § 3.
|
|
41
|
+
- `false`, **or** the roadmap is ambiguous (multiple active roadmaps and
|
|
42
|
+
none named), **or** an unresolvable cadence / scope conflict is
|
|
43
|
+
detected → show the gate with numbered options and wait for input.
|
|
44
|
+
|
|
45
|
+
The gate is **always** shown — regardless of the flag — when the
|
|
46
|
+
roadmap is ambiguous or a scope / cadence conflict has no sensible
|
|
47
|
+
default. The flag suppresses the confirmation, never a genuine
|
|
48
|
+
"which roadmap?" question.
|
|
49
|
+
|
|
50
|
+
Summary block (shown in both modes; gate-mode appends the numbered
|
|
51
|
+
options + wait):
|
|
31
52
|
|
|
32
53
|
> Roadmap: `<resolved-path>`
|
|
33
54
|
> Phase 1: `<name>` — 3/5 done
|
|
@@ -41,8 +62,10 @@ Before the loop runs, show the resolved config in the user's language:
|
|
|
41
62
|
> 1. Go — start processing autonomously
|
|
42
63
|
> 2. Different roadmap · 3. Different scope · 4. Toggle council · 5. Abort
|
|
43
64
|
|
|
44
|
-
|
|
45
|
-
|
|
65
|
+
The invocation-level skip still applies under `skip_pre_run_gate: false`:
|
|
66
|
+
when scope, roadmap, and council are all unambiguous in the invocation
|
|
67
|
+
(e.g. `/roadmap:process-phase road-to-X.md with council`), the gate
|
|
68
|
+
does not fire.
|
|
46
69
|
|
|
47
70
|
## 3. Commit-step pre-scan — one upfront ask
|
|
48
71
|
|
|
@@ -132,8 +132,8 @@ When a project using this package wants to **optimize** a shared rule or skill:
|
|
|
132
132
|
|
|
133
133
|
2. **Create PR against upstream** — submit the improvement to the shared `agent-config` package repository.
|
|
134
134
|
The PR must contain:
|
|
135
|
-
- **
|
|
136
|
-
- **
|
|
135
|
+
- **Uncondensed version** in `.agent-src.uncondensed/{type}/{name}`
|
|
136
|
+
- **Condensed version** in `.augment/{type}/{name}`
|
|
137
137
|
- Both files must be the complete, updated file (not a diff or partial)
|
|
138
138
|
|
|
139
139
|
3. **After PR is merged upstream** — remove the local override from `agents/overrides/`.
|
|
@@ -147,8 +147,8 @@ When a project using this package wants to **optimize** a shared rule or skill:
|
|
|
147
147
|
|
|
148
148
|
### Rules for upstream PRs
|
|
149
149
|
|
|
150
|
-
- The PR must contain **both**
|
|
151
|
-
- The
|
|
150
|
+
- The PR must contain **both** uncondensed and condensed versions (complete files)
|
|
151
|
+
- The condensed version must be derived from the uncondensed version
|
|
152
152
|
- Changes must pass the skill linter (`python3 scripts/skill_linter.py --all`)
|
|
153
153
|
- Changes must not be project-specific (no domain assumptions)
|
|
154
154
|
- Changes must pass the promotion gate (see `controlled-self-optimization.md`)
|
|
@@ -156,7 +156,7 @@ When a project using this package wants to **optimize** a shared rule or skill:
|
|
|
156
156
|
### Anti-patterns
|
|
157
157
|
|
|
158
158
|
- Keeping the override after upstream merge → → drift
|
|
159
|
-
- Submitting only the
|
|
159
|
+
- Submitting only the condensed version → breaks source-of-truth workflow
|
|
160
160
|
- Submitting project-specific behavior as universal improvement
|
|
161
161
|
- Forgetting to create the PR → improvement stays siloed
|
|
162
162
|
|
|
@@ -84,7 +84,7 @@ contract validators have a complete, stable, non-defamatory example
|
|
|
84
84
|
to load.
|
|
85
85
|
|
|
86
86
|
Do not use this fixture as a template for adding a real person to
|
|
87
|
-
`.agent-src.
|
|
87
|
+
`.agent-src.uncondensed/ghostwriter/`. Real-person profiles never
|
|
88
88
|
ship with the package — they belong in `agents/reference/ghostwriter/` on the
|
|
89
89
|
consumer side, where they are gitignored by default.
|
|
90
90
|
|
|
@@ -28,7 +28,7 @@ inherit an accidental complexity from convention.
|
|
|
28
28
|
|
|
29
29
|
## Mindset
|
|
30
30
|
|
|
31
|
-
- Conventions are
|
|
31
|
+
- Conventions are condensed lessons from past contexts. The past
|
|
32
32
|
context may not be this context.
|
|
33
33
|
- "We've always done it this way" is data about the team, not about
|
|
34
34
|
the problem.
|
|
@@ -22,7 +22,7 @@ still readable as stock footage. Not responsible for animation pacing
|
|
|
22
22
|
## Mindset
|
|
23
23
|
|
|
24
24
|
- A prompt without a lens length is a guess. 24mm sells space, 85mm
|
|
25
|
-
sells intimacy, 200mm sells
|
|
25
|
+
sells intimacy, 200mm sells condensation — the choice is the scene.
|
|
26
26
|
- Lighting direction (key, fill, back, practical) is not optional.
|
|
27
27
|
"Golden hour" without an angle is a sunset GIF.
|
|
28
28
|
- Action lives in verbs and beats per second, not adjectives.
|
|
@@ -78,7 +78,11 @@ projects use `docs/decisions/`. Reversible refactors and minor cleanups do **not
|
|
|
78
78
|
## Module-Level Documentation
|
|
79
79
|
|
|
80
80
|
Some projects use a module system (e.g. `app/Modules/` in Laravel, `apps/`/`packages/` in a Turborepo, `src/modules/` in NestJS, `internal/` in Go).
|
|
81
|
-
|
|
81
|
+
Module roots and the per-module agent-docs folder are configured via
|
|
82
|
+
`modules.root_paths` and `modules.agent_folder` in `.agent-settings.yml`
|
|
83
|
+
(resolve at runtime via `scripts/_lib/agent_settings.py::enumerate_modules()`).
|
|
84
|
+
Modules may have their own agent docs under
|
|
85
|
+
`{module_root}/*/{agent_folder}/` (Laravel shape: `app/Modules/*/agents/`) with:
|
|
82
86
|
|
|
83
87
|
- Module descriptions and feature docs
|
|
84
88
|
- Module-specific roadmaps (`agents/roadmaps/`)
|