@event4u/agent-config 14.23.0 → 15.0.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/.augment-plugin/marketplace.json +3 -3
- package/.augment-plugin/plugin.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +198 -0
- package/README.md +1 -1
- package/dist/agent-src/commands/agent-handoff.md +8 -7
- package/dist/agent-src/commands/agents/init.md +1 -1
- package/dist/agent-src/commands/agents/user/accept.md +4 -4
- package/dist/agent-src/commands/agents/user/delete.md +2 -2
- package/dist/agent-src/commands/agents/user/init.md +3 -3
- package/dist/agent-src/commands/agents/user/review.md +3 -3
- package/dist/agent-src/commands/agents/user/show.md +3 -3
- package/dist/agent-src/commands/agents/user/update.md +2 -2
- package/dist/agent-src/commands/agents/user.md +6 -6
- package/dist/agent-src/commands/analytics/prune.md +1 -1
- package/dist/agent-src/commands/analytics/show.md +2 -2
- package/dist/agent-src/commands/analyze/decision.md +2 -2
- package/dist/agent-src/commands/analyze/inbox.md +5 -5
- package/dist/agent-src/commands/analyze/incident.md +3 -3
- package/dist/agent-src/commands/analyze/near-miss.md +3 -3
- package/dist/agent-src/commands/analyze/postmortem.md +4 -4
- package/dist/agent-src/commands/analyze/premortem.md +2 -2
- package/dist/agent-src/commands/analyze.md +2 -2
- package/dist/agent-src/commands/bug/fix.md +1 -1
- package/dist/agent-src/commands/bug/investigate.md +2 -2
- package/dist/agent-src/commands/cost/profile.md +3 -3
- package/dist/agent-src/commands/design.md +1 -1
- package/dist/agent-src/commands/feature/explore.md +1 -1
- package/dist/agent-src/commands/feature/plan.md +2 -2
- package/dist/agent-src/commands/feature/roadmap.md +2 -2
- package/dist/agent-src/commands/ghostwriter/fetch.md +4 -4
- package/dist/agent-src/commands/ghostwriter/list.md +1 -1
- package/dist/agent-src/commands/ghostwriter/show.md +1 -1
- package/dist/agent-src/commands/ghostwriter/write.md +9 -9
- package/dist/agent-src/commands/humanize.md +6 -6
- package/dist/agent-src/commands/jira-ticket.md +1 -1
- package/dist/agent-src/commands/judge/solo.md +1 -1
- package/dist/agent-src/commands/judge.md +1 -1
- package/dist/agent-src/commands/knowledge/cross-repo.md +1 -1
- package/dist/agent-src/commands/knowledge/forget.md +1 -1
- package/dist/agent-src/commands/knowledge/ingest.md +2 -2
- package/dist/agent-src/commands/knowledge/list.md +1 -1
- package/dist/agent-src/commands/memory/add.md +3 -3
- package/dist/agent-src/commands/memory/load.md +4 -4
- package/dist/agent-src/commands/memory/mine-session.md +1 -1
- package/dist/agent-src/commands/memory/promote.md +4 -4
- package/dist/agent-src/commands/memory/propose.md +2 -2
- package/dist/agent-src/commands/mode.md +5 -5
- package/dist/agent-src/commands/post-as/ghostwriter.md +3 -3
- package/dist/agent-src/commands/post-as/me.md +7 -7
- package/dist/agent-src/commands/pr/create.md +1 -1
- package/dist/agent-src/commands/pr/merge.md +1 -1
- package/dist/agent-src/commands/profile/activate.md +1 -1
- package/dist/agent-src/commands/profile/show.md +1 -1
- package/dist/agent-src/commands/research/deep.md +2 -2
- package/dist/agent-src/commands/research/report.md +2 -2
- package/dist/agent-src/commands/review/changes.md +1 -1
- package/dist/agent-src/commands/review/routing.md +1 -1
- package/dist/agent-src/commands/roadmap/create.md +1 -1
- package/dist/agent-src/commands/roadmap/materialize.md +2 -2
- package/dist/agent-src/commands/roadmap/next.md +1 -1
- package/dist/agent-src/commands/roadmap/process-full.md +2 -2
- package/dist/agent-src/commands/security-audit-config.md +3 -3
- package/dist/agent-src/commands/skill/preview.md +1 -1
- package/dist/agent-src/commands/skills/discover.md +1 -1
- package/dist/agent-src/commands/sync/agent-settings.md +2 -2
- package/dist/agent-src/commands/sync/gitignore/fix.md +1 -1
- package/dist/agent-src/commands/tests/create.md +1 -1
- package/dist/agent-src/commands/tests/e2e-heal.md +1 -1
- package/dist/agent-src/commands/tests/e2e-plan.md +1 -1
- package/dist/agent-src/contexts/authority/kernel-rule-edits.md +6 -6
- package/dist/agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +1 -2
- package/dist/agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +2 -2
- package/dist/agent-src/contexts/communication/rules-auto/token-efficiency-mechanics.md +88 -1
- package/dist/agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +1 -1
- package/dist/agent-src/contexts/contracts/frugality-charter.md +1 -1
- package/dist/agent-src/contexts/execution/auto-dispatch-classification.md +1 -1
- package/dist/agent-src/contexts/execution/auto-orchestration-activation.md +1 -1
- package/dist/agent-src/contexts/execution/autonomy-mechanics.md +1 -1
- package/dist/agent-src/contexts/execution/cheap-question-mechanics.md +1 -1
- package/dist/agent-src/contexts/execution/contract-decision-sheet.md +3 -3
- package/dist/agent-src/contexts/execution/mandated-lines.md +1 -1
- package/dist/agent-src/contexts/execution/non-interactive-contract.md +1 -1
- package/dist/agent-src/contexts/execution/orchestration-telemetry.md +1 -1
- package/dist/agent-src/contexts/execution/plan-confidence-gate.md +5 -5
- package/dist/agent-src/contexts/execution/roadmap-execution-contract.md +1 -1
- package/dist/agent-src/contexts/execution/subagent-modes-detail.md +1 -1
- package/dist/agent-src/contexts/execution/subagent-routing.md +2 -2
- package/dist/agent-src/contexts/execution/subagent-spawn-contract.md +1 -1
- package/dist/agent-src/contexts/execution/user-memory-channels.md +3 -3
- package/dist/agent-src/contexts/execution/verification-mechanics.md +1 -1
- package/dist/agent-src/contexts/judges/persona-voice-rubric.md +2 -2
- package/dist/agent-src/guidelines/abstraction-thresholds.md +88 -0
- package/dist/agent-src/guidelines/agent-infra/5w2h-analysis.md +260 -0
- package/dist/agent-src/guidelines/agent-infra/active-remediation-mechanics.md +99 -0
- package/dist/agent-src/guidelines/agent-infra/agent-interaction-and-decision-quality.md +325 -0
- package/dist/agent-src/guidelines/agent-infra/api-cost-levers.md +177 -0
- package/dist/agent-src/guidelines/agent-infra/artifact-drafting-protocol-mechanics.md +222 -0
- package/dist/agent-src/guidelines/agent-infra/ask-when-uncertain-demos.md +134 -0
- package/dist/agent-src/guidelines/agent-infra/asking-and-brevity-examples.md +198 -0
- package/dist/agent-src/guidelines/agent-infra/break-glass-usage.md +113 -0
- package/dist/agent-src/guidelines/agent-infra/carve-out-predicates.md +17 -0
- package/dist/agent-src/guidelines/agent-infra/comparison-matrix.md +179 -0
- package/dist/agent-src/guidelines/agent-infra/context-hygiene-mechanics.md +165 -0
- package/dist/agent-src/guidelines/agent-infra/corpus-grounding-authoring.md +91 -0
- package/dist/agent-src/guidelines/agent-infra/critical-thinking.md +156 -0
- package/dist/agent-src/guidelines/agent-infra/cross-source-consistency-mechanics.md +109 -0
- package/dist/agent-src/guidelines/agent-infra/developer-judgment.md +82 -0
- package/dist/agent-src/guidelines/agent-infra/direct-answers-demos.md +142 -0
- package/dist/agent-src/guidelines/agent-infra/domain-adoption-gates.md +112 -0
- package/dist/agent-src/guidelines/agent-infra/domain-eval-anti-pattern.md +53 -0
- package/dist/agent-src/guidelines/agent-infra/domain-pack-architecture.md +56 -0
- package/dist/agent-src/guidelines/agent-infra/downstream-changes-mechanics.md +91 -0
- package/dist/agent-src/guidelines/agent-infra/emphasis-budget.md +45 -0
- package/dist/agent-src/guidelines/agent-infra/engineering-memory-data-format.md +210 -0
- package/dist/agent-src/guidelines/agent-infra/evaluator-independence-mechanics.md +92 -0
- package/dist/agent-src/guidelines/agent-infra/existence-question-verdicts.md +80 -0
- package/dist/agent-src/guidelines/agent-infra/failure-signatures.md +70 -0
- package/dist/agent-src/guidelines/agent-infra/false-green.md +233 -0
- package/dist/agent-src/guidelines/agent-infra/first-principles.md +192 -0
- package/dist/agent-src/guidelines/agent-infra/framework-neutrality-patterns.md +66 -0
- package/dist/agent-src/guidelines/agent-infra/frontier-reasoning-operating-profile.md +169 -0
- package/dist/agent-src/guidelines/agent-infra/gate-authoring.md +177 -0
- package/dist/agent-src/guidelines/agent-infra/guarded-baseline.md +39 -0
- package/dist/agent-src/guidelines/agent-infra/installed-tools-manifest.md +142 -0
- package/dist/agent-src/guidelines/agent-infra/inversion-thinking.md +388 -0
- package/dist/agent-src/guidelines/agent-infra/ios-simulator-guide.md +378 -0
- package/dist/agent-src/guidelines/agent-infra/language-and-tone-examples.md +141 -0
- package/dist/agent-src/guidelines/agent-infra/layered-settings.md +317 -0
- package/dist/agent-src/guidelines/agent-infra/linked-projects-onboarding-gate.md +80 -0
- package/dist/agent-src/guidelines/agent-infra/mcp-request-signing.md +197 -0
- package/dist/agent-src/guidelines/agent-infra/memory-access.md +149 -0
- package/dist/agent-src/guidelines/agent-infra/mental-models.md +314 -0
- package/dist/agent-src/guidelines/agent-infra/minimal-safe-diff-mechanics.md +241 -0
- package/dist/agent-src/guidelines/agent-infra/missing-tool-handling.md +66 -0
- package/dist/agent-src/guidelines/agent-infra/model-recommendation.md +101 -0
- package/dist/agent-src/guidelines/agent-infra/naming.md +69 -0
- package/dist/agent-src/guidelines/agent-infra/notes-horizon-mechanics.md +90 -0
- package/dist/agent-src/guidelines/agent-infra/output-patterns.md +117 -0
- package/dist/agent-src/guidelines/agent-infra/recurring-criticism-mechanics.md +96 -0
- package/dist/agent-src/guidelines/agent-infra/reuse-verdict-mechanics.md +71 -0
- package/dist/agent-src/guidelines/agent-infra/review-routing-data-format.md +143 -0
- package/dist/agent-src/guidelines/agent-infra/roadmap-deferred-resolution-provenance.md +54 -0
- package/dist/agent-src/guidelines/agent-infra/roadmap-progress-mechanics.md +274 -0
- package/dist/agent-src/guidelines/agent-infra/role-contracts.md +209 -0
- package/dist/agent-src/guidelines/agent-infra/role-mode-router.md +89 -0
- package/dist/agent-src/guidelines/agent-infra/rule-body-migration-inventory.md +241 -0
- package/dist/agent-src/guidelines/agent-infra/rule-type-governance.md +73 -0
- package/dist/agent-src/guidelines/agent-infra/runtime-layer.md +89 -0
- package/dist/agent-src/guidelines/agent-infra/scqa-framework.md +526 -0
- package/dist/agent-src/guidelines/agent-infra/security-lint-containment.md +121 -0
- package/dist/agent-src/guidelines/agent-infra/self-improvement-pipeline.md +134 -0
- package/dist/agent-src/guidelines/agent-infra/simplicity-and-goal-demos.md +211 -0
- package/dist/agent-src/guidelines/agent-infra/six-hats.md +353 -0
- package/dist/agent-src/guidelines/agent-infra/size-and-scope.md +229 -0
- package/dist/agent-src/guidelines/agent-infra/skill-quality-checklist.md +157 -0
- package/dist/agent-src/guidelines/agent-infra/source-confidentiality-mechanics.md +109 -0
- package/dist/agent-src/guidelines/agent-infra/symptom-driven-harvest-loop.md +104 -0
- package/dist/agent-src/guidelines/agent-infra/systems-thinking.md +220 -0
- package/dist/agent-src/guidelines/agent-infra/tool-description-as-policy.md +35 -0
- package/dist/agent-src/guidelines/agent-infra/tool-integration.md +73 -0
- package/dist/agent-src/guidelines/agent-infra/traceability-field-mechanics.md +50 -0
- package/dist/agent-src/guidelines/agent-infra/untrusted-input-spotlighting.md +166 -0
- package/dist/agent-src/guidelines/agent-infra/verify-before-complete-demos.md +128 -0
- package/dist/agent-src/guidelines/augment-portability-patterns.md +70 -0
- package/dist/agent-src/guidelines/code-clarity.md +350 -0
- package/dist/agent-src/guidelines/component-oriented-and-oop-development.md +189 -0
- package/dist/agent-src/guidelines/cross-role-handoff.md +127 -0
- package/dist/agent-src/guidelines/design-antipatterns-triggers.json +18 -0
- package/dist/agent-src/guidelines/design-antipatterns.md +327 -0
- package/dist/agent-src/guidelines/design-asset-discipline.md +38 -0
- package/dist/agent-src/guidelines/design-canon.md +63 -0
- package/dist/agent-src/guidelines/design-fidelity-mechanics.md +293 -0
- package/dist/agent-src/guidelines/design-fidelity-routing.md +78 -0
- package/dist/agent-src/guidelines/design-handover-extraction.md +117 -0
- package/dist/agent-src/guidelines/design-modes.md +143 -0
- package/dist/agent-src/guidelines/design-reconciliation.md +172 -0
- package/dist/agent-src/guidelines/docs/readme-size-and-splitting.md +209 -0
- package/dist/agent-src/guidelines/e2e/playwright.md +363 -0
- package/dist/agent-src/guidelines/gtm-handoff.md +114 -0
- package/dist/agent-src/guidelines/monorepo-antipatterns.md +141 -0
- package/dist/agent-src/guidelines/php/api-design.md +115 -0
- package/dist/agent-src/guidelines/php/artisan-commands.md +81 -0
- package/dist/agent-src/guidelines/php/blade-ui.md +78 -0
- package/dist/agent-src/guidelines/php/controllers.md +90 -0
- package/dist/agent-src/guidelines/php/database.md +194 -0
- package/dist/agent-src/guidelines/php/eloquent.md +208 -0
- package/dist/agent-src/guidelines/php/flux.md +80 -0
- package/dist/agent-src/guidelines/php/general.md +207 -0
- package/dist/agent-src/guidelines/php/git.md +164 -0
- package/dist/agent-src/guidelines/php/jobs.md +111 -0
- package/dist/agent-src/guidelines/php/livewire.md +71 -0
- package/dist/agent-src/guidelines/php/logging.md +79 -0
- package/dist/agent-src/guidelines/php/naming.md +89 -0
- package/dist/agent-src/guidelines/php/patterns/dependency-injection.md +57 -0
- package/dist/agent-src/guidelines/php/patterns/dtos.md +199 -0
- package/dist/agent-src/guidelines/php/patterns/events.md +67 -0
- package/dist/agent-src/guidelines/php/patterns/factory.md +53 -0
- package/dist/agent-src/guidelines/php/patterns/pipelines.md +66 -0
- package/dist/agent-src/guidelines/php/patterns/policies.md +66 -0
- package/dist/agent-src/guidelines/php/patterns/repositories.md +122 -0
- package/dist/agent-src/guidelines/php/patterns/service-layer.md +64 -0
- package/dist/agent-src/guidelines/php/patterns/strategy.md +247 -0
- package/dist/agent-src/guidelines/php/patterns.md +28 -0
- package/dist/agent-src/guidelines/php/performance.md +92 -0
- package/dist/agent-src/guidelines/php/php-coding-patterns.md +80 -0
- package/dist/agent-src/guidelines/php/resources.md +100 -0
- package/dist/agent-src/guidelines/php/security.md +110 -0
- package/dist/agent-src/guidelines/php/sql.md +97 -0
- package/dist/agent-src/guidelines/php/validations.md +119 -0
- package/dist/agent-src/guidelines/php/websocket.md +100 -0
- package/dist/agent-src/guidelines/prompt-templates.md +189 -0
- package/dist/agent-src/guidelines/redundancy-taxonomy.md +208 -0
- package/dist/agent-src/guidelines/wing4-handoff.md +127 -0
- package/dist/agent-src/personas/README.md +1 -1
- package/dist/agent-src/personas/_template-specialist/persona.md +1 -1
- package/dist/agent-src/personas/product-owner.md +1 -1
- package/dist/agent-src/rules/active-remediation.md +1 -1
- package/dist/agent-src/rules/architecture.md +2 -2
- package/dist/agent-src/rules/artifact-drafting-protocol.md +1 -1
- package/dist/agent-src/rules/ask-when-uncertain.md +2 -2
- package/dist/agent-src/rules/brand-source-of-truth.md +9 -7
- package/dist/agent-src/rules/code-comment-discipline.md +2 -2
- package/dist/agent-src/rules/code-provenance.md +1 -1
- package/dist/agent-src/rules/content-quoting-floor.md +1 -1
- package/dist/agent-src/rules/context-hygiene.md +5 -5
- package/dist/agent-src/rules/cross-source-consistency.md +1 -1
- package/dist/agent-src/rules/design-fidelity.md +36 -46
- package/dist/agent-src/rules/direct-answers.md +2 -2
- package/dist/agent-src/rules/domain-adoption-policy.md +1 -1
- package/dist/agent-src/rules/evaluator-independence.md +1 -1
- package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +1 -1
- package/dist/agent-src/rules/icon-consistency.md +5 -1
- package/dist/agent-src/rules/improve-before-implement.md +1 -1
- package/dist/agent-src/rules/language-and-tone.md +3 -3
- package/dist/agent-src/rules/minimal-safe-diff.md +1 -1
- package/dist/agent-src/rules/notes-first-reasoning.md +2 -2
- package/dist/agent-src/rules/recurring-criticism.md +1 -1
- package/dist/agent-src/rules/roadmap-progress-sync.md +1 -1
- package/dist/agent-src/rules/role-mode-adherence.md +2 -2
- package/dist/agent-src/rules/security-sensitive-stop.md +1 -1
- package/dist/agent-src/rules/size-enforcement.md +1 -1
- package/dist/agent-src/rules/source-confidentiality.md +2 -2
- package/dist/agent-src/rules/think-before-action.md +1 -1
- package/dist/agent-src/rules/token-efficiency.md +7 -5
- package/dist/agent-src/rules/ui-audit-gate.md +3 -2
- package/dist/agent-src/rules/untrusted-input-defense.md +3 -3
- package/dist/agent-src/skills/activation-design/SKILL.md +2 -2
- package/dist/agent-src/skills/adr-create/SKILL.md +5 -5
- package/dist/agent-src/skills/ai-council/SKILL.md +1 -1
- package/dist/agent-src/skills/ai-council/references/advanced-modes.md +1 -1
- package/dist/agent-src/skills/blade-ui/SKILL.md +1 -1
- package/dist/agent-src/skills/blast-radius-analyzer/SKILL.md +1 -1
- package/dist/agent-src/skills/brand-to-tokens/SKILL.md +24 -3
- package/dist/agent-src/skills/bug-analyzer/SKILL.md +1 -1
- package/dist/agent-src/skills/build-buy-partner/SKILL.md +1 -1
- package/dist/agent-src/skills/churn-prevention/SKILL.md +2 -2
- package/dist/agent-src/skills/code-refactoring/SKILL.md +3 -3
- package/dist/agent-src/skills/code-review/SKILL.md +3 -3
- package/dist/agent-src/skills/command-writing/SKILL.md +3 -3
- package/dist/agent-src/skills/comp-banding/SKILL.md +1 -1
- package/dist/agent-src/skills/competitive-moat-analysis/SKILL.md +1 -1
- package/dist/agent-src/skills/competitive-positioning/SKILL.md +2 -2
- package/dist/agent-src/skills/complexity-first-planning/SKILL.md +1 -1
- package/dist/agent-src/skills/condense-memory/SKILL.md +1 -1
- package/dist/agent-src/skills/content-funnel-design/SKILL.md +2 -2
- package/dist/agent-src/skills/contracts-cognition/SKILL.md +1 -1
- package/dist/agent-src/skills/copilot-agents-optimization/SKILL.md +2 -2
- package/dist/agent-src/skills/corpus-grounding/SKILL.md +2 -2
- package/dist/agent-src/skills/customer-research/SKILL.md +2 -2
- package/dist/agent-src/skills/dashboard-design/SKILL.md +1 -1
- package/dist/agent-src/skills/data-handling-judgment/SKILL.md +1 -1
- package/dist/agent-src/skills/deal-qualification-meddic/SKILL.md +2 -2
- package/dist/agent-src/skills/decision-record/SKILL.md +3 -3
- package/dist/agent-src/skills/decision-review/SKILL.md +8 -8
- package/dist/agent-src/skills/deep-reading-analyst/SKILL.md +22 -22
- package/dist/agent-src/skills/design-intelligence/SKILL.md +4 -4
- package/dist/agent-src/skills/design-intelligence/references/context-and-registers.md +2 -2
- package/dist/agent-src/skills/design-review/SKILL.md +4 -4
- package/dist/agent-src/skills/design-system-capture/references/design-system-json.md +20 -1
- package/dist/agent-src/skills/design-tokens/SKILL.md +17 -2
- package/dist/agent-src/skills/design-variations/SKILL.md +2 -2
- package/dist/agent-src/skills/developer-like-execution/SKILL.md +2 -2
- package/dist/agent-src/skills/discovery-interview/SKILL.md +2 -2
- package/dist/agent-src/skills/doc-coauthoring/SKILL.md +3 -3
- package/dist/agent-src/skills/editorial-calendar/SKILL.md +2 -2
- package/dist/agent-src/skills/existing-ui-audit/SKILL.md +44 -1
- package/dist/agent-src/skills/existing-ui-audit/references/anti-slop-cross-reference.md +2 -2
- package/dist/agent-src/skills/expansion-playbook/SKILL.md +2 -2
- package/dist/agent-src/skills/experiment-loop/SKILL.md +1 -1
- package/dist/agent-src/skills/experiment-loop/references/protocol.md +1 -1
- package/dist/agent-src/skills/fe-design/SKILL.md +3 -3
- package/dist/agent-src/skills/fe-design/references/design-patterns.md +1 -1
- package/dist/agent-src/skills/fe-design/references/design-read-and-memory.md +3 -3
- package/dist/agent-src/skills/fe-design/references/source-led-port.md +1 -1
- package/dist/agent-src/skills/feature-planning/SKILL.md +1 -1
- package/dist/agent-src/skills/flux/SKILL.md +1 -1
- package/dist/agent-src/skills/forecast-accuracy/SKILL.md +2 -2
- package/dist/agent-src/skills/forecasting/SKILL.md +2 -2
- package/dist/agent-src/skills/fundraising-narrative/SKILL.md +2 -2
- package/dist/agent-src/skills/funnel-analysis/SKILL.md +2 -2
- package/dist/agent-src/skills/gtm-launch/SKILL.md +2 -2
- package/dist/agent-src/skills/hiring-loop-design/SKILL.md +1 -1
- package/dist/agent-src/skills/html-deck/SKILL.md +5 -5
- package/dist/agent-src/skills/humanizer/SKILL.md +1 -1
- package/dist/agent-src/skills/humanizer/data/patterns.md +1 -1
- package/dist/agent-src/skills/iconography/SKILL.md +3 -3
- package/dist/agent-src/skills/judge-synthesis/SKILL.md +1 -1
- package/dist/agent-src/skills/laravel-api-endpoint/SKILL.md +2 -2
- package/dist/agent-src/skills/launch-readiness/SKILL.md +3 -3
- package/dist/agent-src/skills/learning-to-rule-or-skill/SKILL.md +6 -6
- package/dist/agent-src/skills/livewire/SKILL.md +1 -1
- package/dist/agent-src/skills/market-entry-analysis/SKILL.md +1 -1
- package/dist/agent-src/skills/mcp-builder/SKILL.md +1 -1
- package/dist/agent-src/skills/memory-consolidation/SKILL.md +3 -3
- package/dist/agent-src/skills/messaging-architecture/SKILL.md +2 -2
- package/dist/agent-src/skills/monorepo-workspace/SKILL.md +1 -1
- package/dist/agent-src/skills/onboarding-design/SKILL.md +2 -2
- package/dist/agent-src/skills/onboarding-program/SKILL.md +1 -1
- package/dist/agent-src/skills/one-on-one-cadence/SKILL.md +1 -1
- package/dist/agent-src/skills/org-design/SKILL.md +1 -1
- package/dist/agent-src/skills/overbuild-review-lens/SKILL.md +3 -3
- package/dist/agent-src/skills/override-management/SKILL.md +1 -1
- package/dist/agent-src/skills/perf-feedback-craft/SKILL.md +1 -1
- package/dist/agent-src/skills/persona-writing/SKILL.md +1 -1
- package/dist/agent-src/skills/php-coder/SKILL.md +1 -1
- package/dist/agent-src/skills/pipeline-strategy/SKILL.md +2 -2
- package/dist/agent-src/skills/playwright-testing/SKILL.md +3 -3
- package/dist/agent-src/skills/po-discovery/SKILL.md +1 -1
- package/dist/agent-src/skills/positioning-strategy/SKILL.md +2 -2
- package/dist/agent-src/skills/privacy-review/SKILL.md +1 -1
- package/dist/agent-src/skills/prompt-optimizer/SKILL.md +3 -3
- package/dist/agent-src/skills/react-shadcn-ui/SKILL.md +1 -1
- package/dist/agent-src/skills/reasoning-orchestrator/SKILL.md +2 -2
- package/dist/agent-src/skills/receiving-code-review/SKILL.md +1 -1
- package/dist/agent-src/skills/refine-ticket/SKILL.md +2 -2
- package/dist/agent-src/skills/release-comms/SKILL.md +2 -2
- package/dist/agent-src/skills/retention-loops/SKILL.md +2 -2
- package/dist/agent-src/skills/review-routing/SKILL.md +2 -2
- package/dist/agent-src/skills/roadmap-management/SKILL.md +1 -1
- package/dist/agent-src/skills/roadmap-management/references/archival.md +1 -1
- package/dist/agent-src/skills/roadmap-writing/SKILL.md +5 -5
- package/dist/agent-src/skills/rule-writing/SKILL.md +6 -6
- package/dist/agent-src/skills/runway-cognition/SKILL.md +2 -2
- package/dist/agent-src/skills/scenario-modeling/SKILL.md +2 -2
- package/dist/agent-src/skills/skill-writing/SKILL.md +2 -2
- package/dist/agent-src/skills/skill-writing/references/procedure.md +1 -1
- package/dist/agent-src/skills/skill-writing/references/section-patterns.md +3 -3
- package/dist/agent-src/skills/spreadsheet-authoring/SKILL.md +1 -1
- package/dist/agent-src/skills/stakeholder-tradeoff/SKILL.md +3 -3
- package/dist/agent-src/skills/subagent-orchestration/SKILL.md +1 -1
- package/dist/agent-src/skills/supply-chain-intake/SKILL.md +1 -1
- package/dist/agent-src/skills/systematic-debugging/SKILL.md +2 -2
- package/dist/agent-src/skills/tailwind-engineer/SKILL.md +11 -5
- package/dist/agent-src/skills/throughput-vs-morale-tradeoff/SKILL.md +1 -1
- package/dist/agent-src/skills/token-optimizer/SKILL.md +1 -1
- package/dist/agent-src/skills/typography-system/SKILL.md +2 -2
- package/dist/agent-src/skills/ui-component-architect/SKILL.md +28 -8
- package/dist/agent-src/skills/unit-economics-modeling/SKILL.md +2 -2
- package/dist/agent-src/skills/upstream-contribute/SKILL.md +1 -1
- package/dist/agent-src/skills/validate-feature-fit/SKILL.md +2 -2
- package/dist/agent-src/skills/verify-repair-loop/SKILL.md +2 -2
- package/dist/agent-src/skills/vision-articulation/SKILL.md +1 -1
- package/dist/agent-src/skills/voc-extract/SKILL.md +2 -2
- package/dist/agent-src/skills/voice-and-tone-design/SKILL.md +2 -2
- package/dist/agent-src/skills/wireframe/SKILL.md +1 -1
- package/dist/agent-src/skills/workspace-link/SKILL.md +1 -1
- package/dist/agent-src/templates/agent-settings.md +6 -6
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/agent-src/templates/contexts/knowledge-pages.md +2 -3
- package/dist/agent-src/templates/copilot-instructions.md +1 -1
- package/dist/agent-src/templates/roadmaps.md +1 -1
- package/dist/agent-src/templates/scripts/README.md +2 -2
- package/dist/agent-src/user-types/_template/user-type.md +1 -1
- package/dist/cli-delegate/check_update_banner.js +12 -1
- package/dist/cli-delegate/{chunk-NLP54U3J.js → chunk-2XY7ILBT.js} +13 -1
- package/dist/cli-delegate/{chunk-IAI3XL43.js → chunk-3FKR64R5.js} +22 -6
- package/dist/cli-delegate/{chunk-J3RFNKG4.js → chunk-55ACLDUE.js} +2 -2
- package/dist/cli-delegate/{chunk-PKOBQADP.js → chunk-57PN4GYJ.js} +1 -1
- package/dist/cli-delegate/{chunk-KCNTUSPI.js → chunk-AK6HODNQ.js} +4 -4
- package/dist/cli-delegate/{chunk-2FTMENJL.js → chunk-GYC3VRYN.js} +1 -1
- package/dist/cli-delegate/{chunk-LWTYTX6F.js → chunk-HZ52BRGG.js} +24 -18
- package/dist/cli-delegate/{chunk-6RJA2F5A.js → chunk-IVBPRCQO.js} +1 -1
- package/dist/cli-delegate/{chunk-I6RHFQEG.js → chunk-YUM5KURG.js} +17 -1
- package/dist/cli-delegate/cmd_analyze_session.js +1 -1
- package/dist/cli-delegate/cmd_brand_status.js +1 -1
- package/dist/cli-delegate/cmd_conformance.js +3 -3
- package/dist/cli-delegate/cmd_doctor.js +3 -3
- package/dist/cli-delegate/cmd_explain.js +2 -2
- package/dist/cli-delegate/cmd_export.js +4 -4
- package/dist/cli-delegate/cmd_handoff.js +4 -4
- package/dist/cli-delegate/cmd_mcp_available.js +1 -1
- package/dist/cli-delegate/cmd_memory_get.js +1 -1
- package/dist/cli-delegate/cmd_migrate.js +2 -2
- package/dist/cli-delegate/cmd_packs_active.js +2 -2
- package/dist/cli-delegate/cmd_prune.js +4 -4
- package/dist/cli-delegate/cmd_route_audit.js +3 -3
- package/dist/cli-delegate/cmd_route_explain.js +1 -1
- package/dist/cli-delegate/cmd_session_recycle.js +1 -1
- package/dist/cli-delegate/cmd_settings_get.js +15 -9
- package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
- package/dist/cli-delegate/cmd_settings_set.js +41 -11
- package/dist/cli-delegate/cmd_sync.js +4 -4
- package/dist/cli-delegate/cmd_uninstall.js +4 -4
- package/dist/cli-delegate/cmd_update.js +1 -1
- package/dist/cli-delegate/cmd_upgrade.js +1 -1
- package/dist/cli-delegate/cmd_validate.js +4 -4
- package/dist/cli-delegate/cmd_versions.js +1 -1
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +22 -75
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +3 -3
- package/dist/discovery/dormancy-report.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +5 -7
- package/dist/discovery/trust-report.md +2 -2
- package/dist/discovery/workspaces.json +4 -6
- package/dist/hooks/dispatch.js +8607 -8930
- package/dist/install/install.mjs +35 -8
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +1433 -1342
- package/dist/router.json +1 -1
- package/dist/scripts/_lib/agent_settings.js +73 -0
- package/dist/scripts/_lib/agent_src.js +20 -0
- package/dist/scripts/_lib/guidelines_lane.js +158 -0
- package/dist/scripts/condense.js +2 -5
- package/dist/server/io/yamlIO.js +125 -17
- package/dist/server/schemas/settings.js +18 -4
- package/dist/shared/settingsSurface.js +6 -1
- package/docs/contracts/settings-classes.md +18 -9
- package/docs/guidelines/abstraction-thresholds.md +35 -0
- package/docs/guidelines/agent-infra/active-remediation-mechanics.md +3 -3
- package/docs/guidelines/agent-infra/false-green.md +2 -2
- package/docs/guidelines/agent-infra/roadmap-progress-mechanics.md +1 -1
- package/docs/guidelines/agent-infra/skill-quality-checklist.md +1 -1
- package/docs/guidelines/design-fidelity-mechanics.md +4 -0
- package/docs/guidelines/design-fidelity-routing.md +78 -0
- package/docs/guidelines/design-reconciliation.md +172 -0
- package/docs/guidelines/gtm-handoff.md +2 -2
- package/docs/guidelines/wing4-handoff.md +2 -2
- package/package.json +7 -3
- package/src/config/agent-settings.template.yml +55 -8
- package/src/config/ci-local-parity.yml +34 -0
- package/src/config/continuity-surface.json +4 -32
- package/src/config/gate-coverage.yml +31 -8
- package/src/config/gate-reachability-exemptions.json +1 -0
- package/src/config/gate-violation-baselines.json +3 -3
- package/src/config/hook-token-budget.json +1 -1
- package/src/config/host-injection-effect.json +2 -2
- package/src/config/pack-size-budget.json +55 -4
- package/src/config/platform-anchor.json +47 -0
- package/src/config/preamble-payload-budget.json +2 -3
- package/src/config/publish-surface.json +4 -2
- package/src/config/ratification-policy.json +7 -0
- package/src/config/rule-stub-ceilings.json +16 -9
- package/src/scripts/_cli/cmd_settings_get.ts +22 -7
- package/src/scripts/_lib/agent_settings.ts +85 -0
- package/src/scripts/_lib/agent_src.ts +21 -0
- package/src/scripts/_lib/artifact_maturity.ts +242 -0
- package/src/scripts/_lib/conformance_report.ts +403 -0
- package/src/scripts/_lib/continuity_writer.ts +72 -13
- package/src/scripts/_lib/design_system_import.ts +20 -0
- package/src/scripts/_lib/design_tolerance.ts +281 -0
- package/src/scripts/_lib/guidelines_lane.ts +164 -0
- package/src/scripts/_lib/obligation_frequency.ts +2 -3
- package/src/scripts/_lib/platform_anchor.ts +1053 -0
- package/src/scripts/_lib/ratification_artifact.ts +278 -0
- package/src/scripts/_lib/security_lint.ts +23 -2
- package/src/scripts/_lib/self_repair.ts +21 -0
- package/src/scripts/_lib/session_index_trust.ts +42 -1
- package/src/scripts/_lib/standing_bound_ratchet.ts +103 -37
- package/src/scripts/_lib/tolerance_shadow.ts +177 -0
- package/src/scripts/ai_council/redact_low_impact_entry.ts +8 -0
- package/src/scripts/autonomy_friction_traffic.ts +379 -0
- package/src/scripts/check_kernel_edit_ratified.ts +462 -0
- package/src/scripts/check_loss_class_declared.ts +793 -46
- package/src/scripts/check_platform_anchor.ts +390 -0
- package/src/scripts/check_preamble_payload_budget.ts +292 -4
- package/src/scripts/check_projected_rule_routes.ts +395 -0
- package/src/scripts/code_graph/cli.ts +6 -0
- package/src/scripts/condense.ts +2 -6
- package/src/scripts/generate_host_cost_table.ts +354 -0
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +35 -27
- package/src/scripts/hooks/category_a.ts +1 -1
- package/src/scripts/hooks/chain_nudge_hook.ts +311 -25
- package/src/scripts/hooks/session_eol_hook.ts +68 -154
- package/src/scripts/hooks/source_first_gate_hook.ts +12 -0
- package/src/scripts/hooks/ui_route_nudge_hook.ts +52 -15
- package/src/scripts/hot_context_hook.ts +41 -401
- package/src/scripts/lint_evidence_artifacts.ts +1 -0
- package/src/scripts/lint_knowledge_scale.ts +0 -26
- package/src/scripts/memory_lookup.ts +9 -9
- package/src/scripts/report_standing_payload_by_host.ts +7 -7
- package/src/scripts/session_memory_index.ts +5 -0
- package/src/scripts/sync_agent_settings.ts +270 -10
- package/src/server/io/yamlIO.ts +127 -17
- package/src/server/schemas/settings.ts +25 -5
- package/src/shared/settingsSurface.ts +13 -2
- package/src/templates/compact-instructions.md +8 -3
- package/dist/agent-src/commands/chat-history/import.md +0 -170
- package/dist/agent-src/commands/chat-history.md +0 -63
|
@@ -21,7 +21,7 @@ packs:
|
|
|
21
21
|
|
|
22
22
|
Sets `roles.active_role` in `.agent-settings.yml` and surfaces the active
|
|
23
23
|
contract before any work. Six modes are defined in
|
|
24
|
-
[`role-contracts`](../
|
|
24
|
+
[`role-contracts`](../guidelines/agent-infra/role-contracts.md):
|
|
25
25
|
|
|
26
26
|
- `developer` · `reviewer` · `tester` · `po` · `incident` · `planner`
|
|
27
27
|
|
|
@@ -47,7 +47,7 @@ Anything else: refuse. List the valid values and stop.
|
|
|
47
47
|
|
|
48
48
|
### 2. Validate the mode name
|
|
49
49
|
|
|
50
|
-
Read [`role-contracts.md`](../
|
|
50
|
+
Read [`role-contracts.md`](../guidelines/agent-infra/role-contracts.md).
|
|
51
51
|
Extract H3 headings under `## Contract skeletons` and lowercase them.
|
|
52
52
|
If `<name>` is not in that set, refuse and print the valid list.
|
|
53
53
|
|
|
@@ -74,7 +74,7 @@ exactly what the contract demands.
|
|
|
74
74
|
### 5. Write the active role
|
|
75
75
|
|
|
76
76
|
Update `roles.active_role` in `.agent-settings.yml` using the
|
|
77
|
-
[section-aware merge rules](../
|
|
77
|
+
[section-aware merge rules](../guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
78
78
|
(preserve comments, preserve key order, touch only the changed field).
|
|
79
79
|
|
|
80
80
|
For `/mode none`: set `active_role: ""`.
|
|
@@ -132,7 +132,7 @@ For `/mode` (status only):
|
|
|
132
132
|
|
|
133
133
|
## See also
|
|
134
134
|
|
|
135
|
-
- [`role-contracts`](../
|
|
135
|
+
- [`role-contracts`](../guidelines/agent-infra/role-contracts.md) — the six modes
|
|
136
136
|
- [`role-mode-adherence`](../rules/role-mode-adherence.md) — closing-output gate
|
|
137
|
-
- [`layered-settings`](../
|
|
137
|
+
- [`layered-settings`](../guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
|
|
138
138
|
- [`ask-when-uncertain`](../rules/ask-when-uncertain.md) — never invent modes
|
|
@@ -46,7 +46,7 @@ re-implement, do not skip, do not add steps.
|
|
|
46
46
|
### 2. Disclosure footer (mandatory — inherited from `/ghostwriter:write`)
|
|
47
47
|
|
|
48
48
|
The footer is appended by `/ghostwriter:write`'s output template (per
|
|
49
|
-
[`write-engine § 5`](
|
|
49
|
+
[`write-engine § 5`](../../docs/contracts/write-engine.md)). This
|
|
50
50
|
alias inherits the footer unconditionally — no `--no-disclosure`
|
|
51
51
|
flag, no `--internal` flag, no opt-out. Any flag that would suppress
|
|
52
52
|
it is forbidden by design.
|
|
@@ -68,5 +68,5 @@ it is forbidden by design.
|
|
|
68
68
|
- [`/ghostwriter:write`](../ghostwriter/write.md) — canonical implementation; this file is a thin alias.
|
|
69
69
|
- [`/post-as`](../post-as.md) — parent cluster.
|
|
70
70
|
- [`/post-as:me`](me.md) — sibling consumer, user-self voice, no footer.
|
|
71
|
-
- [`write-engine`](
|
|
72
|
-
- [`ghostwriter-schema`](
|
|
71
|
+
- [`write-engine`](../../docs/contracts/write-engine.md) — shared procedural contract.
|
|
72
|
+
- [`ghostwriter-schema`](../../docs/contracts/ghostwriter-schema.md) — locked v1 frontmatter.
|
|
@@ -21,7 +21,7 @@ packs:
|
|
|
21
21
|
|
|
22
22
|
Generate a copyable markdown draft in the **maintainer's own voice**.
|
|
23
23
|
Style source is the project-root `.agent-user.md` file. Implements
|
|
24
|
-
the [`write-engine`](
|
|
24
|
+
the [`write-engine`](../../docs/contracts/write-engine.md)
|
|
25
25
|
contract — **the disclosure footer is omitted** because the user is
|
|
26
26
|
the author.
|
|
27
27
|
|
|
@@ -43,7 +43,7 @@ Look in the project root.
|
|
|
43
43
|
| File exists with `voice_sample` | Proceed |
|
|
44
44
|
|
|
45
45
|
Schema reference:
|
|
46
|
-
[`agent-user-schema`](
|
|
46
|
+
[`agent-user-schema`](../../docs/contracts/agent-user-schema.md).
|
|
47
47
|
|
|
48
48
|
### 2. Load the style source
|
|
49
49
|
|
|
@@ -72,7 +72,7 @@ operator notes, not voice signal.
|
|
|
72
72
|
|
|
73
73
|
### 3. Collect topic + modifiers
|
|
74
74
|
|
|
75
|
-
Per [`write-engine § 2`](
|
|
75
|
+
Per [`write-engine § 2`](../../docs/contracts/write-engine.md).
|
|
76
76
|
Flag form: `--tone=<formal|casual|neutral>`,
|
|
77
77
|
`--length=<words>`, `--channel=<linkedin-post|tweet|blog|freeform>`,
|
|
78
78
|
`--audience=<text>`. The channel values and their length defaults are
|
|
@@ -87,12 +87,12 @@ the pace mapping above.
|
|
|
87
87
|
### 4. Negative-constraint pass (skipped)
|
|
88
88
|
|
|
89
89
|
`.agent-user.md` v1 has no `taboos` field. Skip per
|
|
90
|
-
[`write-engine § 3`](
|
|
90
|
+
[`write-engine § 3`](../../docs/contracts/write-engine.md).
|
|
91
91
|
|
|
92
92
|
### 5. Draft
|
|
93
93
|
|
|
94
94
|
Generate the body as a single fenced markdown block per
|
|
95
|
-
[`write-engine § 4`](
|
|
95
|
+
[`write-engine § 4`](../../docs/contracts/write-engine.md). Honour
|
|
96
96
|
the loaded fingerprint (sentence-length ±25 %, pace),
|
|
97
97
|
±15 % length tolerance, write in `language`.
|
|
98
98
|
|
|
@@ -126,8 +126,8 @@ commit, no save. The user copies the output manually.
|
|
|
126
126
|
|
|
127
127
|
## See also
|
|
128
128
|
|
|
129
|
-
- [`write-engine`](
|
|
130
|
-
- [`agent-user-schema`](
|
|
129
|
+
- [`write-engine`](../../docs/contracts/write-engine.md) — shared procedural contract.
|
|
130
|
+
- [`agent-user-schema`](../../docs/contracts/agent-user-schema.md) — `.agent-user.md` source schema.
|
|
131
131
|
- [`/post-as`](../post-as.md) — parent cluster.
|
|
132
132
|
- [`/post-as:ghostwriter`](ghostwriter.md) — sibling consumer, public-figure voice, mandatory footer.
|
|
133
133
|
- [`/agents:user:init`](../agents/user/init.md) — bootstrap `.agent-user.md`.
|
|
@@ -227,7 +227,7 @@ runs on the post-archival state (the findings artifact references
|
|
|
227
227
|
post-archival paths), (3) the PR is created only with a valid findings
|
|
228
228
|
artifact, honest-null, or skip declaration **for the current review-scope
|
|
229
229
|
hash** per
|
|
230
|
-
[`plan-review-gates § 2`](
|
|
230
|
+
[`plan-review-gates § 2`](../../docs/contracts/plan-review-gates.md).
|
|
231
231
|
|
|
232
232
|
- A completion-review artifact from the roadmap-completion event
|
|
233
233
|
(`agents/evidence/reviews/<slug>.findings.md`) is re-used when its
|
|
@@ -60,7 +60,7 @@ among them.
|
|
|
60
60
|
*(none, deliberately.)* `all` changes **cardinality**, not lifecycle, so it is
|
|
61
61
|
an argument rather than a second command — the locked registry's rule that
|
|
62
62
|
"sibling variants become a flag, never a second command"
|
|
63
|
-
([`command-clusters`](
|
|
63
|
+
([`command-clusters`](../../docs/contracts/command-clusters.md)) applied
|
|
64
64
|
to this cluster. A future sub belongs here only if it has a materially
|
|
65
65
|
different lifecycle, not a different count.
|
|
66
66
|
|
|
@@ -79,4 +79,4 @@ unscoped artefacts are always in `shown`.
|
|
|
79
79
|
## See also
|
|
80
80
|
|
|
81
81
|
- [`/profile show`](show.md) · [`/profile deactivate`](deactivate.md)
|
|
82
|
-
- [`docs/contracts/session-profile-overlay.md`](
|
|
82
|
+
- [`docs/contracts/session-profile-overlay.md`](../../docs/contracts/session-profile-overlay.md)
|
|
@@ -38,7 +38,7 @@ deterministic template (no LLM), the right content for an employee-facing surfac
|
|
|
38
38
|
./scripts-run src/scripts/config/session_profiles show --plain
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Shape + constraints: [`session-profile-overlay` § Plain status surface](
|
|
41
|
+
Shape + constraints: [`session-profile-overlay` § Plain status surface](../../docs/contracts/session-profile-overlay.md#plain-status-surface).
|
|
42
42
|
|
|
43
43
|
### 2. Report
|
|
44
44
|
|
|
@@ -96,8 +96,8 @@ Read {fields_path} to get all field definitions.
|
|
|
96
96
|
no part is written unless a retrieved source grounds it. And run at least
|
|
97
97
|
one search that actively tries to **falsify** the leading hypothesis (rule
|
|
98
98
|
alternatives in or out), not only searches that confirm it. Distinct from
|
|
99
|
-
[`source-discovery-gate`](
|
|
100
|
-
(structural evidence) and [`verify-before-complete`](
|
|
99
|
+
[`source-discovery-gate`](../../rules/source-discovery-gate.md)
|
|
100
|
+
(structural evidence) and [`verify-before-complete`](../../rules/verify-before-complete.md)
|
|
101
101
|
(completion evidence) — this is *research* evidence.
|
|
102
102
|
|
|
103
103
|
## Output path
|
|
@@ -59,8 +59,8 @@ Before writing, apply the **per-part grounding + disconfirmation gate**: every
|
|
|
59
59
|
part of the request must be grounded in a retrieved source before it appears in
|
|
60
60
|
the report, and at least one search must have actively tried to falsify the
|
|
61
61
|
leading hypothesis (not only confirm it). Distinct from
|
|
62
|
-
[`source-discovery-gate`](
|
|
63
|
-
[`verify-before-complete`](
|
|
62
|
+
[`source-discovery-gate`](../../rules/source-discovery-gate.md) and
|
|
63
|
+
[`verify-before-complete`](../../rules/verify-before-complete.md).
|
|
64
64
|
|
|
65
65
|
The agent itself reads each JSON + `fields.yaml` + the user's TOC
|
|
66
66
|
choices, then writes `{topic_slug}/report.md`. **No `generate_report.py`
|
|
@@ -383,7 +383,7 @@ Per `verbosity.routine_confirmations` (default `false`):
|
|
|
383
383
|
- [`verify-repair-loop`](../../skills/verify-repair-loop/SKILL.md) — opt-in test-verdict-gated iterate-to-green loop (step 6 hand-off); judge confirms after the numeric gate
|
|
384
384
|
- [`/judge`](judge.md) — standalone judge, no review-changes dispatch
|
|
385
385
|
- [`code-review`](../../skills/code-review/SKILL.md) — human-oriented review patterns (tone, feedback handling)
|
|
386
|
-
- [`role-contracts`](
|
|
386
|
+
- [`role-contracts`](../../guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
|
|
387
387
|
|
|
388
388
|
## References
|
|
389
389
|
|
|
@@ -120,7 +120,7 @@ After the block, ask:
|
|
|
120
120
|
|
|
121
121
|
- [`review-routing`](../../skills/review-routing/SKILL.md) — the resolver
|
|
122
122
|
- [`reviewer-awareness`](../../rules/reviewer-awareness.md) — the rule that routes here: paths and risk over seniority, primary + secondary on medium/high
|
|
123
|
-
- [`review-routing-data-format`](
|
|
123
|
+
- [`review-routing-data-format`](../../guidelines/agent-infra/review-routing-data-format.md)
|
|
124
124
|
— YAML schemas
|
|
125
125
|
- [`create-pr-description`](../../skills/create-pr:description-only/SKILL.md) —
|
|
126
126
|
consumes the routing block
|
|
@@ -162,7 +162,7 @@ Show the complete roadmap to the user and ask (in their language) if anything sh
|
|
|
162
162
|
|
|
163
163
|
Unless the roadmap will be saved as `status: draft`, add a
|
|
164
164
|
`## Risk Register` per
|
|
165
|
-
[`plan-review-gates § 1`](
|
|
165
|
+
[`plan-review-gates § 1`](../../docs/contracts/plan-review-gates.md):
|
|
166
166
|
read the C→R1 handoff state from step 0 if present (resolved branches
|
|
167
167
|
seed the risk list — never re-ask them), identify the highest product and
|
|
168
168
|
implementation risks, rank descending, write a mitigation per row, and
|
|
@@ -39,7 +39,7 @@ roadmap, writes one ticket per materialisable step into
|
|
|
39
39
|
(acyclic dependency graph + empty `linear_state`), writes
|
|
40
40
|
`<!-- ticket: T-NNN -->` markers back into the roadmap, and regenerates
|
|
41
41
|
`agents/tickets/_registry.yml`. Format contract:
|
|
42
|
-
[`ticket-bundle-format`](
|
|
42
|
+
[`ticket-bundle-format`](../../docs/contracts/ticket-bundle-format.md).
|
|
43
43
|
|
|
44
44
|
### 3. Gate on buildability
|
|
45
45
|
|
|
@@ -69,4 +69,4 @@ pastes a ticket into Linear/Jira (or creates it via MCP), or runs a per-ticket b
|
|
|
69
69
|
- **Do NOT auto-create tracker issues** — paste/MCP is a separate user-invoked step (ADR-102, no API export).
|
|
70
70
|
- **Do NOT commit or push.**
|
|
71
71
|
- Bundle is the source of truth; the tracker is a projection
|
|
72
|
-
([`ticket-bundle-format`](
|
|
72
|
+
([`ticket-bundle-format`](../../docs/contracts/ticket-bundle-format.md)).
|
|
@@ -122,7 +122,7 @@ For each candidate read its frontmatter, its open-step count, and every
|
|
|
122
122
|
3. **A date that must pass.**
|
|
123
123
|
4. **A kernel-rule edit** — [`scope-control`](../../rules/scope-control.md)
|
|
124
124
|
demands its own PR plus a ≥24 h soak, so it cannot close in this run
|
|
125
|
-
(kernel list: [`kernel-membership`](
|
|
125
|
+
(kernel list: [`kernel-membership`](../../docs/contracts/kernel-membership.md)).
|
|
126
126
|
5. **Phases gated on a spike verdict** that may return FINDING.
|
|
127
127
|
|
|
128
128
|
Also check the **family concurrency cap** (`lint_roadmap_family_cap`) —
|
|
@@ -87,7 +87,7 @@ with the **scope delta below**.
|
|
|
87
87
|
`--all` changes **cardinality, not lifecycle**: the same single-roadmap loop,
|
|
88
88
|
iterated over the whole active estate. It is a flag rather than a
|
|
89
89
|
`/roadmap:process-all` command because
|
|
90
|
-
[`command-clusters`](
|
|
90
|
+
[`command-clusters`](../../docs/contracts/command-clusters.md) says
|
|
91
91
|
sibling variants become a flag, and a drain is a count of the thing this
|
|
92
92
|
command already does.
|
|
93
93
|
|
|
@@ -320,7 +320,7 @@ is therefore remediation work rather than a blocker.
|
|
|
320
320
|
| a halt | one of the five conditions fired | **no** — the halt is reported | `exhausted` when a declared budget ran out; `stagnated` when the same failure signature repeated with budget left |
|
|
321
321
|
|
|
322
322
|
**The closing report names the terminal state by word**, from
|
|
323
|
-
[`terminal-states`](
|
|
323
|
+
[`terminal-states`](../../contexts/execution/terminal-states.md).
|
|
324
324
|
The reason is the failure that vocabulary exists to stop: a run that stopped at
|
|
325
325
|
its iteration cap and one that finished both leave the roadmap looking the same,
|
|
326
326
|
because the checkbox glyphs cannot express `exhausted`, `stagnated` or
|
|
@@ -35,7 +35,7 @@ suite's own `lint_agent_security` self-audit gate.
|
|
|
35
35
|
|
|
36
36
|
(omit `--root` to audit the current repo). The script reuses the Phase-1
|
|
37
37
|
detection library under the false-positive containment convention
|
|
38
|
-
([`security-lint-containment`](
|
|
38
|
+
([`security-lint-containment`](../guidelines/agent-infra/security-lint-containment.md)),
|
|
39
39
|
so doc/example files do not tank the score. It scans instruction files
|
|
40
40
|
(`CLAUDE.md`, `AGENTS.md`, `.cursor/rules`, `.github/copilot-instructions.md`,
|
|
41
41
|
`.clinerules`, `.windsurfrules`), MCP configs (`.mcp.json`, `.cursor/mcp.json`,
|
|
@@ -63,7 +63,7 @@ Output is **decision support**, not a gate — detection is probabilistic
|
|
|
63
63
|
(guardrails are evadable). Recommend the fix per finding (move a secret to
|
|
64
64
|
`${env:VAR}`, pin an MCP server, remove a `bypassPermissions` flag, strip
|
|
65
65
|
hidden Unicode), but never rewrite the consumer's config without confirmation
|
|
66
|
-
(per [`scope-control`](
|
|
66
|
+
(per [`scope-control`](../rules/scope-control.md)).
|
|
67
67
|
|
|
68
68
|
## Output format
|
|
69
69
|
|
|
@@ -81,5 +81,5 @@ Overall: B (84/100)
|
|
|
81
81
|
## See also
|
|
82
82
|
|
|
83
83
|
- [`lint_agent_security`](../../../src/scripts/lint_agent_security.ts) — the self-audit (our own corpus) sibling.
|
|
84
|
-
- [`untrusted-input-defense`](
|
|
84
|
+
- [`untrusted-input-defense`](../rules/untrusted-input-defense.md), [`lethal-trifecta-guard`](../rules/lethal-trifecta-guard.md) — the always-on prevention rules.
|
|
85
85
|
- [`/threat-model`](../threat-model/command.md), [`judge-security-auditor`](../skills/judge-security-auditor/SKILL.md) — deep-pass dispatch.
|
|
@@ -22,7 +22,7 @@ packs:
|
|
|
22
22
|
Renders a skill's **declared intent** — its `## Steps`, execution type, handler,
|
|
23
23
|
`allowed_tools`, and any file/command targets named in its body — so you can
|
|
24
24
|
decide whether to run it. Read-only, no network, no execution. Implements the
|
|
25
|
-
[`skill-dry-run`](
|
|
25
|
+
[`skill-dry-run`](../../docs/contracts/skill-dry-run.md) contract.
|
|
26
26
|
|
|
27
27
|
## Prerequisites
|
|
28
28
|
|
|
@@ -22,7 +22,7 @@ packs:
|
|
|
22
22
|
Surfaces a short, explained skill shortlist for a role. Reuses existing local
|
|
23
23
|
signals only — the skill catalog frontmatter, the role's `skills.yml`
|
|
24
24
|
shortlist, and (when present and not opted out) the local-analytics JSONL.
|
|
25
|
-
Implements the [`skill-discovery`](
|
|
25
|
+
Implements the [`skill-discovery`](../../docs/contracts/skill-discovery.md)
|
|
26
26
|
contract. Local-only, read-only, no network.
|
|
27
27
|
|
|
28
28
|
## Prerequisites
|
|
@@ -25,7 +25,7 @@ Reconciles `.agent-settings.yml` with the shipped template
|
|
|
25
25
|
(`config/agent-settings.template.yml`) and the selected cost-profile
|
|
26
26
|
preset (`config/profiles/{profile}.ini`). Applies the section-aware
|
|
27
27
|
merge rules documented in
|
|
28
|
-
[`layered-settings`](
|
|
28
|
+
[`layered-settings`](../../guidelines/agent-infra/layered-settings.md):
|
|
29
29
|
|
|
30
30
|
- Template section order wins — keys reorder to match.
|
|
31
31
|
- Existing user scalar values are preserved.
|
|
@@ -141,6 +141,6 @@ is a local-agent concern.
|
|
|
141
141
|
- [`scripts/sync_agent_settings.ts`](../../../../scripts/sync_agent_settings.ts) — the helper
|
|
142
142
|
- [`config/agent-settings.template.yml`](../../../../config/agent-settings.template.yml) — canonical template
|
|
143
143
|
- [`config/profiles/`](../../../../config/profiles/) — profile presets
|
|
144
|
-
- [`layered-settings`](
|
|
144
|
+
- [`layered-settings`](../../guidelines/agent-infra/layered-settings.md) — the merge rules this command enforces
|
|
145
145
|
- [`scripts/install.ts`](../../../../scripts/install.ts) — first-install path; this command handles the update path
|
|
146
146
|
- [`/sync-gitignore`](sync-gitignore.md) — sibling command for the `.gitignore` block
|
|
@@ -189,5 +189,5 @@ If the check fails, offer to re-sync the block with the current template:
|
|
|
189
189
|
ignored-but-tracked detection (Phase 5.2)
|
|
190
190
|
- [`scripts/check_gitignore_freshness.ts`](../../../../src/scripts/check_gitignore_freshness.ts) —
|
|
191
191
|
manifest vs block coverage check (Phase 3.4)
|
|
192
|
-
- [`docs/contracts/agents-layout.md`](
|
|
192
|
+
- [`docs/contracts/agents-layout.md`](../../../docs/contracts/agents-layout.md) —
|
|
193
193
|
full classification contract for `agents/` entries
|
|
@@ -109,4 +109,4 @@ funnel per changed behavior — enumerate first, write second:
|
|
|
109
109
|
|
|
110
110
|
## See also
|
|
111
111
|
|
|
112
|
-
- [`role-contracts`](../../
|
|
112
|
+
- [`role-contracts`](../../guidelines/agent-infra/role-contracts.md#tester) — Tester mode output contract (Behaviour under test / Edge cases / Negative paths / Reproduction / Coverage gaps)
|
|
@@ -32,7 +32,7 @@ packs:
|
|
|
32
32
|
> 2. Fix a specific test file — which one?
|
|
33
33
|
> 3. Fix tests that failed in CI — provide the CI run URL or error output
|
|
34
34
|
|
|
35
|
-
- Read the Playwright guideline: `../../
|
|
35
|
+
- Read the Playwright guideline: `../../guidelines/e2e/playwright.md`
|
|
36
36
|
|
|
37
37
|
### 2. Run failing tests
|
|
38
38
|
|
|
@@ -32,7 +32,7 @@ packs:
|
|
|
32
32
|
> 2. Which feature area? (e.g., "checkout flow", "user settings", or "all visible flows")
|
|
33
33
|
> 3. Is there an existing seed/setup file? (e.g., `tests/e2e/fixtures/auth.ts`)
|
|
34
34
|
|
|
35
|
-
- Read the Playwright guideline: `../../
|
|
35
|
+
- Read the Playwright guideline: `../../guidelines/e2e/playwright.md`
|
|
36
36
|
- Check for existing test plans in `specs/` or `tests/e2e/specs/`.
|
|
37
37
|
|
|
38
38
|
### 2. Explore the application
|
|
@@ -19,13 +19,16 @@ weight, a trigger that swallows a sibling rule's domain) surfaces in
|
|
|
19
19
|
real interactions before the second edit lands and confounds the
|
|
20
20
|
diagnosis.
|
|
21
21
|
|
|
22
|
+
A kernel-rule PR also carries a ratification artifact
|
|
23
|
+
([`ratification-artifact`](../../docs/contracts/ratification-artifact.md)),
|
|
24
|
+
gated by `check_kernel_edit_ratified` — an ADDITION to this soak, never a
|
|
25
|
+
replacement, until blocker `ratification-platform-anchor` is decided.
|
|
26
|
+
|
|
22
27
|
## Trigger
|
|
23
28
|
|
|
24
29
|
A PR is a "kernel-rule edit" iff it modifies any file in `src/rules/`
|
|
25
30
|
that is in the locked kernel set
|
|
26
|
-
(see [`docs/contracts/kernel-membership.md`](
|
|
27
|
-
(Until 2026-07-31 this named the pre-ADR-051 authoring tree, which no
|
|
28
|
-
longer exists — so the trigger could not match a live file.)
|
|
31
|
+
(see [`docs/contracts/kernel-membership.md`](../../docs/contracts/kernel-membership.md)).
|
|
29
32
|
|
|
30
33
|
The CI guard (Phase 4.2 of the always-budget-relief roadmap) fails
|
|
31
34
|
any PR that touches **> 1** kernel rule in the same diff. Override is
|
|
@@ -59,6 +62,3 @@ diff instead of a silent 10× cost event.
|
|
|
59
62
|
## Source
|
|
60
63
|
|
|
61
64
|
- Roadmap Phase 4: always-budget-relief roadmap § Phase 4 (transient — see `agents/roadmaps/archive/`).
|
|
62
|
-
- Lesson: PR #36 (2026-05-04) condensed the rollout schedule under
|
|
63
|
-
autonomous mandate; the slow-rollout note was deferred until this
|
|
64
|
-
ADR pass.
|
package/dist/agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md
CHANGED
|
@@ -4,7 +4,7 @@ Lookup table for the `slash-command-routing-policy` rule. Lists the
|
|
|
4
4
|
locked clusters and their sub-commands so the rule itself can stay at
|
|
5
5
|
its current LOC while still reflecting the full surface. Source of
|
|
6
6
|
truth for the cluster names is
|
|
7
|
-
[`docs/contracts/command-clusters.md`](
|
|
7
|
+
[`docs/contracts/command-clusters.md`](../../../docs/contracts/command-clusters.md);
|
|
8
8
|
this file mirrors that contract for runtime lookup. Linter:
|
|
9
9
|
`scripts/check_cluster_patterns.ts` (verifies dispatcher shape).
|
|
10
10
|
|
|
@@ -15,7 +15,6 @@ this file mirrors that contract for runtime lookup. Linter:
|
|
|
15
15
|
| `/fix` | 1 | `ci` · `pr-comments` · `portability` · `refs` · `seeder` | `/fix-ci` · `/fix-pr-comments` · `/fix-portability` · `/fix-references` · `/fix-seeder` |
|
|
16
16
|
| `/optimize` | 1 | `agents` · `augmentignore` · `rtk` · `skills` | `/optimize-agents` · `/optimize-augmentignore` · `/optimize-rtk-filters` · `/optimize-skills` |
|
|
17
17
|
| `/feature` | 1 | `explore` · `plan` · `refactor` · `roadmap` | `/feature-explore` · `/feature-plan` · `/feature-refactor` · `/feature-roadmap` |
|
|
18
|
-
| `/chat-history` | 2 | `show` | `/chat-history` (legacy status) — `resume` / `clear` / `checkpoint` removed in `road-to-chat-history-hook-only` |
|
|
19
18
|
| `/agents` | 2 | `init` · `optimize` · `audit` | `/copilot-agents-init` · merger of `/optimize-agents-md` + `/copilot-agents-optimize` · `/optimize-agents` (folder ops moved to `/optimize:agents-dir`) |
|
|
20
19
|
| `/memory` | 2 | `add` · `load` · `promote` · `propose` | `/memory-add` · `/memory-full` · `/memory-promote` · `/propose-memory` |
|
|
21
20
|
| `/roadmap` | 2 | `create` · `process-step` · `process-phase` · `process-full` | `/roadmap-create` · `/roadmap-process` (replaced — autonomous, no per-step gate; `process-phase` is the default execution scope) |
|
|
@@ -43,7 +43,7 @@ behavior. Cannot → read more.
|
|
|
43
43
|
## Consult memory before editing
|
|
44
44
|
|
|
45
45
|
Invariants live in the memory layer; architectural rationale lives in ADRs.
|
|
46
|
-
Via [`memory-access`](
|
|
46
|
+
Via [`memory-access`](../../../guidelines/agent-infra/memory-access.md),
|
|
47
47
|
call `retrieve(types=["domain-invariants"], keys=<touched paths>, limit=3)` —
|
|
48
48
|
a matching `domain-invariant` is a hard constraint. For *why* the current
|
|
49
49
|
shape exists, check the ADR index `docs/decisions/INDEX.md`. Cite the `id` /
|
|
@@ -129,4 +129,4 @@ success cannot be checked is a clarification trigger, not an execution
|
|
|
129
129
|
trigger (route to `ask-when-uncertain`).
|
|
130
130
|
|
|
131
131
|
Wrong/right demos:
|
|
132
|
-
[`simplicity-and-goal-demos`](
|
|
132
|
+
[`simplicity-and-goal-demos`](../../../guidelines/agent-infra/simplicity-and-goal-demos.md).
|
|
@@ -108,6 +108,39 @@ The step-2 grep is not a second probe of the same file for the same fact — it
|
|
|
108
108
|
returns information step 1 did not have, so it is one operation with step 3, per
|
|
109
109
|
the enumerated-set carve-out.
|
|
110
110
|
|
|
111
|
+
### Where the 800 came from, and what would falsify it
|
|
112
|
+
|
|
113
|
+
Migrated out of `token-efficiency.md` on 2026-09-09 to fund that rule's
|
|
114
|
+
provided-artifact carve-out — a named substitution rather than a deletion, per
|
|
115
|
+
the council verdict on `blocker: standing-payload-headroom`.
|
|
116
|
+
|
|
117
|
+
The number is a **stated default, not a measured optimum** — said plainly rather
|
|
118
|
+
than implying a derivation it does not have. *Revisit-if:* a run records a
|
|
119
|
+
probe-then-slice that cost more than the full read would have, or the host's
|
|
120
|
+
ranged-read primitive changes its own default. Either falsifies the number, not
|
|
121
|
+
the obligation.
|
|
122
|
+
|
|
123
|
+
### The provided-artifact carve-out
|
|
124
|
+
|
|
125
|
+
A handed-over design artifact is not a large file to be probed; it is the spec,
|
|
126
|
+
and reading it whole is the work. A bundle of several thousand lines across
|
|
127
|
+
markup, CSS and tokens is ordinary, so the agent that reads it properly is the
|
|
128
|
+
one the size gate and the read-loop detector both punish, while the agent that
|
|
129
|
+
skims it produces the fidelity failure `design-fidelity` exists to prevent.
|
|
130
|
+
|
|
131
|
+
Two obligations, and they compose rather than cancel:
|
|
132
|
+
|
|
133
|
+
1. **The size gate does not fire on it.** Read the artifact whole.
|
|
134
|
+
2. **The read is declared** — [`context-hygiene`](../../../guidelines/agent-infra/context-hygiene-mechanics.md)
|
|
135
|
+
§ the declared-protocol cap — with its goal, its expected read count and the
|
|
136
|
+
output shape, before the reading starts. Declaring raises the read-only abort
|
|
137
|
+
from 5 turns to 8; it never suspends it, and exceeding the declared count by
|
|
138
|
+
more than 2 is still the violation.
|
|
139
|
+
|
|
140
|
+
What this does NOT do: it does not exempt an *undeclared* read loop, and it does
|
|
141
|
+
not apply to a file that merely happens to be large. The discriminator is the
|
|
142
|
+
handover, not the size.
|
|
143
|
+
|
|
111
144
|
### Exceptions
|
|
112
145
|
|
|
113
146
|
- Small output (< 30 lines) — read directly.
|
|
@@ -187,6 +220,47 @@ Over 40,268 real Bash calls from one maintainer's transcripts:
|
|
|
187
220
|
measurement artifact. It is not: that shape cannot be written as an
|
|
188
221
|
allowlist pattern at all, so it shrinks only by not being written.
|
|
189
222
|
|
|
223
|
+
### Re-measured 2026-09-10, with a shipped probe
|
|
224
|
+
|
|
225
|
+
The figures above were computed once by hand. `autonomy_friction_traffic`
|
|
226
|
+
(`./scripts-run src/scripts/autonomy_friction_traffic --store <dir> --limit 40`)
|
|
227
|
+
recomputes them from a transcript store and shares the live detectors — and the
|
|
228
|
+
metacharacter class is `category_a`'s own exported constant — so those cannot
|
|
229
|
+
drift; the bucket ORDER restates the classifier by hand and is pinned by a test.
|
|
230
|
+
Over **7,569 distinct** Bash calls in 39 transcripts (deduplicated by tool-use
|
|
231
|
+
id, measuring session excluded):
|
|
232
|
+
|
|
233
|
+
- **1.7 %** (126) are category A. Of the 7,443 uncovered calls, **7,143** are
|
|
234
|
+
disqualified by a shell metacharacter before their argv is read, 21 name a
|
|
235
|
+
consequence operation, and **279** get as far as the head list. Widening the
|
|
236
|
+
head list therefore cannot move this number — the shape can. The 279 is an
|
|
237
|
+
upper bound: a directory flag whose value escapes the tree lands there too.
|
|
238
|
+
- **73.8 %** (5,585) carry the chain class; `cd` heads 3,573 of the uncovered
|
|
239
|
+
calls — a different denominator from the shape classes, which count every call.
|
|
240
|
+
- **4.0 %** (306) write a file through the shell: 216 `cat >`, 66 `sed -i`,
|
|
241
|
+
16 a `python3 -c` opening a path for writing, 7 `perl -i`, 1 `tee`. A **floor**
|
|
242
|
+
— the rules are a positive list of five commands, so `echo >`, `jq >` and `cp`
|
|
243
|
+
are silent.
|
|
244
|
+
|
|
245
|
+
**Two host facts that decide what any of this can buy**, both read out of the
|
|
246
|
+
host's own permission documentation on 2026-09-10. First, `permissions.allow`
|
|
247
|
+
does **not** bypass the auto-mode classifier — they are layers, so an allow
|
|
248
|
+
entry cannot make a prompt go away on its own. Second, "don't ask again" saves a
|
|
249
|
+
permanent rule for a read-only command and only a session-lifetime one for a
|
|
250
|
+
write-shaped one. The second is why the write class earns its own line: no
|
|
251
|
+
amount of confirming makes the next `sed -i` cheaper. The adjacent question —
|
|
252
|
+
whether a hook's `permissionDecision: allow` suppresses the classifier — was
|
|
253
|
+
looked for in the same pass and **not found documented**.
|
|
254
|
+
|
|
255
|
+
**And a correction to the table below.** `git -C /repo status` is the right
|
|
256
|
+
substitution for the host's matcher, but it is **not** category A: `category_a`
|
|
257
|
+
refuses a global option whose value is absolute, and every cross-worktree
|
|
258
|
+
invocation in a multi-worktree checkout writes an absolute one. So unwinding a
|
|
259
|
+
chain removes the metacharacter without buying the allow. The row stays because
|
|
260
|
+
it is still the cheaper shape; what changes is the claim that it lands inside
|
|
261
|
+
category A. Pinned in `tests/scripts/autonomy_friction_traffic.test.ts` §
|
|
262
|
+
"the recommended substitution is only covered with a RELATIVE path".
|
|
263
|
+
|
|
190
264
|
### The substitutions
|
|
191
265
|
|
|
192
266
|
| Instead of | Write |
|
|
@@ -195,6 +269,9 @@ Over 40,268 real Bash calls from one maintainer's transcripts:
|
|
|
195
269
|
| `V=$(git rev-parse HEAD); echo $V` | two calls, the second using the printed value |
|
|
196
270
|
| `mkdir -p x && cp a x/` | two calls in the same block |
|
|
197
271
|
| `cd sub && <cmd>` | the directory flag the tool already has (`-C`, `--cwd`, `--prefix`) |
|
|
272
|
+
| `sed -i '' -e 's/a/b/' f` | the **Edit** tool — a write-shaped Bash grant expires with the session |
|
|
273
|
+
| `cat > f <<'EOF' … EOF` | the **Write** tool for a new file, **Edit** for a change to an existing one |
|
|
274
|
+
| `python3 -c "open(p,'w').write(s)"` | the same two tools; keep the interpreter for reads and computation |
|
|
198
275
|
|
|
199
276
|
A loop that genuinely cannot be expressed without the shell stays a loop —
|
|
200
277
|
prefer a script file over an inline `for` when it recurs.
|
|
@@ -211,7 +288,17 @@ first time a session chains work. It is ON by default with
|
|
|
211
288
|
because the fact this one carries is a property of the host's permission
|
|
212
289
|
matcher and holds in every consumer.
|
|
213
290
|
|
|
214
|
-
|
|
291
|
+
Since 2026-09-10 it carries a second shape class — a Bash command that fills a
|
|
292
|
+
file (`sed -i`, `cat > f`, `tee f`, `perl -i`, a `python3 -c` opening a path for
|
|
293
|
+
writing) — and the latch is per class, so a session sees at most one line per
|
|
294
|
+
class instead of one line for whichever mistake came first. A redirect that
|
|
295
|
+
names no file being filled (`2>&1`, `> /dev/null`) is still not a write and is
|
|
296
|
+
still not flagged. The two classes read different views: the chain rules see
|
|
297
|
+
quoted spans and heredocs removed, the write rules see quoted spans removed and
|
|
298
|
+
heredoc BODIES removed with the command line kept — a heredoc marker and the
|
|
299
|
+
redirect sharing its line cannot be separated otherwise.
|
|
300
|
+
|
|
301
|
+
**It never blocks, and each class fires once.** So it changes what the agent knows,
|
|
215
302
|
not what the agent may do: compliance stays model-carried, and the concern's
|
|
216
303
|
tests establish detector behavior, not adherence. On a host with no
|
|
217
304
|
`pre_tool_use` slot nothing fires at all and the rule is model-carried end to
|
|
@@ -189,7 +189,7 @@ rendered as a bulleted list of reasons — declines are short prose (one or
|
|
|
189
189
|
two sentences), because a bulleted refusal reads as a checklist to argue
|
|
190
190
|
against rather than a direct answer.
|
|
191
191
|
|
|
192
|
-
Full example set: [`asking-and-brevity-examples § Bullet floor`](
|
|
192
|
+
Full example set: [`asking-and-brevity-examples § Bullet floor`](../../../guidelines/agent-infra/asking-and-brevity-examples.md#bullet-floor).
|
|
193
193
|
|
|
194
194
|
## Summaries
|
|
195
195
|
|
|
@@ -56,4 +56,4 @@ kernel chars. The pointers below replace them.
|
|
|
56
56
|
|
|
57
57
|
## Decidable carve-out predicates
|
|
58
58
|
|
|
59
|
-
Predicates with one-sentence tests live in [`docs/guidelines/agent-infra/carve-out-predicates.md`](
|
|
59
|
+
Predicates with one-sentence tests live in [`docs/guidelines/agent-infra/carve-out-predicates.md`](../../guidelines/agent-infra/carve-out-predicates.md). Default-terse applies unless a predicate's test is yes/no decidable from the artifact alone.
|
|
@@ -129,7 +129,7 @@ tier `inferSliceTier` (§ below) already raised.
|
|
|
129
129
|
Deny-by-default — a direction not listed here is denied. Direction rules,
|
|
130
130
|
payload allow/deny lists, the report-only boundary, the no-recursion clause and
|
|
131
131
|
the human egress gate:
|
|
132
|
-
[`cross-vendor-worker-direction`](
|
|
132
|
+
[`cross-vendor-worker-direction`](../../docs/contracts/cross-vendor-worker-direction.md).
|
|
133
133
|
Role pairs, never vendor names — `classifyLadder` carries no vendor identity
|
|
134
134
|
([`subagent-routing`](subagent-routing.md) § Why vendor-neutral).
|
|
135
135
|
|
|
@@ -20,7 +20,7 @@ set, and what the host can physically do.
|
|
|
20
20
|
| `subagents.downshift` | `true` | Route delegable sub-tasks to the lowest-capable tier (Phase 2). |
|
|
21
21
|
| `subagents.quota_arbitrage` | `true` | Prefer a separate-quota-pool model where the host manifest allows it (Phase 2 bonus). |
|
|
22
22
|
| `subagents.model_map` | `{}` | Optional per-tier model override for downshift routing. |
|
|
23
|
-
| `emergency.orchestration_halt` | `false` | The ONE audited incident switch — see [`settings-classes.md`](
|
|
23
|
+
| `emergency.orchestration_halt` | `false` | The ONE audited incident switch — see [`settings-classes.md`](../../docs/contracts/settings-classes.md) § "The one exception". NOT an activation gate: on-by-default, ceremony-free to arm, requires a non-empty `orchestration_halt_justification` to disarm. |
|
|
24
24
|
|
|
25
25
|
## Activation decision
|
|
26
26
|
|
|
@@ -13,7 +13,7 @@ relevant. Detection logic lives in [`autonomy-detection.md`](autonomy-detection.
|
|
|
13
13
|
| `auto` (default) | Same as `off` by default. Flips to `on` for the rest of the conversation as soon as the user expresses the intent "stop asking, just work". See [detection logic](autonomy-detection.md) — match by **intent**, not exact string. The flip never lifts the Hard Floor. |
|
|
14
14
|
|
|
15
15
|
The value is read once on the first turn (per
|
|
16
|
-
[`layered-settings`](
|
|
16
|
+
[`layered-settings`](../../guidelines/agent-infra/layered-settings.md#section-aware-merge-rules))
|
|
17
17
|
and cached. Missing key → treat as `auto` (fail-closed — same behavior
|
|
18
18
|
as the shipped template default; absence of a key never grants the most
|
|
19
19
|
permissive mode). The one exception is the explicit cloud carve-out
|
|
@@ -4,7 +4,7 @@ Catalog material for [`no-cheap-questions`](../../rules/no-cheap-questions.md)
|
|
|
4
4
|
|
|
5
5
|
## Cheap classes — full catalog
|
|
6
6
|
|
|
7
|
-
Sequencing · format-only · commit / CI / test asks · fenced re-ask · Iron-Law option · context-derived · dominant option · re-ask after decline · paternalistic (IL 3) · continuation under mandate (IL 4) · prereq-for-authorized-action (IL 5) · destination-already-stated (IL 6) · self-cleaning artefact follow-up · disguised commit ask (preview-as-bait) · commit-chunking-strategy (one-or-multiple / which-first / how-to-split). Extended examples: [`asking-and-brevity-examples`](
|
|
7
|
+
Sequencing · format-only · commit / CI / test asks · fenced re-ask · Iron-Law option · context-derived · dominant option · re-ask after decline · paternalistic (IL 3) · continuation under mandate (IL 4) · prereq-for-authorized-action (IL 5) · destination-already-stated (IL 6) · self-cleaning artefact follow-up · disguised commit ask (preview-as-bait) · commit-chunking-strategy (one-or-multiple / which-first / how-to-split). Extended examples: [`asking-and-brevity-examples`](../../guidelines/agent-infra/asking-and-brevity-examples.md#cheap-question-class-catalog--extended-examples).
|
|
8
8
|
|
|
9
9
|
## Iron Law 3 — No Paternalistic State-Assuming Options
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ sheet-eligible when **all** hold:
|
|
|
24
24
|
- it is answerable **before** the run starts — its answer does not depend on
|
|
25
25
|
something the run itself produces;
|
|
26
26
|
- its decision class is `trivial`, `low_impact`, or `medium_impact`
|
|
27
|
-
([`ai-council-config`](
|
|
27
|
+
([`ai-council-config`](../../docs/contracts/ai-council-config.md)
|
|
28
28
|
§ decision_resolution);
|
|
29
29
|
- a **conservative default** exists and can be stated in one line.
|
|
30
30
|
|
|
@@ -68,7 +68,7 @@ cost: each override is a decision the default did not carry.
|
|
|
68
68
|
|
|
69
69
|
The contradiction was resolved on **the sheet's** side deliberately, and the
|
|
70
70
|
asymmetry is durable rather than incidental: `user-interaction` is one of the
|
|
71
|
-
locked nine ([`kernel-membership § 4`](
|
|
71
|
+
locked nine ([`kernel-membership § 4`](../../docs/contracts/kernel-membership.md)),
|
|
72
72
|
so amending its clause is an owner-reserved edit that `block-kernel-rule-writes`
|
|
73
73
|
refuses at tool-call time, while the answer SHAPE is this page's own. When a
|
|
74
74
|
page and a kernel rule contradict each other, the page is both the cheaper half
|
|
@@ -110,6 +110,6 @@ by whichever mechanism happened to hit them first.
|
|
|
110
110
|
|
|
111
111
|
- [`roadmap-execution-contract`](roadmap-execution-contract.md) — the screen this renders inside; its single Accept is the authorization.
|
|
112
112
|
- [`roadmap-process-loop § 3`](roadmap-process-loop.md) — the pre-scan that produces the rows, and the § 3a ladder that decides whether a contract is derived at all.
|
|
113
|
-
- [`ai-council-config`](
|
|
113
|
+
- [`ai-council-config`](../../docs/contracts/ai-council-config.md) § decision_resolution — the class table and the locked-class Iron Law.
|
|
114
114
|
- [`ask-when-uncertain`](../../rules/ask-when-uncertain.md) — one question per turn; one sheet answered by one keystroke is one question.
|
|
115
115
|
- [`user-interaction`](../../rules/user-interaction.md) — the numbered-options shape and the single recommendation line.
|