@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
|
@@ -99,15 +99,15 @@ Decide what to create:
|
|
|
99
99
|
|
|
100
100
|
### Step 4: Create or Update
|
|
101
101
|
|
|
102
|
-
- **New rule** → create in `.agent-src.
|
|
103
|
-
- **New skill** → use `skill-writing` skill, create in `.agent-src.
|
|
102
|
+
- **New rule** → create in `.agent-src.uncondensed/rules/`, follow rule conventions
|
|
103
|
+
- **New skill** → use `skill-writing` skill, create in `.agent-src.uncondensed/skills/`
|
|
104
104
|
- **Update existing** → use `skill-management` skill
|
|
105
105
|
|
|
106
106
|
After creation:
|
|
107
107
|
1. Run `python3 scripts/skill_linter.py {path}` — must pass (0 fail)
|
|
108
108
|
2. Copy to `.augment/`
|
|
109
|
-
3. Mark hash: `python3 scripts/
|
|
110
|
-
4. Regenerate tools: `python3 scripts/
|
|
109
|
+
3. Mark hash: `python3 scripts/condense.py --mark-done "{relative_path}"`
|
|
110
|
+
4. Regenerate tools: `python3 scripts/condense.py --generate-tools`
|
|
111
111
|
|
|
112
112
|
### Step 5: Decide scope
|
|
113
113
|
|
|
@@ -131,7 +131,7 @@ Ask the user:
|
|
|
131
131
|
1. Read `project.upstream_repo` and `project.improvement_pr_branch_prefix` from `.agent-settings.yml`
|
|
132
132
|
2. If `project.upstream_repo` is empty → ask user for the target repo
|
|
133
133
|
3. Create branch: `{prefix}{learning-slug}` from `main`
|
|
134
|
-
4. Commit changes to `.agent-src.
|
|
134
|
+
4. Commit changes to `.agent-src.uncondensed/` AND `.augment/`
|
|
135
135
|
5. Push branch
|
|
136
136
|
6. Create PR with title: `improve(agent): {short description}`
|
|
137
137
|
7. Use the agent-improvement PR template if it exists
|
|
@@ -155,7 +155,7 @@ Ask the user:
|
|
|
155
155
|
- Do NOT skip the promotion gate — it prevents skill/rule bloat
|
|
156
156
|
- Do NOT create both a rule AND a skill for the same learning
|
|
157
157
|
- Do NOT auto-push without user permission
|
|
158
|
-
- Do NOT create project-specific content in `.agent-src.
|
|
158
|
+
- Do NOT create project-specific content in `.agent-src.uncondensed/`
|
|
159
159
|
- Do NOT run this pipeline for trivial learnings
|
|
160
160
|
|
|
161
161
|
## References
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: skill-management
|
|
3
|
-
description: "Use when
|
|
3
|
+
description: "Use when condensing, decondenseing, refactoring, or improving existing skills. Covers the full skill lifecycle from verbose → sharp → maintained."
|
|
4
4
|
source: project
|
|
5
5
|
domain: process
|
|
6
6
|
execution:
|
|
@@ -26,8 +26,8 @@ install:
|
|
|
26
26
|
## When to use
|
|
27
27
|
|
|
28
28
|
Use this skill when:
|
|
29
|
-
*
|
|
30
|
-
* Expanding a
|
|
29
|
+
* Condenseing a verbose skill into a sharper version
|
|
30
|
+
* Expanding a condensed skill into a maintainable source-of-truth
|
|
31
31
|
* Refactoring a skill to fix structure, scope, or quality issues
|
|
32
32
|
* Migrating skills to new standards
|
|
33
33
|
|
|
@@ -37,22 +37,22 @@ Do not use when:
|
|
|
37
37
|
|
|
38
38
|
## Procedure: Manage a skill
|
|
39
39
|
|
|
40
|
-
### Mode:
|
|
41
|
-
**Trigger:** "
|
|
40
|
+
### Mode: Condense
|
|
41
|
+
**Trigger:** "condense skill", "shorten skill", "make skill sharper"
|
|
42
42
|
|
|
43
43
|
1. Inspect — what is the core job? Which lines are redundant?
|
|
44
44
|
2. Preserve critical skeleton: When to use, Procedure, Output format, Gotchas, Do NOT
|
|
45
|
-
3.
|
|
46
|
-
4.
|
|
47
|
-
5.
|
|
45
|
+
3. Condense trigger — rewrite description for fast matching
|
|
46
|
+
4. Condense decision logic — explanations → direct choices
|
|
47
|
+
5. Condense procedure — each step short and executable
|
|
48
48
|
6. Remove obvious content — keep only what model forgets or misuses
|
|
49
|
-
7. Validate —
|
|
49
|
+
7. Validate — condensed version must be: easier to scan, easier to trigger, at least as safe
|
|
50
50
|
|
|
51
|
-
**Iron rule:**
|
|
52
|
-
**Linter gate:** After
|
|
51
|
+
**Iron rule:** Condensation must NOT weaken validation or remove decision hints that prevent mistakes.
|
|
52
|
+
**Linter gate:** After condensation, run `python3 scripts/skill_linter.py` on the file — must be 0 FAIL.
|
|
53
53
|
|
|
54
|
-
### Mode:
|
|
55
|
-
**Trigger:** "expand skill", "
|
|
54
|
+
### Mode: Decondense
|
|
55
|
+
**Trigger:** "expand skill", "decondense skill", "make skill clearer"
|
|
56
56
|
|
|
57
57
|
1. Inspect — which parts are unclear or too condensed?
|
|
58
58
|
2. Restore full structure (all required sections)
|
|
@@ -81,7 +81,7 @@ Do not use when:
|
|
|
81
81
|
If the refactor introduced guideline delegations ("see guideline X"), ensure the Procedure still works standalone.
|
|
82
82
|
|
|
83
83
|
**Decision hints:**
|
|
84
|
-
* Too long →
|
|
84
|
+
* Too long → condense or split
|
|
85
85
|
* Too generic → narrow scope
|
|
86
86
|
* Missing validation → add it
|
|
87
87
|
* Too dependent on guidelines → inline essential steps
|
|
@@ -92,7 +92,7 @@ If the refactor introduced guideline delegations ("see guideline X"), ensure the
|
|
|
92
92
|
* Same idea repeated in Goal, Core rules, and Gotchas
|
|
93
93
|
* Long paragraphs where one bullet would do
|
|
94
94
|
* Vague procedure steps ("think about X")
|
|
95
|
-
*
|
|
95
|
+
* Condensation that deletes safety-critical checks
|
|
96
96
|
* Over-expansion that turns skills into documentation
|
|
97
97
|
* Refactoring scope instead of structure
|
|
98
98
|
* Removing gotchas because they "look verbose"
|
|
@@ -104,18 +104,18 @@ If the refactor introduced guideline delegations ("see guideline X"), ensure the
|
|
|
104
104
|
|
|
105
105
|
## Gotchas
|
|
106
106
|
|
|
107
|
-
* Over-
|
|
107
|
+
* Over-condensation removes important nuance
|
|
108
108
|
* Some examples look verbose but are load-bearing
|
|
109
109
|
* Shorter is not better if trigger quality drops
|
|
110
110
|
* Changing intent instead of improving structure
|
|
111
|
-
*
|
|
111
|
+
* Condensed versions must be derived from uncondensed source, not the other way around
|
|
112
112
|
* **Validation steps are non-negotiable** — every Procedure must end with a concrete verify/confirm step. Skills without validation pass the linter today but cause failures when the linter is tightened.
|
|
113
113
|
* **Renaming headings to "Procedure:" without adding steps** creates false structure — the linter now requires ordered steps or sub-headings inside Procedure blocks.
|
|
114
114
|
|
|
115
115
|
## Do NOT
|
|
116
116
|
|
|
117
117
|
* Do NOT remove validation steps
|
|
118
|
-
* Do NOT
|
|
118
|
+
* Do NOT condense away decision hints that prevent mistakes
|
|
119
119
|
* Do NOT change the skill's core intent
|
|
120
120
|
* Do NOT merge unrelated workflows to save space
|
|
121
121
|
* Do NOT expand everything blindly — only where it helps execution
|
|
@@ -124,11 +124,11 @@ If the refactor introduced guideline delegations ("see guideline X"), ensure the
|
|
|
124
124
|
|
|
125
125
|
## Auto-trigger keywords
|
|
126
126
|
|
|
127
|
-
*
|
|
128
|
-
*
|
|
127
|
+
* condense skill
|
|
128
|
+
* decondense skill
|
|
129
129
|
* refactor skill
|
|
130
130
|
* improve skill
|
|
131
131
|
* shorten skill
|
|
132
132
|
* expand skill
|
|
133
|
-
*
|
|
133
|
+
* telegraph condense
|
|
134
134
|
* make skill sharper
|
|
@@ -169,7 +169,7 @@ Before scoring the 5 Killers, verify structure:
|
|
|
169
169
|
- Always-applicable (no situational triggers)
|
|
170
170
|
- Not procedural (no numbered steps — that's a skill)
|
|
171
171
|
|
|
172
|
-
**
|
|
172
|
+
**Condensation safety** (if condensed version exists):
|
|
173
173
|
- Trigger clarity preserved
|
|
174
174
|
- Decision hints or equivalent present
|
|
175
175
|
- Concrete validation still present
|
|
@@ -191,7 +191,7 @@ Before scoring the 5 Killers, verify structure:
|
|
|
191
191
|
### Single skill
|
|
192
192
|
1. Validate structure (required sections present)
|
|
193
193
|
2. Score each killer: ✅ Pass / ⚠️ Weak / ❌ Fail
|
|
194
|
-
3. Check
|
|
194
|
+
3. Check condensation safety (if applicable)
|
|
195
195
|
4. Produce a verdict table + specific fix suggestions
|
|
196
196
|
|
|
197
197
|
### Batch audit
|
|
@@ -75,9 +75,9 @@ Ask: **"Does the model need this to do its job correctly?"**
|
|
|
75
75
|
|
|
76
76
|
### Skills and commands share the `.claude/skills/` namespace
|
|
77
77
|
|
|
78
|
-
Skills in `.agent-src.
|
|
79
|
-
`.agent-src.
|
|
80
|
-
`.claude/skills/` (see `scripts/
|
|
78
|
+
Skills in `.agent-src.uncondensed/skills/{name}/SKILL.md` AND commands in
|
|
79
|
+
`.agent-src.uncondensed/commands/{name}.md` both project into
|
|
80
|
+
`.claude/skills/` (see `scripts/condense.py` →
|
|
81
81
|
`generate_claude_skills` + `generate_claude_commands`). Claude treats
|
|
82
82
|
the whole directory as native skills.
|
|
83
83
|
|
|
@@ -118,7 +118,7 @@ Do NOT create a skill or rule for:
|
|
|
118
118
|
### 0. Inspect, then run the Drafting Protocol
|
|
119
119
|
|
|
120
120
|
Before writing, **inspect** the landscape: grep
|
|
121
|
-
`.agent-src.
|
|
121
|
+
`.agent-src.uncondensed/skills/` and `rules/` for duplicates or
|
|
122
122
|
near-matches, and **analyze** 1–2 gold-standard peers (e.g. `pest-testing`,
|
|
123
123
|
`php-coder`) to anchor shape and tone. If requirements are unclear or
|
|
124
124
|
incomplete, stop and ask — do not assume.
|
|
@@ -178,7 +178,7 @@ approval-gated propose / pick loop with at most two rounds.
|
|
|
178
178
|
### 1c. Propose a trigger-eval stub (new skills only)
|
|
179
179
|
|
|
180
180
|
When creating a new skill, propose a stub
|
|
181
|
-
`.agent-src.
|
|
181
|
+
`.agent-src.uncondensed/skills/{name}/evals/triggers.json` before writing
|
|
182
182
|
the body. Draw the queries from Phase A of the drafting protocol (the
|
|
183
183
|
user's "should trigger" and "must not trigger" answers).
|
|
184
184
|
|
|
@@ -292,7 +292,7 @@ asks for it.
|
|
|
292
292
|
**Workspace layout** (all under `.gitignore`):
|
|
293
293
|
|
|
294
294
|
```
|
|
295
|
-
.agent-src.
|
|
295
|
+
.agent-src.uncondensed/skills/{name}/evals/
|
|
296
296
|
triggers.json # tracked — routing eval (§ 1c)
|
|
297
297
|
evals.json # tracked — behavior eval definitions
|
|
298
298
|
runs/ # gitignored — per-iteration outputs
|
|
@@ -379,13 +379,13 @@ Neighbors:
|
|
|
379
379
|
|
|
380
380
|
* Body links to guidelines / contracts use the verbatim relative form
|
|
381
381
|
(`../../docs/guidelines/<group>/<name>.md`,
|
|
382
|
-
`../../docs/contracts/<name>.md`). The
|
|
382
|
+
`../../docs/contracts/<name>.md`). The condense-time rewriter
|
|
383
383
|
resolves them to depth-aware single-up form — do not pre-rewrite in
|
|
384
384
|
source.
|
|
385
385
|
* Skills do **not** declare `load_context:` / `load_context_eager:`;
|
|
386
386
|
those frontmatter keys are rule-only. If a skill needs to point at a
|
|
387
387
|
context, link to it inline (`[context-name](../../contexts/<area>/<file>.md)`).
|
|
388
|
-
* Never write `.agent-src.
|
|
388
|
+
* Never write `.agent-src.uncondensed/` in any skill body link or
|
|
389
389
|
example — it ships into `.augment/skills/` and breaks consumer
|
|
390
390
|
resolution. See `rule-writing` § 3b for the canonical reference.
|
|
391
391
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{"q": "add a proper procedure section to the graphql skill", "trigger": true},
|
|
10
10
|
{"q": "refactor my PHP controller", "trigger": false},
|
|
11
11
|
{"q": "run the skill linter on my branch", "trigger": false},
|
|
12
|
-
{"q": "
|
|
12
|
+
{"q": "condense this SKILL.md to half its length", "trigger": false},
|
|
13
13
|
{"q": "which skill handles git workflow?", "trigger": false},
|
|
14
14
|
{"q": "write a CONTRIBUTING.md for this repo", "trigger": false}
|
|
15
15
|
]
|
|
@@ -82,11 +82,11 @@ INTENT
|
|
|
82
82
|
|
|
83
83
|
| Asset | Path | Trigger keywords | What it does |
|
|
84
84
|
|---|---|---|---|
|
|
85
|
-
| `cli-output-handling` | `.agent-src.
|
|
86
|
-
| `rtk-output-filtering` | `.agent-src.
|
|
87
|
-
| `token-efficiency` | `.agent-src.
|
|
85
|
+
| `cli-output-handling` | `.agent-src.uncondensed/rules/cli-output-handling.md` | `verbose`, `tail`, `grep`, `CLI` | Wrap-tail-grep contract for any verbose command |
|
|
86
|
+
| `rtk-output-filtering` | `.agent-src.uncondensed/skills/rtk-output-filtering/SKILL.md` | `rtk`, `verbose`, `filter`, `wrap` | Project-local rtk filters; wrapper command |
|
|
87
|
+
| `token-efficiency` | `.agent-src.uncondensed/rules/token-efficiency.md` | `redirect`, `verbose`, `concise`, `tool` | Batch + parallelize tool calls; brevity floor |
|
|
88
88
|
| `agent-handoff` | `.claude/skills/agent-handoff/SKILL.md` | `handoff`, `fresh`, `chat`, `context` | Context envelope for fresh-chat continuation |
|
|
89
|
-
| `direct-answers` | `.agent-src.
|
|
89
|
+
| `direct-answers` | `.agent-src.uncondensed/rules/direct-answers.md` | `brevity`, `flattery`, `severity`, `tiered` | Iron-Law brevity floor (kernel) |
|
|
90
90
|
| `markitdown` | upstream: github.com/microsoft/markitdown | `PDF`, `DOCX`, `HTML`, `convert` | Document → markdown converter (authoritative-link only) |
|
|
91
91
|
| `/cost:report` | TBD — `road-to-ruflo-adoption.md § P1.2` | `cost`, `model spend`, `budget` | Per-session cost telemetry (planned) |
|
|
92
92
|
|
|
@@ -91,7 +91,7 @@ Do NOT use for full-business intrinsic-value modeling, OKR setting, funnel-stage
|
|
|
91
91
|
1. **Burn multiple** = `net burn / net new ARR` over the fiscal-period
|
|
92
92
|
slot's reporting window (monthly close / quarterly / annual).
|
|
93
93
|
It answers *"how many dollars of cash do we burn to add one
|
|
94
|
-
dollar of recurring revenue?"* — a single ratio that
|
|
94
|
+
dollar of recurring revenue?"* — a single ratio that condenses
|
|
95
95
|
CAC, gross margin, and churn into capital efficiency.
|
|
96
96
|
2. Compute on **net** new ARR (gross new − churn − contraction).
|
|
97
97
|
Burn-multiple on gross new ARR flatters the picture by exactly
|
|
@@ -50,7 +50,7 @@ shared `agent-config` package — with correct file placement, quality gates, an
|
|
|
50
50
|
- **Universality first** — the contribution must work for ALL consumers, not just one project
|
|
51
51
|
- **Generalize when possible** — project-specific content CAN become universal with adaptation
|
|
52
52
|
- **Evidence-based** — learnings must have occurred 2+ times or be clearly generalizable
|
|
53
|
-
- **Complete pairs** — both
|
|
53
|
+
- **Complete pairs** — both uncondensed and condensed versions required
|
|
54
54
|
- **Quality verified** — must pass linter before PR creation
|
|
55
55
|
- **Local benefit immediately** — use override for instant project benefit while PR is pending
|
|
56
56
|
|
|
@@ -87,12 +87,12 @@ Before ANY upstream work (branch, files, PR), ask the user:
|
|
|
87
87
|
|
|
88
88
|
### 1. Determine contribution type
|
|
89
89
|
|
|
90
|
-
| Type |
|
|
90
|
+
| Type | Uncondensed path | Condensed path |
|
|
91
91
|
|---|---|---|
|
|
92
|
-
| **New skill** | `.agent-src.
|
|
93
|
-
| **New rule** | `.agent-src.
|
|
94
|
-
| **New command** | `.agent-src.
|
|
95
|
-
| **New guideline** | `.agent-src.
|
|
92
|
+
| **New skill** | `.agent-src.uncondensed/skills/{name}/SKILL.md` | `.augment/skills/{name}/SKILL.md` |
|
|
93
|
+
| **New rule** | `.agent-src.uncondensed/rules/{name}.md` | `.augment/rules/{name}.md` |
|
|
94
|
+
| **New command** | `.agent-src.uncondensed/commands/{name}.md` | `.augment/commands/{name}.md` |
|
|
95
|
+
| **New guideline** | `.agent-src.uncondensed/guidelines/{category}/{name}.md` | `.augment/guidelines/{category}/{name}.md` |
|
|
96
96
|
| **Update to existing** | Same path as original | Same path as original |
|
|
97
97
|
|
|
98
98
|
### 2. Apply locally as override (immediate benefit)
|
|
@@ -159,12 +159,12 @@ git checkout -b feat/skills/{name} # or fix/rules/{name}, etc.
|
|
|
159
159
|
|
|
160
160
|
Create both files:
|
|
161
161
|
|
|
162
|
-
- **
|
|
163
|
-
- **
|
|
162
|
+
- **Uncondensed version** → `.agent-src.uncondensed/{type}/{name}` (full, verbose, human-readable)
|
|
163
|
+
- **Condensed version** → `.augment/{type}/{name}` (token-efficient, preserving all code blocks,
|
|
164
164
|
headings, frontmatter, validation, gotchas)
|
|
165
165
|
|
|
166
|
-
For skills, the
|
|
167
|
-
For rules and commands, they are usually copied 1:1 (no
|
|
166
|
+
For skills, the condensed version should be 40-60% shorter than uncondensed.
|
|
167
|
+
For rules and commands, they are usually copied 1:1 (no condensation).
|
|
168
168
|
|
|
169
169
|
### 5. Ensure file quality
|
|
170
170
|
|
|
@@ -179,10 +179,10 @@ The files must:
|
|
|
179
179
|
|
|
180
180
|
```bash
|
|
181
181
|
python3 scripts/skill_linter.py --all # 0 FAIL required
|
|
182
|
-
python3 scripts/
|
|
183
|
-
python3 scripts/
|
|
184
|
-
bash scripts/
|
|
185
|
-
bash scripts/
|
|
182
|
+
python3 scripts/check_condensation.py # No errors for this file
|
|
183
|
+
python3 scripts/condense.py --generate-tools # Regenerate symlinks
|
|
184
|
+
bash scripts/condense.sh --check # .agent-src/ in sync with source
|
|
185
|
+
bash scripts/condense.sh --check-hashes # All hashes match
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
If not in the package repo, note that these checks will run in CI after the PR is created.
|
|
@@ -243,7 +243,7 @@ The shared version now replaces the local override.
|
|
|
243
243
|
## Output format
|
|
244
244
|
|
|
245
245
|
1. Summary of what is being contributed (type, name, why)
|
|
246
|
-
2. File contents for both
|
|
246
|
+
2. File contents for both uncondensed and condensed versions
|
|
247
247
|
3. If working in the package repo: branch name, commit message, PR title
|
|
248
248
|
4. If Option 3: copyable file blocks for the user to paste
|
|
249
249
|
5. Reminder to clean up local override after upstream merge
|
|
@@ -252,7 +252,7 @@ The shared version now replaces the local override.
|
|
|
252
252
|
|
|
253
253
|
- Agent in consumer project doesn't know the package repo URL — this skill provides it
|
|
254
254
|
- Agent may try to edit `.augment/` in the consumer project — that's read-only (symlinked)
|
|
255
|
-
- Agent may forget the
|
|
255
|
+
- Agent may forget the condensed version — both are mandatory
|
|
256
256
|
- Agent may include project-specific references in the skill — must be universal
|
|
257
257
|
- The `source` field in frontmatter must be `package`, not `project`
|
|
258
258
|
- Agent may not have git access to the package repo — Option 3 handles this gracefully
|
|
@@ -263,7 +263,7 @@ The shared version now replaces the local override.
|
|
|
263
263
|
- **Do NOT open a PR if `./agent-config proposal:check` blocks** — fix the proposal first (step 6b)
|
|
264
264
|
- Do NOT edit `.augment/` in the consumer project — it's managed by the package
|
|
265
265
|
- Do NOT submit project-specific content without generalizing it first
|
|
266
|
-
- Do NOT skip the
|
|
266
|
+
- Do NOT skip the condensed version — both files are mandatory
|
|
267
267
|
- Do NOT forget to clean up the local override after upstream merge
|
|
268
268
|
- Do NOT bypass quality gates — they exist for a reason
|
|
269
269
|
- Do NOT assume consent from a previous contribution — ask every time
|
|
@@ -31,3 +31,4 @@
|
|
|
31
31
|
3. **Where do I edit agent-config?** — Do not edit `.augment/` or `.agent-src/` here; they are installed artifacts. Project edits live in `agents/` and project source.
|
|
32
32
|
4. **Lint / test / sync entry point?** — Project-specific (see project README); agent-config reinstalls via `composer update event4u/agent-config` or `npm update @event4u/agent-config`.
|
|
33
33
|
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`).
|
|
34
|
+
6. **Per-module agent docs?** — If `modules.enabled: true`, each module under `modules.root_paths` may carry its own `{agent_folder}/` (default `agents/`). See `module-management` skill.
|
|
@@ -143,7 +143,7 @@ chat_history:
|
|
|
143
143
|
# Max file size in KB before overflow handling kicks in
|
|
144
144
|
max_size_kb: 256
|
|
145
145
|
|
|
146
|
-
# Overflow behavior: rotate (drop oldest) |
|
|
146
|
+
# Overflow behavior: rotate (drop oldest) | condense (summarize)
|
|
147
147
|
on_overflow: rotate
|
|
148
148
|
|
|
149
149
|
# --- Work-engine hooks ---
|
|
@@ -209,6 +209,16 @@ pipelines:
|
|
|
209
209
|
# response — that cadence is governed by `roadmap-progress-sync` and
|
|
210
210
|
# is non-negotiable. This setting only governs *quality tool runs*.
|
|
211
211
|
roadmap:
|
|
212
|
+
# Skip the /roadmap:process-* pre-run confirmation gate (true, false).
|
|
213
|
+
# true = default. Command name names the scope; a discoverable single
|
|
214
|
+
# active roadmap (or a named one) starts the loop immediately,
|
|
215
|
+
# resolved config surfaced inline so a wrong pick can still be
|
|
216
|
+
# aborted mid-stream.
|
|
217
|
+
# false = legacy. Shows the pre-run summary with numbered options and
|
|
218
|
+
# waits. Gate is still shown regardless when the roadmap is
|
|
219
|
+
# ambiguous or a scope / cadence conflict has no default.
|
|
220
|
+
skip_pre_run_gate: true
|
|
221
|
+
|
|
212
222
|
# When to run quality tools during /roadmap:process-step|phase|full.
|
|
213
223
|
# end_of_roadmap = once, before archiving (default — fastest, fewest tokens)
|
|
214
224
|
# per_phase = once after every completed phase
|
|
@@ -385,18 +395,18 @@ verbosity:
|
|
|
385
395
|
# safe task per Phase 10.3.
|
|
386
396
|
taskfile_command_echo: false
|
|
387
397
|
|
|
388
|
-
# ---
|
|
398
|
+
# --- Telegraph speak (authoring-only) ---
|
|
389
399
|
#
|
|
390
|
-
#
|
|
391
|
-
# compile-time toggle (`
|
|
400
|
+
# Telegraph-style condensation scope for newly authored prose. The
|
|
401
|
+
# compile-time toggle (`telegraph.speak`) is added in Phase 8.
|
|
392
402
|
# `speak_scope` lands now so the charter and consumers can pin it.
|
|
393
|
-
|
|
394
|
-
# speak_scope = how widely
|
|
395
|
-
# off = no
|
|
396
|
-
# governed by
|
|
397
|
-
# prose_only =
|
|
403
|
+
telegraph:
|
|
404
|
+
# speak_scope = how widely telegraph-speak grammar applies in chat
|
|
405
|
+
# off = no telegraph grammar in output (compile-time still
|
|
406
|
+
# governed by telegraph.speak)
|
|
407
|
+
# prose_only = telegraph in body prose; numbered options +
|
|
398
408
|
# Iron-Law-literal blocks stay full prose
|
|
399
|
-
# aggressive =
|
|
409
|
+
# aggressive = telegraph everywhere except Iron-Law literals
|
|
400
410
|
speak_scope: prose_only
|
|
401
411
|
|
|
402
412
|
telemetry:
|
|
@@ -430,7 +440,7 @@ Personal and project-level settings (initial file written by
|
|
|
430
440
|
**Key paths use dot-notation** to denote nesting: `personal.user_name`
|
|
431
441
|
lives under `personal:` in YAML.
|
|
432
442
|
|
|
433
|
-
The `verbosity.*` and `
|
|
443
|
+
The `verbosity.*` and `telegraph.speak_scope` rows are summarized below;
|
|
434
444
|
the canonical narrative lives in
|
|
435
445
|
[`docs/customization.md` § Verbosity](../../docs/customization.md#verbosity).
|
|
436
446
|
|
|
@@ -453,7 +463,7 @@ the canonical narrative lives in
|
|
|
453
463
|
| `chat_history.enabled` | `true`, `false` | `true` | Persist chat events to `agents/runtime/.agent-chat-history` (JSONL) for crash recovery. |
|
|
454
464
|
| `chat_history.frequency` | `per_turn`, `per_phase`, `per_tool` | per profile | Logging granularity. Defaults: `minimal`→`per_turn`, `balanced`→`per_phase`, `full`→`per_tool`. |
|
|
455
465
|
| `chat_history.max_size_kb` | integer | per profile | Max file size before overflow handling. Defaults: `minimal`→`128`, `balanced`→`256`, `full`→`512`. |
|
|
456
|
-
| `chat_history.on_overflow` | `rotate`, `
|
|
466
|
+
| `chat_history.on_overflow` | `rotate`, `condense` | per profile | On overflow: `rotate` drops oldest entries; `condense` marks the file for summarization on the next turn. Defaults: `minimal`/`balanced`→`rotate`, `full`→`condense`. |
|
|
457
467
|
| `chat_history.text_limits.{user,agent,tool,phase}` | integer (chars) | `user=0`, `agent=5000`, `tool=200`, `phase=200` | Per-entry-type text-length cap. `0` = verbatim, no slice. `N > 0` = collapse whitespace, slice to N chars, append `" … [+K chars]"` so the log self-reports truncation. Defaults match `DEFAULT_TEXT_LIMITS` in `scripts/chat_history.py`. |
|
|
458
468
|
| `hooks.enabled` | `true`, `false` | `false` | Master switch for the work-engine hook layer. When `false` (default) the registry stays empty and golden replay is byte-stable. See [`agents/settings/contexts/work-engine-hooks.md`](../../../agents/settings/contexts/work-engine-hooks.md). |
|
|
459
469
|
| `hooks.trace` | `true`, `false` | `false` | Emit per-event trace lines on stderr. Useful for debugging; off by default because it is noisy. |
|
|
@@ -463,6 +473,7 @@ the canonical narrative lives in
|
|
|
463
473
|
| `hooks.chat_history.enabled` | `true`, `false` | `true` | Register the chat-history hooks (`append` on `after_step`, `halt_append` on `on_halt`). Gated by **both** this flag AND `chat_history.enabled`; either off → no chat-history hook registers. Schema v4: every entry self-identifies via a 16-char session fingerprint, no ownership/sidecar layer. |
|
|
464
474
|
| `hooks.chat_history.script` | path | `scripts/chat_history.py` | Override path to the chat-history CLI. Set only when the script lives outside the standard location. |
|
|
465
475
|
| `pipelines.skill_improvement` | `true`, `false` | `true` | When `true`: propose learning capture after meaningful tasks. When `false`: silent. Included in every profile except `custom`. |
|
|
476
|
+
| `roadmap.skip_pre_run_gate` | `true`, `false` | `true` | When `true` (default): `/roadmap:process-step\|phase\|full` skips the interactive pre-run summary and starts immediately — resolved roadmap / cadence / council surfaced inline so an unwanted pick can still be aborted. When `false`: shows the pre-run summary with numbered options and waits. Gate is always shown — regardless of this flag — when the roadmap is ambiguous (multiple active, none named) or a scope / cadence conflict has no default. |
|
|
466
477
|
| `roadmap.quality_cadence` | `end_of_roadmap`, `per_phase`, `per_step` | `end_of_roadmap` | When `/roadmap:process-step|phase|full` runs the project's quality pipeline. Default skips per-step / per-phase runs and gates only the final archival. `per_phase` runs once after every phase; `per_step` is the legacy verbose mode. Step checkboxes and the dashboard are always updated regardless. `verify-before-complete` still requires fresh output before any "roadmap complete" claim. |
|
|
467
478
|
| `quality.local_auto_run` | `true`, `false` | `true` | When `true`: agent runs the project's quality pipeline (`task ci`, `make test`, `npm run check`, PHPStan, ECS, Rector, test suites) autonomously when work is ready for verification. When `false`: agent asks before running locally. **Carve-out**: NEW CI gates / smoke tests / test files MUST run locally regardless of this flag — without execution the new gate is unverified evidence. Iron Law `verify-before-complete` still applies; suppressed runs require the agent to surface the gap before claiming completion. |
|
|
468
479
|
| `quality.wait_for_remote_ci` | `true`, `false` | `false` | When `true`: after `git push`, the agent polls GitHub check-runs / pipeline status on the PR and reports green / red before handing back. When `false`: agent pushes and hands back immediately; the user inspects CI themselves (default — saves agent runtime and tokens). |
|
|
@@ -486,7 +497,7 @@ the canonical narrative lives in
|
|
|
486
497
|
| `verbosity.offer_council_in_delivery` | `true`, `false` | `false` | Offer "run AI Council on this?" inside delivery commands (`/feature-plan`, `/review-changes`, `/roadmap-create`). Council commands themselves are unaffected. |
|
|
487
498
|
| `verbosity.post_action_reports` | `off`, `minimal`, `full` | `minimal` | Multi-line status / summary blocks after a successful action. `off` = no report; `minimal` = one-line confirmation; `full` = bullet list. |
|
|
488
499
|
| `verbosity.intent_announcements` | `true`, `false` | `false` | Intent announcements ("Let me check…", "Now I will…", "Found it") in skill bodies. `false` = act and emit the result. |
|
|
489
|
-
| `
|
|
500
|
+
| `telegraph.speak_scope` | `off`, `prose_only`, `aggressive` | `prose_only` | How widely telegraph-speak grammar applies in chat. `off` = no telegraph grammar; `prose_only` = telegraph in body prose, numbered options + Iron-Law-literal blocks stay full prose; `aggressive` = telegraph everywhere except Iron-Law literals. Compile-time toggle (`telegraph.speak`) lands in Phase 8. |
|
|
490
501
|
| `telemetry.artifact_engagement.enabled` | `true`, `false` | `false` | Master switch for the artefact engagement log. Default-off; zero file IO and zero token cost when `false`. Maintainer-targeted; consumers leave it off. |
|
|
491
502
|
| `telemetry.artifact_engagement.granularity` | `task`, `phase-step`, `tool-call` | `task` | Boundary at which events are recorded. `tool-call` is expensive — opt-in only. |
|
|
492
503
|
| `telemetry.artifact_engagement.record.consulted` | `true`, `false` | `true` | When `true`: record artefacts loaded into context. |
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# 1. Package defaults (shipped by event4u/agent-config)
|
|
9
9
|
# 2. ~/.event4u/agent-config/agent-settings.yml — user-global DX-comfort
|
|
10
10
|
# defaults (whitelist: name, ide, cost_profile, personal.bot_icon,
|
|
11
|
-
# personal.autonomy,
|
|
11
|
+
# personal.autonomy, telegraph.speak_scope). Created on opt-in via
|
|
12
12
|
# /onboard; project-local files always win. Legacy
|
|
13
13
|
# ~/.config/agent-config/agent-settings.yml is read as a fallback.
|
|
14
14
|
# 3. This file (.agent-project-settings.yml) — team defaults
|
|
@@ -39,7 +39,7 @@ schema_version: 1
|
|
|
39
39
|
# CI guard: a release bump of `package.json` must update this value
|
|
40
40
|
# in lockstep — see scripts/check_template_pin_drift.py (road-to-
|
|
41
41
|
# portable-runtime-and-update-check P3.3).
|
|
42
|
-
agent_config_version: "
|
|
42
|
+
agent_config_version: "4.1.0"
|
|
43
43
|
|
|
44
44
|
# --- Project identity ---
|
|
45
45
|
project:
|
|
@@ -55,6 +55,65 @@ project:
|
|
|
55
55
|
# "zend-laminas", "multi" (polyglot monorepo).
|
|
56
56
|
stack: ""
|
|
57
57
|
|
|
58
|
+
# --- Modules (optional) ---
|
|
59
|
+
#
|
|
60
|
+
# Module-aware skills and commands (`module-management`, `/module
|
|
61
|
+
# explore`, `/module create`, roadmap-writing) consult this block to
|
|
62
|
+
# discover where modules live, which namespace template they use, and
|
|
63
|
+
# whether per-module `agents/` folders ship contexts the agent should
|
|
64
|
+
# auto-load. When `modules.enabled` is false (default), every
|
|
65
|
+
# module-aware surface skips its module branch — the project is
|
|
66
|
+
# treated as a flat repo.
|
|
67
|
+
#
|
|
68
|
+
# Populated automatically by `scripts/install.py` on a fresh install
|
|
69
|
+
# when an `app/Modules/`, `src/modules/`, `packages/`, `internal/`, or
|
|
70
|
+
# similar shape is detected. Set manually for custom layouts. Lockable
|
|
71
|
+
# via `locked_keys: [modules.root_paths]` for compliance-critical
|
|
72
|
+
# repos where the module layout must not drift.
|
|
73
|
+
modules:
|
|
74
|
+
# Opt-in flag. When false, module-aware skills behave as if the
|
|
75
|
+
# block were absent — no enumeration, no auto-context-load. Flip to
|
|
76
|
+
# true once `root_paths` is populated and the team has agreed on the
|
|
77
|
+
# layout.
|
|
78
|
+
enabled: false
|
|
79
|
+
|
|
80
|
+
# Repo-relative paths to module root directories. Multiple entries
|
|
81
|
+
# supported for polyglot repos (e.g. `[app/Modules, packages]` for a
|
|
82
|
+
# Laravel + JS monorepo). Each subdirectory under a root path is a
|
|
83
|
+
# module unless its name is in `skip_dirs`. Examples by stack:
|
|
84
|
+
# Laravel HMVC → [app/Modules]
|
|
85
|
+
# Symfony DDD-lite → [src]
|
|
86
|
+
# Node monorepo → [packages]
|
|
87
|
+
# Python src layout → [src]
|
|
88
|
+
# Go internal layout → [internal]
|
|
89
|
+
root_paths: []
|
|
90
|
+
|
|
91
|
+
# Namespace template used when generating files for a new module.
|
|
92
|
+
# `{ModuleName}` is replaced with the module's directory name.
|
|
93
|
+
# Empty when the stack does not use a PHP-style namespace (Node,
|
|
94
|
+
# Python, Go). Examples:
|
|
95
|
+
# Laravel HMVC → "App\\Modules\\{ModuleName}\\App"
|
|
96
|
+
# Symfony DDD-lite → "App\\{ModuleName}"
|
|
97
|
+
namespace_template: ""
|
|
98
|
+
|
|
99
|
+
# Per-module agent docs directory name. The agent looks for this
|
|
100
|
+
# folder under every module to auto-load `contexts/*.md` when the
|
|
101
|
+
# user enters the module via `/module explore <Name>`. Override
|
|
102
|
+
# only if your project already uses a different convention.
|
|
103
|
+
agent_folder: "agents"
|
|
104
|
+
|
|
105
|
+
# Directory names skipped during module enumeration. Template
|
|
106
|
+
# scaffolds and example modules should not show up as real modules.
|
|
107
|
+
skip_dirs: [".module-template", ".example"]
|
|
108
|
+
|
|
109
|
+
# On-the-fly detection acknowledgement. The `module-detect-on-the-fly`
|
|
110
|
+
# skill flips this to `true` once the agent has asked the user whether
|
|
111
|
+
# detected module candidates should be enabled — regardless of the
|
|
112
|
+
# answer. Prevents repeated nagging on subsequent sessions when the
|
|
113
|
+
# user said "not now". Re-detection still runs if a new root appears
|
|
114
|
+
# outside the previously surfaced set.
|
|
115
|
+
detection_acknowledged: false
|
|
116
|
+
|
|
58
117
|
# --- Memory layer (optional) ---
|
|
59
118
|
#
|
|
60
119
|
# Opt-in signal for the @event4u/agent-memory companion package and
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# Command Template
|
|
2
2
|
|
|
3
|
-
> Template for creating new commands in `.agent-src.
|
|
3
|
+
> Template for creating new commands in `.agent-src.uncondensed/commands/{command-name}.md`.
|
|
4
4
|
|
|
5
5
|
## Instructions
|
|
6
6
|
|
|
7
|
-
1. Create file: `.agent-src.
|
|
7
|
+
1. Create file: `.agent-src.uncondensed/commands/{command-name}.md`
|
|
8
8
|
2. Copy the template below
|
|
9
9
|
3. Replace all `{placeholders}` with actual content
|
|
10
10
|
4. Remove all `<!-- comments -->` when done
|
|
11
|
-
5. Run: `python3 scripts/skill_linter.py .agent-src.
|
|
11
|
+
5. Run: `python3 scripts/skill_linter.py .agent-src.uncondensed/commands/{command-name}.md`
|
|
12
12
|
6. Sync: `task sync` (regenerates `.agent-src/` and `.augment/`)
|
|
13
13
|
7. Generate Claude symlink: `task generate-tools` (or manually create symlink)
|
|
14
14
|
|
|
@@ -49,7 +49,7 @@ suggestion:
|
|
|
49
49
|
|
|
50
50
|
{One-line summary of what this command does.}
|
|
51
51
|
|
|
52
|
-
**Source of truth:** `.agent-src.
|
|
52
|
+
**Source of truth:** `.agent-src.uncondensed/` — never read or edit `.agent-src/` or `.augment/` directly.
|
|
53
53
|
|
|
54
54
|
## Steps
|
|
55
55
|
|
|
@@ -97,7 +97,7 @@ Before considering a command complete:
|
|
|
97
97
|
|
|
98
98
|
- [ ] **Frontmatter**: has `name`, `description`, `disable-model-invocation: true`, `suggestion` block
|
|
99
99
|
- [ ] **Steps**: numbered sub-headings (`### 1.`, `### 2.`, ...)
|
|
100
|
-
- [ ] **Source of truth**: works on `.agent-src.
|
|
100
|
+
- [ ] **Source of truth**: works on `.agent-src.uncondensed/`, not `.agent-src/` or `.augment/`
|
|
101
101
|
- [ ] **No auto-apply**: presents findings, asks before destructive changes
|
|
102
102
|
- [ ] **Linter passes**: `python3 scripts/skill_linter.py` reports 0 FAIL
|
|
103
103
|
- [ ] **English only**: all content in English
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Context Template
|
|
2
2
|
|
|
3
|
-
Templates for context documents stored in `agents/settings/contexts/` or `app/Modules/{Module}/agents/settings/contexts
|
|
3
|
+
Templates for context documents stored in `agents/settings/contexts/` or `{module_root}/{Module}/{agent_folder}/settings/contexts/` (resolved via `modules.root_paths` + `modules.agent_folder` in `.agent-project-settings.yml`; Laravel example: `app/Modules/{Module}/agents/settings/contexts/`).
|
|
4
4
|
|
|
5
5
|
A **context document** captures the architectural understanding of a codebase area — its structure,
|
|
6
6
|
key classes, patterns, dependencies, and conventions. It's a snapshot of knowledge that helps
|
|
@@ -102,7 +102,7 @@ This repository contains {{project_description_oneline}}.
|
|
|
102
102
|
## ✅ Known False Positives — Do NOT Flag
|
|
103
103
|
|
|
104
104
|
The repo ships agent-config rules and skills under `.augment/`,
|
|
105
|
-
`.agent-src/`, and (during authoring) `.agent-src.
|
|
105
|
+
`.agent-src/`, and (during authoring) `.agent-src.uncondensed/`.
|
|
106
106
|
Cross-references inside those trees resolve via the **delivered**
|
|
107
107
|
`.augment/` layout — not via raw git checkout. Copilot's static
|
|
108
108
|
checker walks the git tree, so it sees broken paths where there are
|
|
@@ -116,7 +116,7 @@ resolve at agent runtime. The patterns below are correct by design:
|
|
|
116
116
|
delivered location (e.g. `.augment/rules/<rule>.md`) — these paths
|
|
117
117
|
are valid via the `.augment/` tree, even when the file is symlinked
|
|
118
118
|
into `.claude/rules/`, `.cursor/rules/`, or `.clinerules/`.
|
|
119
|
-
- **`path_prefix:` triggers containing `.agent-src.
|
|
119
|
+
- **`path_prefix:` triggers containing `.agent-src.uncondensed/`**
|
|
120
120
|
in YAML frontmatter. This is a literal match pattern for the
|
|
121
121
|
host's router, **not** a file reference — source-of-truth meta-rules
|
|
122
122
|
(`augment-source-of-truth`, `augment-edit-discipline`, `skill-quality`,
|
|
@@ -127,15 +127,15 @@ resolve at agent runtime. The patterns below are correct by design:
|
|
|
127
127
|
`.augment/skills/`, `.augment/commands/` via installer-managed
|
|
128
128
|
symlinks. Missing-file reports here are renderer artifacts.
|
|
129
129
|
- **Body-link forms `../docs/guidelines/...`** (single-up). This is
|
|
130
|
-
the post-rewrite shape produced by `scripts/
|
|
131
|
-
|
|
132
|
-
source `.agent-src.
|
|
130
|
+
the post-rewrite shape produced by `scripts/condense.py`. The
|
|
131
|
+
condensed `.agent-src/rules/` tree is one level deeper than the
|
|
132
|
+
source `.agent-src.uncondensed/rules/`, so the rewriter collapses
|
|
133
133
|
`../../docs/...` to `../docs/...`. Both forms are expected — one in
|
|
134
|
-
source, one in
|
|
134
|
+
source, one in condensed output.
|
|
135
135
|
|
|
136
136
|
**What TO flag:** code defects, security issues, broken tests, type
|
|
137
|
-
errors, and any new `.agent-src.
|
|
138
|
-
into `.agent-src/rules/` body content (the `check-
|
|
137
|
+
errors, and any new `.agent-src.uncondensed/` substring introduced
|
|
138
|
+
into `.agent-src/rules/` body content (the `check-condensed-paths`
|
|
139
139
|
task gates this — flag it as a regression if it slips through).
|
|
140
140
|
|
|
141
141
|
## ✅ Code Review Comment Behavior
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Feature Planning Template
|
|
2
2
|
|
|
3
|
-
Templates for feature plan files stored in `agents/features/` or `app/Modules/{Module}/agents/features
|
|
3
|
+
Templates for feature plan files stored in `agents/features/` or `{module_root}/{Module}/{agent_folder}/features/` (resolved via `modules.root_paths` + `modules.agent_folder` in `.agent-project-settings.yml`; Laravel example: `app/Modules/{Module}/agents/features/`).
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|