@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
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
type: "auto"
|
|
3
3
|
tier: "2b"
|
|
4
4
|
alwaysApply: false
|
|
5
|
-
description: "Merging/refactoring/
|
|
5
|
+
description: "Merging/refactoring/condensing skills, rules, commands, or guidelines — prevent quality loss"
|
|
6
6
|
source: package
|
|
7
7
|
triggers:
|
|
8
8
|
- intent: "merge skill"
|
|
9
|
-
- intent: "
|
|
9
|
+
- intent: "condense rule"
|
|
10
10
|
- intent: "refactor artifact"
|
|
11
11
|
- keyword: "Iron Law"
|
|
12
12
|
validator_ignore:
|
|
13
13
|
- type: "substring"
|
|
14
|
-
pattern: ".agent-src.
|
|
15
|
-
reason: "Rule references the authoring tree as the operand of
|
|
14
|
+
pattern: ".agent-src.uncondensed/"
|
|
15
|
+
reason: "Rule references the authoring tree as the operand of condensation/preservation."
|
|
16
16
|
workspaces:
|
|
17
17
|
- agent-config-maintainer
|
|
18
18
|
packs:
|
|
@@ -29,10 +29,10 @@ install:
|
|
|
29
29
|
|
|
30
30
|
# Preservation Guard
|
|
31
31
|
|
|
32
|
-
When transforming any agent artifact (merge, refactor,
|
|
32
|
+
When transforming any agent artifact (merge, refactor, condense, split, restructure),
|
|
33
33
|
the result must be **at least as strong** as the original.
|
|
34
34
|
|
|
35
|
-
## Iron Laws — every passage stays,
|
|
35
|
+
## Iron Laws — every passage stays, telegraph is fine
|
|
36
36
|
|
|
37
37
|
Sections marked **Iron Law** (any heading matching `# Iron Law`, `# Iron Laws`,
|
|
38
38
|
`# The Iron Law`, at any heading level, including numbered variants like
|
|
@@ -45,21 +45,21 @@ preservation:
|
|
|
45
45
|
- [ ] **Negation clauses preserved** — `NO X`, `NEVER Y`, `NOT Z` stay in. These
|
|
46
46
|
are the load-bearing exception denials, not filler.
|
|
47
47
|
- [ ] **Every passage stays** — every paragraph, every list item, and every
|
|
48
|
-
fenced code block from the source survives in the
|
|
48
|
+
fenced code block from the source survives in the condensed output, in
|
|
49
49
|
order. One paragraph → one paragraph; one bullet → one bullet. Dropping
|
|
50
50
|
whole sentences, merging two paragraphs into one, or skipping a list item
|
|
51
51
|
is forbidden, even if the surviving prose still "makes the point".
|
|
52
52
|
- [ ] **No Iron Law downgrades** — `## Iron Law` MUST NOT become `### Iron Law`,
|
|
53
53
|
`**Iron Law:**`, or inline prose. Heading level is part of the prominence.
|
|
54
54
|
|
|
55
|
-
**
|
|
55
|
+
**Telegraph style is encouraged for Iron Law bodies** — drop articles ("the",
|
|
56
56
|
"a"), shorten phrasing, primitive grammar, terse cave-speak. Word count is
|
|
57
57
|
not a budget; the structural unit count is. As long as every paragraph,
|
|
58
|
-
bullet, and code block from the source is present,
|
|
58
|
+
bullet, and code block from the source is present, condense as hard as you
|
|
59
59
|
want. What's forbidden is **deletion**: the rationale paragraph stays, the
|
|
60
60
|
canonical-failure example stays, every "NEVER X" bullet stays.
|
|
61
61
|
|
|
62
|
-
`scripts/
|
|
62
|
+
`scripts/check_condensation.py` enforces these mechanically — any violation is
|
|
63
63
|
an `error`, not a warning.
|
|
64
64
|
|
|
65
65
|
## Mandatory preservation checklist
|
|
@@ -94,13 +94,13 @@ Before completing any transformation, verify:
|
|
|
94
94
|
- Skill merges (combining two skills into one)
|
|
95
95
|
- Skill splits (extracting part of a skill)
|
|
96
96
|
- Refactoring (restructuring without behavior change)
|
|
97
|
-
-
|
|
97
|
+
- Condensation (`.agent-src.uncondensed/` → `.agent-src/`)
|
|
98
98
|
- Rule consolidation
|
|
99
99
|
- Guideline restructuring
|
|
100
100
|
|
|
101
101
|
## References
|
|
102
102
|
|
|
103
|
-
- Skill: `skill-management` —
|
|
104
|
-
- Skill: `skill-reviewer` —
|
|
105
|
-
- Command: `/
|
|
106
|
-
- Linter: `scripts/skill_linter.py` — `
|
|
103
|
+
- Skill: `skill-management` — condensation/refactoring modes
|
|
104
|
+
- Skill: `skill-reviewer` — condensation safety checks
|
|
105
|
+
- Command: `/condense` — condensation quality checklist
|
|
106
|
+
- Linter: `scripts/skill_linter.py` — `check_condensation_quality()`
|
|
@@ -5,7 +5,7 @@ description: "Authoring or executing roadmaps — forbid task ci / make test / n
|
|
|
5
5
|
source: package
|
|
6
6
|
triggers:
|
|
7
7
|
- path_prefix: "agents/roadmaps/"
|
|
8
|
-
- path_prefix: "app/Modules/
|
|
8
|
+
- path_prefix: "{module_root}/" # resolved via modules.root_paths; Laravel shape: app/Modules/
|
|
9
9
|
- keyword: "task ci"
|
|
10
10
|
- keyword: "make test"
|
|
11
11
|
- keyword: "npm run check"
|
|
@@ -75,7 +75,8 @@ step's `- [ ]` line or its immediate inline `<!-- … -->` / `(…)` note.
|
|
|
75
75
|
| `vendor/bin/phpunit` (whole-suite, no path arg) | `vendor/bin/phpunit` |
|
|
76
76
|
| `php artisan test` (no `--filter`) | `php artisan test` |
|
|
77
77
|
|
|
78
|
-
Targeted commands (`vendor/bin/phpstan analyse
|
|
78
|
+
Targeted commands (`vendor/bin/phpstan analyse <module-path>` such as
|
|
79
|
+
`vendor/bin/phpstan analyse app/Modules/X` in Laravel,
|
|
79
80
|
`php artisan test --filter=…`, `npm run lint -- --fix path/`) are
|
|
80
81
|
**not** CI-shaped — narrow verifications, allowed regardless of the
|
|
81
82
|
setting.
|
|
@@ -101,7 +102,10 @@ setting.
|
|
|
101
102
|
|
|
102
103
|
`task lint-roadmap-ci-steps` (wired into `task ci-fast` /
|
|
103
104
|
`lint-roadmap-complexity` cadence) scans `agents/roadmaps/*.md` and
|
|
104
|
-
|
|
105
|
+
per-module roadmap dirs resolved via
|
|
106
|
+
`scripts/_lib/agent_settings.py::enumerate_modules()`
|
|
107
|
+
(`{module_path}/{modules.agent_folder}/roadmaps/*.md`; Laravel shape:
|
|
108
|
+
`app/Modules/*/agents/roadmaps/*.md`). Exit code:
|
|
105
109
|
|
|
106
110
|
- `0` — no CI-shaped steps, or setting is `true`, or every match is
|
|
107
111
|
carve-out-marked.
|
|
@@ -4,7 +4,7 @@ tier: "2a"
|
|
|
4
4
|
description: "Creating/editing rules, or auditing rule types — decides when a rule should be always vs auto"
|
|
5
5
|
source: package
|
|
6
6
|
triggers:
|
|
7
|
-
- path_prefix: ".agent-src.
|
|
7
|
+
- path_prefix: ".agent-src.uncondensed/rules/"
|
|
8
8
|
routes_to:
|
|
9
9
|
- "guideline:agent-infra/rule-type-governance"
|
|
10
10
|
workspaces:
|
|
@@ -4,7 +4,7 @@ tier: "mechanical-already"
|
|
|
4
4
|
description: "Creating/editing/reviewing skills — minimum quality standard; every skill executable, validated, self-contained"
|
|
5
5
|
source: package
|
|
6
6
|
triggers:
|
|
7
|
-
- path_prefix: ".agent-src.
|
|
7
|
+
- path_prefix: ".agent-src.uncondensed/skills/"
|
|
8
8
|
routes_to:
|
|
9
9
|
- "guideline:agent-infra/skill-quality-checklist"
|
|
10
10
|
workspaces:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: "auto"
|
|
3
3
|
tier: "1"
|
|
4
|
-
description: "When
|
|
4
|
+
description: "When telegraph.speak_scope != off — condense prose to telegraph grammar with carve-outs for numbered options, Iron-Law, code, paths, error markers"
|
|
5
5
|
source: package
|
|
6
6
|
triggers:
|
|
7
7
|
- intent: "any reply"
|
|
@@ -19,21 +19,21 @@ install:
|
|
|
19
19
|
removable: false
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# Telegraph Speak
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Condense reply prose to telegraph grammar per `telegraph.speak_scope`. Body
|
|
25
25
|
prose only — carve-outs preserved byte-for-byte.
|
|
26
26
|
|
|
27
27
|
## Scope
|
|
28
28
|
|
|
29
|
-
Read `
|
|
29
|
+
Read `telegraph.speak_scope` from `.agent-settings.yml`:
|
|
30
30
|
|
|
31
31
|
- `off` — rule inactive.
|
|
32
|
-
- `prose_only` (default) —
|
|
33
|
-
- `aggressive` —
|
|
32
|
+
- `prose_only` (default) — telegraph in body prose; carve-outs preserved.
|
|
33
|
+
- `aggressive` — telegraph everywhere except Iron-Law literals.
|
|
34
34
|
|
|
35
|
-
Compile-time toggle `
|
|
36
|
-
`dist/router.json` (zero runtime cost). `
|
|
35
|
+
Compile-time toggle `telegraph.speak`: `false` → rule omitted from
|
|
36
|
+
`dist/router.json` (zero runtime cost). `telegraph.enabled: false` forces all
|
|
37
37
|
sub-switches off regardless.
|
|
38
38
|
|
|
39
39
|
## Carve-outs — byte-for-byte preserved
|
|
@@ -58,9 +58,9 @@ Mangling these breaks Iron Laws. Apply regardless of `speak_scope`:
|
|
|
58
58
|
|
|
59
59
|
Post-rewrite validator runs on every reply when `speak_scope != off`:
|
|
60
60
|
|
|
61
|
-
1. **Snapshot** — before
|
|
61
|
+
1. **Snapshot** — before condensation, hash each line in carve-out
|
|
62
62
|
regions (1–7 above).
|
|
63
|
-
2. **Rewrite** —
|
|
63
|
+
2. **Rewrite** — condense body prose to telegraph grammar.
|
|
64
64
|
3. **Validate** — re-scan; for each carve-out region whose line hash
|
|
65
65
|
differs from the snapshot, **restore the original prose**.
|
|
66
66
|
4. **Emit** — the validated reply.
|
|
@@ -68,9 +68,9 @@ Post-rewrite validator runs on every reply when `speak_scope != off`:
|
|
|
68
68
|
The rule documents the algorithm; agents apply it inline before
|
|
69
69
|
sending. The mechanism is the rule, not a hidden script.
|
|
70
70
|
|
|
71
|
-
Optional CI-side regression lock: [`scripts/
|
|
71
|
+
Optional CI-side regression lock: [`scripts/validate_telegraph_carveouts.py`](../../scripts/validate_telegraph_carveouts.py) takes pre/post reply pair and asserts byte-identical preservation across all seven carve-out categories — runtime mechanism stays algorithmic; script is offline check.
|
|
72
72
|
|
|
73
|
-
##
|
|
73
|
+
## Telegraph grammar
|
|
74
74
|
|
|
75
75
|
- Drop articles (`the`, `a`, `an`).
|
|
76
76
|
- Drop linking auxiliaries (`is`, `are`, `was`, `be`) where
|
|
@@ -85,8 +85,8 @@ Example: *"I will now check the file and see if it exists"* →
|
|
|
85
85
|
|
|
86
86
|
| Key | Default | Effect |
|
|
87
87
|
|---|---|---|
|
|
88
|
-
| `
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
88
|
+
| `telegraph.enabled` | `true` | Master — `false` forces all sub-switches off. |
|
|
89
|
+
| `telegraph.speak` | `true` | Compile-time include in `dist/router.json`. |
|
|
90
|
+
| `telegraph.speak_scope` | `prose_only` | Runtime scope of telegraph grammar. |
|
|
91
91
|
|
|
92
92
|
Cross-rule index: [`frugality-charter § cross-references`](../contexts/contracts/frugality-charter.md#cross-references--frugality-canon-rules).
|
|
@@ -14,7 +14,7 @@ routes_to:
|
|
|
14
14
|
- "skill:token-optimizer"
|
|
15
15
|
validator_ignore:
|
|
16
16
|
- type: "substring"
|
|
17
|
-
pattern: ".agent-src.
|
|
17
|
+
pattern: ".agent-src.uncondensed/"
|
|
18
18
|
reason: "Rule lists the authoring-tree paths that must stay in sync with the catalog."
|
|
19
19
|
workspaces:
|
|
20
20
|
- agent-config-maintainer
|
|
@@ -43,10 +43,10 @@ THE CI LINK VALIDATOR IS A BACKSTOP, NOT A SUBSTITUTE FOR CARE.
|
|
|
43
43
|
|
|
44
44
|
About to edit any of:
|
|
45
45
|
|
|
46
|
-
- `.agent-src.
|
|
47
|
-
- `.agent-src.
|
|
48
|
-
- `.agent-src.
|
|
49
|
-
- `.agent-src.
|
|
46
|
+
- `.agent-src.uncondensed/rules/cli-output-handling.md`
|
|
47
|
+
- `.agent-src.uncondensed/rules/token-efficiency.md`
|
|
48
|
+
- `.agent-src.uncondensed/rules/direct-answers.md`
|
|
49
|
+
- `.agent-src.uncondensed/skills/rtk-output-filtering/SKILL.md`
|
|
50
50
|
- `.claude/skills/agent-handoff/SKILL.md`
|
|
51
51
|
- Any other asset cited by
|
|
52
52
|
[`token-optimizer`](../skills/token-optimizer/SKILL.md) (catalog
|
|
@@ -61,7 +61,7 @@ If the edit touches:
|
|
|
61
61
|
- **The asset's path / location** (rename, move, deletion)
|
|
62
62
|
|
|
63
63
|
then in the same commit, update the matching row in
|
|
64
|
-
`.agent-src.
|
|
64
|
+
`.agent-src.uncondensed/skills/token-optimizer/SKILL.md` —
|
|
65
65
|
the catalog table AND the relevant tree leaf.
|
|
66
66
|
|
|
67
67
|
## Out of scope
|
|
@@ -115,11 +115,17 @@ agents/
|
|
|
115
115
|
**Structure rule:** Structural docs directly in `agents/`, features/roadmaps in subdirectories.
|
|
116
116
|
**Templates** live in `.augment/templates/`, NOT in `agents/` subdirectories.
|
|
117
117
|
|
|
118
|
-
### Layer 6: `
|
|
118
|
+
### Layer 6: `{module_root}/{Module}/{agent_folder}/` — Module-specific documentation
|
|
119
|
+
|
|
120
|
+
`{module_root}` comes from `modules.root_paths` and `{agent_folder}` from
|
|
121
|
+
`modules.agent_folder` in `.agent-project-settings.yml`. Discover via
|
|
122
|
+
`scripts/_lib/agent_settings.py::enumerate_modules()`. Common shapes:
|
|
123
|
+
Laravel `app/Modules/{Module}/agents/`, Symfony `src/Bundle/{Bundle}/agents/`,
|
|
124
|
+
monorepo `packages/{Pkg}/agents/`.
|
|
119
125
|
|
|
120
126
|
```
|
|
121
|
-
app/Modules/ClientSoftware/
|
|
122
|
-
├── agents/
|
|
127
|
+
{module_root}/{Module}/ ← e.g. app/Modules/ClientSoftware/
|
|
128
|
+
├── {agent_folder}/ ← e.g. agents/
|
|
123
129
|
│ ├── module-description.md
|
|
124
130
|
│ ├── features/ ← Module-scoped feature plans
|
|
125
131
|
│ │ └── {feature-name}.md
|
|
@@ -137,8 +143,8 @@ app/Modules/ClientSoftware/
|
|
|
137
143
|
### Layer 7: `Docs/` — Technical documentation
|
|
138
144
|
|
|
139
145
|
```
|
|
140
|
-
Docs/
|
|
141
|
-
|
|
146
|
+
Docs/ ← Project-level technical docs
|
|
147
|
+
{module_root}/{Module}/Docs/ ← Module-level technical docs
|
|
142
148
|
```
|
|
143
149
|
|
|
144
150
|
**Purpose:** Technical documentation for humans (setup guides, architecture diagrams, API docs).
|
|
@@ -164,9 +170,9 @@ When starting work, read documentation in this order:
|
|
|
164
170
|
2. `.github/copilot-instructions.md` (if it exists) — coding standards
|
|
165
171
|
4. `agents/overrides/` — check for project-level overrides of skills/rules/commands
|
|
166
172
|
5. `./agents/` — project-specific docs relevant to the task
|
|
167
|
-
6. `
|
|
168
|
-
7. `agents/features/` or module `
|
|
169
|
-
8. `agents/roadmaps/` or module `
|
|
173
|
+
6. `{module_root}/{Module}/{agent_folder}/` — if working on a module (resolved via `modules.root_paths` + `modules.agent_folder`; Laravel: `app/Modules/{Module}/agents/`, Symfony: `src/Bundle/{Bundle}/agents/`, monorepo: `packages/{Pkg}/agents/`)
|
|
174
|
+
7. `agents/features/` or module `{agent_folder}/features/` — if related feature plan exists
|
|
175
|
+
8. `agents/roadmaps/` or module `{agent_folder}/roadmaps/` — if continuing existing work
|
|
170
176
|
|
|
171
177
|
## Procedure: Create or update agent docs
|
|
172
178
|
|
|
@@ -177,7 +183,7 @@ When starting work, read documentation in this order:
|
|
|
177
183
|
|
|
178
184
|
| Trigger | Action |
|
|
179
185
|
|---|---|
|
|
180
|
-
| New module created | Create `
|
|
186
|
+
| New module created | Create `{module_root}/{Module}/{agent_folder}/` with module description (Laravel example: `app/Modules/{Module}/agents/`) |
|
|
181
187
|
| Significant multi-step change | Ask user about creating a roadmap in `agents/roadmaps/` |
|
|
182
188
|
| New convention introduced | Update relevant doc in `./agents/` or `.augment/guidelines/` |
|
|
183
189
|
| Database schema changed | Update `agents/reference/docs/database-setup.md` |
|
|
@@ -199,7 +205,7 @@ After completing a significant code change, run this mental checklist:
|
|
|
199
205
|
|---|---|
|
|
200
206
|
| Database schema (migration) | `agents/reference/docs/database-setup.md` |
|
|
201
207
|
| New API endpoint | OpenAPI annotations, `AGENTS.md` API section |
|
|
202
|
-
| New module created | Create `
|
|
208
|
+
| New module created | Create `{module_root}/{Module}/{agent_folder}/` (resolve via `modules.root_paths` + `modules.agent_folder`) |
|
|
203
209
|
| Service/repository signature changed | Check if referenced in `agents/reference/docs/services-and-repos.md` |
|
|
204
210
|
| New environment variable | `.env.example`, `AGENTS.md` environment section |
|
|
205
211
|
| Docker/compose change | `agents/reference/docs/docker.md`, `Makefile` documentation |
|
|
@@ -232,7 +238,7 @@ Do NOT auto-update docs without the user's knowledge. Flag what needs updating a
|
|
|
232
238
|
- Don't create documentation files unless explicitly requested — the scope-control rule overrides this skill.
|
|
233
239
|
- Always check if a doc already exists before creating a new one — duplicates are worse than gaps.
|
|
234
240
|
- AGENTS.md and copilot-instructions.md have different audiences — don't copy content between them.
|
|
235
|
-
- Module docs go in `
|
|
241
|
+
- Module docs go in `{module_root}/{Module}/{agent_folder}/` (per `modules.root_paths`), NOT in the central `agents/` directory.
|
|
236
242
|
|
|
237
243
|
## Frugality Standards
|
|
238
244
|
|
|
@@ -29,7 +29,7 @@ install:
|
|
|
29
29
|
|
|
30
30
|
Use when:
|
|
31
31
|
- Editing `AGENTS.md` at the package root.
|
|
32
|
-
- Editing `packages/core/.agent-src.
|
|
32
|
+
- Editing `packages/core/.agent-src.uncondensed/templates/AGENTS.md` (consumer-shipped template).
|
|
33
33
|
- Reviewing a PR that changes either file.
|
|
34
34
|
- Running `/optimize/agents`.
|
|
35
35
|
- A budget meter (`scripts/measure_augment_budget.py`) flags the package-root AGENTS.md as the dominant cost.
|
|
@@ -37,7 +37,7 @@ Use when:
|
|
|
37
37
|
## Do NOT
|
|
38
38
|
|
|
39
39
|
- Edit `.github/copilot-instructions.md` with this skill (use `copilot-agents-optimization` instead).
|
|
40
|
-
- Edit other `.md` files under `.augment/`, `packages/*/.agent-src.
|
|
40
|
+
- Edit other `.md` files under `.augment/`, `packages/*/.agent-src.uncondensed/`, or `agents/` with this skill.
|
|
41
41
|
- Add a section to AGENTS.md without first checking whether an outboard target already exists in `agents/settings/contexts/` or `docs/contracts/`.
|
|
42
42
|
- Replace prose with a bare link `[label](path)` — every pointer needs a *why*-clause ≥ 60 chars or it does not count toward the 40 % ratio.
|
|
43
43
|
- Reuse the package-root anatomy in the consumer template — caps and target paths differ.
|
|
@@ -55,7 +55,7 @@ Every entry describes **what** the project does or **where** to learn more — n
|
|
|
55
55
|
| File | FAIL above | WARN above | Target |
|
|
56
56
|
|---|---|---|---|
|
|
57
57
|
| `AGENTS.md` (package root) | 3,000 chars | 2,800 chars | ≤ 2,800 |
|
|
58
|
-
| `packages/core/.agent-src.
|
|
58
|
+
| `packages/core/.agent-src.uncondensed/templates/AGENTS.md` (consumer) | 2,500 chars | 2,300 chars | ≤ 2,300 |
|
|
59
59
|
|
|
60
60
|
Char-count is raw file size (`wc -c`), frontmatter included. Enforcement: `scripts/lint_agents_md.py` (Phase 7), wired into the package's CI pipeline via the `lint-agents-md` task. WARN is a soft signal in CI; FAIL blocks merge.
|
|
61
61
|
|
|
@@ -93,7 +93,7 @@ Every substantive pointer specifies, on the same line or the immediately followi
|
|
|
93
93
|
|
|
94
94
|
## The contract — emergency-triage block
|
|
95
95
|
|
|
96
|
-
Every Thin-Root AGENTS.md MUST contain an **Emergency Triage** section verbatim from `packages/core/.agent-src.
|
|
96
|
+
Every Thin-Root AGENTS.md MUST contain an **Emergency Triage** section verbatim from `packages/core/.agent-src.uncondensed/contexts/contracts/emergency-triage-block.md` (Phase 6.4 will create that file as the canonical source). The block lists the five questions a host agent answers from the root file alone when network / tool access is degraded:
|
|
97
97
|
|
|
98
98
|
1. What is this repository?
|
|
99
99
|
2. What language(s) does this repository accept?
|
|
@@ -107,22 +107,22 @@ Each answer must fit on one line. The block exists so the root never silently de
|
|
|
107
107
|
|
|
108
108
|
1. **Measure baseline.** `wc -c AGENTS.md` and `python3 scripts/measure_augment_budget.py`. Record current char-count and the gap to 2,200 / 2,500.
|
|
109
109
|
2. **Inventory sections.** List every `## ` heading and its char-count. Mark each as `keep-inline` (Iron-Law-adjacent, ≤ 200 chars, no good outboard target) or `outboard-candidate` (longer-form prose, table-only sections, narrative).
|
|
110
|
-
3. **Identify outboard targets.** For each `outboard-candidate`, name the destination — `packages/core/.agent-src.
|
|
110
|
+
3. **Identify outboard targets.** For each `outboard-candidate`, name the destination — `packages/core/.agent-src.uncondensed/contexts/`, `docs/contracts/`, an existing rule body, an existing skill body. Never invent a new top-level directory.
|
|
111
111
|
4. **Move content; insert pointer.** Cut the section into the target file. Replace it in AGENTS.md with a single substantive pointer per anatomy above. Verify the *why*-clause length.
|
|
112
112
|
5. **Re-measure.** `wc -c AGENTS.md` again. If above 2,200, repeat steps 2–4 on the next-largest section. Above 2,500 = must outboard further before commit.
|
|
113
113
|
6. **Validate pointer ratio.** Count non-blank lines and substantive-pointer lines. Ratio < 0.40 = collapse decorative or boilerplate lines into a single pointer or remove.
|
|
114
|
-
7. **Verify emergency-triage block.** Diff the in-file block against `packages/core/.agent-src.
|
|
114
|
+
7. **Verify emergency-triage block.** Diff the in-file block against `packages/core/.agent-src.uncondensed/contexts/contracts/emergency-triage-block.md`. Drift = revert to canonical.
|
|
115
115
|
8. **Run lints.** `task lint-agents-md && task check-refs && task lint-skills`. All green before commit.
|
|
116
116
|
|
|
117
117
|
## Procedure — apply Thin-Root to consumer template
|
|
118
118
|
|
|
119
|
-
Same procedure, applied to `packages/core/.agent-src.
|
|
119
|
+
Same procedure, applied to `packages/core/.agent-src.uncondensed/templates/AGENTS.md`. Hard cap shifts to 2,000 / 1,700. The consumer template intentionally lacks the package-self-references — its pointers target files that exist in the **consumer's** repo (`.augment/skills/`, `agents/settings/contexts/`, ...), not this package's authoring tree.
|
|
120
120
|
|
|
121
121
|
## Gotchas
|
|
122
122
|
|
|
123
|
-
- **Outboarding to a new top-level dir.** Inventing `agents/explainers/` or `docs/notes/` for the moved content silently widens the contract surface. Outboard only into `packages/core/.agent-src.
|
|
123
|
+
- **Outboarding to a new top-level dir.** Inventing `agents/explainers/` or `docs/notes/` for the moved content silently widens the contract surface. Outboard only into `packages/core/.agent-src.uncondensed/contexts/`, `docs/contracts/`, an existing rule body, or an existing skill body.
|
|
124
124
|
- **Pointer-ratio inflation by decoration.** Adding boilerplate "Browse all skills" / "See also" links to lift the ratio above 40 % defeats the purpose. The lint counts only substantive pointers (with a *why*-clause ≥ 60 chars); decorative links get filtered out and the ratio drops back below threshold.
|
|
125
|
-
- **Emergency-triage drift.** Editing the in-file emergency-triage block instead of the canonical `packages/core/.agent-src.
|
|
125
|
+
- **Emergency-triage drift.** Editing the in-file emergency-triage block instead of the canonical `packages/core/.agent-src.uncondensed/contexts/contracts/emergency-triage-block.md` causes the package-root and consumer-template versions to diverge silently. Always edit the canonical file and let the lint diff pull both back in sync.
|
|
126
126
|
- **Cap inversion under WARN.** A 2,250-char AGENTS.md (above 2,200 WARN, below 2,500 FAIL) is a yellow signal not a green one — every additional sentence raises the probability of the next FAIL. Treat WARN as the spend boundary, not a buffer.
|
|
127
127
|
- **Char-count includes frontmatter.** `wc -c` counts every byte including the YAML preamble, blank lines, and the trailing newline. Stripping a section to "look smaller" without re-running `wc -c` understates the true budget impact.
|
|
128
128
|
- **Path enumeration.** A run of three or more bare `` `path/to/dir/` `` bullets without *why*-clauses is the classic re-bloat pattern. The lint emits a WARN at ≥ 3 such lines. Collapse them into one capability-style pointer — see the recipe in [`agents-md-anatomy § Iron Law`](../../contexts/contracts/agents-md-anatomy.md#iron-law--capabilities-over-structure).
|
|
@@ -32,7 +32,7 @@ install:
|
|
|
32
32
|
Use this skill when:
|
|
33
33
|
|
|
34
34
|
- A skill, rule, command, guideline, or context has been renamed or deleted
|
|
35
|
-
- Linking a newly added artifact from elsewhere in `.agent-src.
|
|
35
|
+
- Linking a newly added artifact from elsewhere in `.agent-src.uncondensed/`
|
|
36
36
|
- Preparing a PR that touches cross-references between agent artifacts
|
|
37
37
|
- CI's `check-refs` job failed and the broken reference needs to be located
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Do NOT use when:
|
|
|
40
40
|
|
|
41
41
|
- Only the body of a single file changed and no names or paths were touched
|
|
42
42
|
- Checking frontmatter shape or required sections — use `lint-skills` instead
|
|
43
|
-
- Verifying
|
|
43
|
+
- Verifying condensed vs uncondensed pairs — use `bash scripts/condense.sh --check` instead
|
|
44
44
|
|
|
45
45
|
## Procedure
|
|
46
46
|
|
|
@@ -130,8 +130,8 @@ After the code changes are verified, update all affected documentation:
|
|
|
130
130
|
|---|---|---|
|
|
131
131
|
| **Project docs** | When conventions, patterns, or key files change | `agents/reference/docs/*.md` |
|
|
132
132
|
| **Project contexts** | When architecture or high-level flow changes | `agents/settings/contexts/*.md` |
|
|
133
|
-
| **Module agent docs** | When module-specific behavior changes | `
|
|
134
|
-
| **Module Docs/** | When module internals change | `
|
|
133
|
+
| **Module agent docs** | When module-specific behavior changes | `{module_root}/*/{agent_folder}/` (per `modules.root_paths` + `modules.agent_folder`) |
|
|
134
|
+
| **Module Docs/** | When module internals change | `{module_root}/*/Docs/` |
|
|
135
135
|
| **AGENTS.md** | When project-wide conventions change | `AGENTS.md` |
|
|
136
136
|
| **Roadmaps** | When a roadmap step is completed | `agents/roadmaps/*.md` |
|
|
137
137
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: command-writing
|
|
3
|
-
description: "Use when creating or editing a slash command in .agent-src.
|
|
3
|
+
description: "Use when creating or editing a slash command in .agent-src.uncondensed/commands/ — frontmatter, numbered steps, safety gates — even when the user just says 'add a /command for X'."
|
|
4
4
|
source: package
|
|
5
5
|
domain: process
|
|
6
6
|
workspaces:
|
|
@@ -23,7 +23,7 @@ install:
|
|
|
23
23
|
|
|
24
24
|
## When to use
|
|
25
25
|
|
|
26
|
-
* Creating a new slash command in `.agent-src.
|
|
26
|
+
* Creating a new slash command in `.agent-src.uncondensed/commands/{name}.md`
|
|
27
27
|
* Rewriting an existing command (not a typo fix)
|
|
28
28
|
* Deciding whether a request should be a command at all
|
|
29
29
|
* Splitting an oversized command into smaller ones
|
|
@@ -47,8 +47,8 @@ author as a skill and add a thin command that delegates to it.
|
|
|
47
47
|
|
|
48
48
|
## Commands ARE Claude skills (projection reality)
|
|
49
49
|
|
|
50
|
-
Every `.agent-src.
|
|
51
|
-
`.claude/skills/{slug}/SKILL.md` via `scripts/
|
|
50
|
+
Every `.agent-src.uncondensed/commands/{name}.md` projects to
|
|
51
|
+
`.claude/skills/{slug}/SKILL.md` via `scripts/condense.py`
|
|
52
52
|
(`generate_claude_commands`). Nested commands flatten with `-`
|
|
53
53
|
(`council/default.md` → `council-default`). Skills + commands share the
|
|
54
54
|
**same `.claude/skills/` namespace** — Claude does not distinguish them.
|
|
@@ -84,7 +84,7 @@ Research → Draft from the
|
|
|
84
84
|
|
|
85
85
|
* **Understand** — what user-facing problem does `/{name}` solve in one
|
|
86
86
|
session? What are the inputs, outputs, side effects?
|
|
87
|
-
* **Research** — **inspect** `.agent-src.
|
|
87
|
+
* **Research** — **inspect** `.agent-src.uncondensed/templates/command.md`,
|
|
88
88
|
grep `commands/` for overlap, and **analyze** 1–2 peer commands
|
|
89
89
|
(e.g. `create-pr`, `commit`).
|
|
90
90
|
* **Draft** — propose frontmatter (`name`, `description`) first, then the
|
|
@@ -92,7 +92,7 @@ Research → Draft from the
|
|
|
92
92
|
|
|
93
93
|
### 1. Use the template
|
|
94
94
|
|
|
95
|
-
Canonical source: `.agent-src.
|
|
95
|
+
Canonical source: `.agent-src.uncondensed/templates/command.md`.
|
|
96
96
|
|
|
97
97
|
Minimum frontmatter:
|
|
98
98
|
|
|
@@ -142,7 +142,7 @@ no silent edits, max two rounds.
|
|
|
142
142
|
Required sections in this order:
|
|
143
143
|
|
|
144
144
|
1. `# /{name}` heading + one-line summary
|
|
145
|
-
2. **Source of truth note** — works on `.agent-src.
|
|
145
|
+
2. **Source of truth note** — works on `.agent-src.uncondensed/`, never on
|
|
146
146
|
generated directories
|
|
147
147
|
3. `## Steps` — numbered sub-headings `### 1.`, `### 2.`, ...
|
|
148
148
|
4. Final step **presents findings** and asks the user before destructive
|
|
@@ -154,16 +154,16 @@ Required sections in this order:
|
|
|
154
154
|
* No auto-apply of destructive actions without user confirmation.
|
|
155
155
|
* Every step with side effects (git push, file delete, PR merge) asks first.
|
|
156
156
|
* If the command calls external APIs, list required keys / permissions.
|
|
157
|
-
* If the command edits agent files, target `.agent-src.
|
|
157
|
+
* If the command edits agent files, target `.agent-src.uncondensed/` only.
|
|
158
158
|
|
|
159
159
|
### 3b. Path conventions in command body
|
|
160
160
|
|
|
161
161
|
Body links to guidelines / contracts use the verbatim relative form
|
|
162
162
|
(`../../docs/guidelines/...`, `../../docs/contracts/...`); the
|
|
163
|
-
|
|
164
|
-
not write `.agent-src.
|
|
163
|
+
condense-time rewriter handles depth. Do not pre-rewrite in source. Do
|
|
164
|
+
not write `.agent-src.uncondensed/` in any markdown link target — the
|
|
165
165
|
file ships into `.augment/commands/` and the prefix breaks consumer
|
|
166
|
-
resolution. The only legitimate `.agent-src.
|
|
166
|
+
resolution. The only legitimate `.agent-src.uncondensed/` strings in a
|
|
167
167
|
command file are prose mentions and step instructions about where to
|
|
168
168
|
edit (per § 2 above). Canonical reference: `rule-writing` § 3b.
|
|
169
169
|
|
|
@@ -183,10 +183,10 @@ multi-paragraph explanation, extract it into a skill and call it.
|
|
|
183
183
|
|
|
184
184
|
### 5. Validate
|
|
185
185
|
|
|
186
|
-
* Run `python3 scripts/skill_linter.py .agent-src.
|
|
186
|
+
* Run `python3 scripts/skill_linter.py .agent-src.uncondensed/commands/{name}.md`
|
|
187
187
|
→ 0 FAIL.
|
|
188
|
-
* Run `bash scripts/
|
|
189
|
-
* Run `python3 scripts/
|
|
188
|
+
* Run `bash scripts/condense.sh --sync` → regenerates `.agent-src/commands/{name}.md`.
|
|
189
|
+
* Run `python3 scripts/condense.py --generate-tools` → creates the Claude symlink at
|
|
190
190
|
`.claude/skills/{name}/SKILL.md`.
|
|
191
191
|
* Run the full CI pipeline locally (see `Taskfile.yml` in this repo for
|
|
192
192
|
the script list) — must exit 0 except for tolerated warnings.
|
|
@@ -213,7 +213,7 @@ See `agents/evidence/analysis/lint-warning-triage.md` for the 3-bucket reference
|
|
|
213
213
|
|
|
214
214
|
## Output format
|
|
215
215
|
|
|
216
|
-
1. Complete command file at `.agent-src.
|
|
216
|
+
1. Complete command file at `.agent-src.uncondensed/commands/{name}.md`
|
|
217
217
|
2. Frontmatter populated, `disable-model-invocation: true` present
|
|
218
218
|
3. Linter output showing 0 FAIL
|
|
219
219
|
4. Generated Claude symlink verified
|
|
@@ -225,7 +225,7 @@ See `agents/evidence/analysis/lint-warning-triage.md` for the 3-bucket reference
|
|
|
225
225
|
* Numbered options without a "skip" / "no change" path.
|
|
226
226
|
* Steps that silently apply destructive changes — always show summary + ask.
|
|
227
227
|
* Referring to `.augment/` paths for editing — source of truth is
|
|
228
|
-
`.agent-src.
|
|
228
|
+
`.agent-src.uncondensed/`.
|
|
229
229
|
* Duplicating another command's workflow instead of delegating via `skills:`.
|
|
230
230
|
|
|
231
231
|
## Frugality Standards
|
|
@@ -262,7 +262,7 @@ to every command you author.
|
|
|
262
262
|
## Cloud Behavior
|
|
263
263
|
|
|
264
264
|
On cloud surfaces (Claude.ai Web, Skills API) the package's
|
|
265
|
-
`scripts/skill_linter.py`, `scripts/
|
|
265
|
+
`scripts/skill_linter.py`, `scripts/condense.py`, and the `task`
|
|
266
266
|
runner are not available. This skill still applies — but with
|
|
267
267
|
prose-only validation:
|
|
268
268
|
|
|
@@ -274,9 +274,9 @@ prose-only validation:
|
|
|
274
274
|
* Self-check the body shape: numbered steps, explicit safety gates,
|
|
275
275
|
no inline skill-level detail.
|
|
276
276
|
* Tell the user to save the file under
|
|
277
|
-
`.agent-src.
|
|
277
|
+
`.agent-src.uncondensed/commands/{name}.md` and run
|
|
278
278
|
`task sync && task lint-skills` locally before committing.
|
|
279
|
-
* Skip every reference to running the linter,
|
|
279
|
+
* Skip every reference to running the linter, condenseor, or
|
|
280
280
|
generators yourself — they only run on the user's machine.
|
|
281
281
|
|
|
282
282
|
## Examples
|
|
@@ -33,7 +33,7 @@ Do NOT use as a payroll / equity-administration substitute (this skill produces
|
|
|
33
33
|
## Cognition cluster
|
|
34
34
|
|
|
35
35
|
- **Mental model 1 — First principles.** Strip every comp question to: *what behavior are we paying for, over what horizon, with what risk-bearing?* Cash pays for present effort; equity pays for future co-built value with risk; bonus pays for outcome-linked behavior. Mixing the levers without first-principles intent produces confusion. See [`mental-models.md`](../../../docs/contracts/mental-models.md) § 1.
|
|
36
|
-
- **Mental model 28 — Inversion.** *"What comp shape would force our best people to leave?"* Inversion surfaces the load-bearing risks (
|
|
36
|
+
- **Mental model 28 — Inversion.** *"What comp shape would force our best people to leave?"* Inversion surfaces the load-bearing risks (condensation at senior levels, equity refresh gaps, geo arbitrage that punishes loyalty).
|
|
37
37
|
- **Mental model 26 — Optionality.** Each comp lever preserves or forecloses future options. Above-band offers preserve hire optionality but foreclose internal-equity optionality. Equity-heavy mix preserves cash runway but forecloses people who need liquidity. Read every move as an optionality trade.
|
|
38
38
|
- **Mental model 21 — Second-order thinking.** A raise to one person ripples (perceived parity, retention pressure on peers, expectation-setting for next cycle). A band shift ripples (new-hire offers anchor higher, internal expectations re-anchor). Comp moves rarely stay isolated.
|
|
39
39
|
- **Context-spine — org-stage + customer-segment + regulatory-regime.** Read **org-stage** for what's affordable and credible (pre-seed: cash-light, equity-heavy; growth: cash-competitive at 50th–75th; late: cash-led, equity less load-bearing). Read **customer-segment** for which talent pool we compete in (enterprise sales needs enterprise pay shape). Read **regulatory-regime** for pay-transparency / disclosure obligations (EU directive, CA / CO / NY state laws).
|