@event4u/agent-config 14.22.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 +333 -356
- 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 +48 -39
- 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 +9 -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 +13 -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 +36 -25
- 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/scripts/archive_completed_roadmaps.ts +106 -4
- 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-intelligence/SKILL.md +57 -1
- 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/git-workflow/references/push-closes-its-loop.md +9 -0
- 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 +60 -4
- 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/registry.js +1 -1
- package/dist/cli-delegate/archive_completed_roadmaps.js +52 -4
- package/dist/cli-delegate/check_update_banner.js +12 -1
- package/dist/cli-delegate/{chunk-TGIPZBCW.js → chunk-2KKXJW25.js} +22 -8
- package/dist/cli-delegate/{chunk-NLP54U3J.js → chunk-2XY7ILBT.js} +13 -1
- package/dist/cli-delegate/{chunk-4FS4WRXP.js → chunk-3FKR64R5.js} +34 -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-BIXEDQPZ.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 +24 -16
- 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 +4 -14
- 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 +27 -80
- 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 +9249 -8981
- package/dist/install/install.mjs +47 -8
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +5496 -2400
- 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/_lib/lean_projection_mode.js +108 -0
- package/dist/scripts/_lib/router_match.js +243 -0
- package/dist/scripts/_lib/rule_injection.js +216 -0
- package/dist/scripts/condense.js +22 -25
- package/dist/scripts/project_thin_rules.js +139 -19
- package/dist/server/io/yamlIO.js +125 -17
- package/dist/server/schemas/settings.js +32 -5
- package/dist/shared/settingsSurface.js +6 -1
- package/docs/MIGRATION.md +56 -0
- package/docs/contracts/settings-classes.md +48 -7
- 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/notes-horizon-mechanics.md +90 -0
- 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/llms.txt +1 -1
- package/package.json +7 -3
- package/src/agent-src/scripts/archive_completed_roadmaps.ts +106 -4
- package/src/config/agent-settings.template.yml +94 -1
- package/src/config/ci-local-parity.yml +34 -0
- package/src/config/continuity-surface.json +8 -29
- package/src/config/evaluator-budgets.json +4 -4
- 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 +8 -7
- package/src/config/host-injection-effect.json +2 -2
- package/src/config/pack-size-budget.json +55 -4
- package/src/config/packed-binary-manifest.json +1 -1
- 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/routing-coverage-seed.json +9 -2
- package/src/config/rule-stub-ceilings.json +16 -9
- package/src/scripts/_cli/cmd_session_recycle.ts +2 -25
- package/src/scripts/_cli/cmd_settings_get.ts +22 -7
- package/src/scripts/_cli/handoff_sessions.ts +14 -44
- 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_slot.ts +295 -0
- package/src/scripts/_lib/continuity_writer.ts +312 -0
- 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/hook_settings.ts +85 -0
- package/src/scripts/_lib/lean_projection_mode.ts +127 -0
- package/src/scripts/_lib/obligation_frequency.ts +2 -3
- package/src/scripts/_lib/packed_binary_predicate.ts +37 -0
- package/src/scripts/_lib/platform_anchor.ts +1053 -0
- package/src/scripts/_lib/ratification_artifact.ts +278 -0
- package/src/scripts/_lib/recycle_envelope_paths.ts +109 -21
- package/src/scripts/_lib/regression_neighbourhood.ts +159 -22
- package/src/scripts/_lib/security_lint.ts +23 -2
- package/src/scripts/_lib/self_repair.ts +21 -0
- package/src/scripts/_lib/session_eol.ts +44 -0
- package/src/scripts/_lib/session_index_trust.ts +387 -0
- package/src/scripts/_lib/standing_bound_ratchet.ts +220 -0
- package/src/scripts/_lib/tolerance_shadow.ts +177 -0
- package/src/scripts/_lib/vendored_grammar_upstream.ts +280 -0
- package/src/scripts/ai_council/redact_low_impact_entry.ts +8 -0
- package/src/scripts/audit_mcp_tools.ts +69 -25
- package/src/scripts/autonomy_friction_traffic.ts +379 -0
- package/src/scripts/build_mcp_catalog.ts +24 -1
- package/src/scripts/check_host_tree_parity.ts +291 -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 +424 -7
- package/src/scripts/check_projected_rule_routes.ts +395 -0
- package/src/scripts/check_rule_projection_integrity.ts +102 -2
- package/src/scripts/ci_settle.ts +205 -5
- package/src/scripts/code_graph/build.ts +79 -0
- package/src/scripts/code_graph/cli.ts +264 -7
- package/src/scripts/code_graph/detect.ts +38 -0
- package/src/scripts/code_graph/query.ts +25 -2
- package/src/scripts/code_graph/sqlite_store.ts +16 -1
- package/src/scripts/code_graph/types.ts +52 -3
- package/src/scripts/code_graph/validate.ts +3 -1
- package/src/scripts/code_graph/verbs.ts +590 -0
- package/src/scripts/condense.ts +22 -26
- package/src/scripts/generate_host_cost_table.ts +354 -0
- package/src/scripts/handoff_context_hook.ts +39 -1
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +59 -28
- package/src/scripts/hooks/block_speaking_inbox_dir.ts +182 -16
- package/src/scripts/hooks/category_a.ts +1 -1
- package/src/scripts/hooks/chain_nudge_hook.ts +311 -25
- package/src/scripts/hooks/code_graph_context_hook.ts +7 -18
- package/src/scripts/hooks/push_settle_hook.ts +3 -2
- package/src/scripts/hooks/rule_inject_hook.ts +107 -20
- package/src/scripts/hooks/session_eol_hook.ts +177 -145
- 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 +103 -408
- package/src/scripts/lint_evidence_artifacts.ts +1 -0
- package/src/scripts/lint_knowledge_scale.ts +0 -26
- package/src/scripts/lint_roadmap_blockers.ts +164 -1
- package/src/scripts/mcp_server/consumer_tool_catalog.json +152 -2
- package/src/scripts/mcp_server/graph_tools.ts +294 -0
- package/src/scripts/mcp_server/path_util.ts +31 -0
- package/src/scripts/mcp_server/tool_catalog_source.ts +7 -1
- package/src/scripts/mcp_server/tools.ts +3 -13
- package/src/scripts/memory_lookup.ts +9 -9
- package/src/scripts/model_rule_injection.ts +61 -4
- package/src/scripts/project_thin_rules.ts +149 -16
- package/src/scripts/report_standing_payload_by_host.ts +650 -0
- package/src/scripts/schemas/agent-settings.schema.json +7 -1
- package/src/scripts/session_memory_index.ts +86 -8
- package/src/scripts/sync_agent_settings.ts +270 -10
- package/src/server/io/yamlIO.ts +127 -17
- package/src/server/schemas/settings.ts +45 -6
- package/src/shared/settingsSurface.ts +13 -2
- package/src/templates/compact-instructions.md +8 -3
- package/src/vendor/grammars/README.md +27 -2
- package/dist/agent-src/commands/chat-history/import.md +0 -170
- package/dist/agent-src/commands/chat-history.md +0 -63
|
@@ -63,12 +63,12 @@ Test before writing any comment: *would deleting it leave a future reader confus
|
|
|
63
63
|
- The user explicitly asks for documented code / teaching examples ("erkläre im Code", "annotate this for juniors") — that turn's ask wins.
|
|
64
64
|
- License headers or file-level pragmas a toolchain requires.
|
|
65
65
|
|
|
66
|
-
Body migrated to [`guideline:code-clarity § Comment discipline`](../
|
|
66
|
+
Body migrated to [`guideline:code-clarity § Comment discipline`](../guidelines/code-clarity.md#comment-discipline--state-a-constraint-not-a-narration) (per P4 of `road-to-kernel-and-router.md`) — banned-classes table, machine-relevant precision carve-out, `code_style.docblocks` public-API carve-out, per-language keep/drop tables, worked examples, scope boundary, fixtures pointer.
|
|
67
67
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
68
68
|
|
|
69
69
|
## See also
|
|
70
70
|
|
|
71
|
-
- [`code-clarity.md § Comment discipline`](../
|
|
71
|
+
- [`code-clarity.md § Comment discipline`](../guidelines/code-clarity.md#comment-discipline--state-a-constraint-not-a-narration) — canonical long-form with the migrated body.
|
|
72
72
|
- [`minimal-safe-diff`](minimal-safe-diff.md) — diff-shape twin; no comment additions or removals on untouched code.
|
|
73
73
|
- [`output-discipline`](output-discipline.md) — adjacent but distinct: bans placeholder prose (`// TODO: implement`); this rule bans redundant prose.
|
|
74
74
|
- `docs/guidelines/php/php-coding-patterns.md` § PHPDoc — PHP-specific operationalization.
|
|
@@ -162,7 +162,7 @@ is why the discipline is the control on both layers.
|
|
|
162
162
|
**The carve-out is authorship, not delivery:** a vendored component or a
|
|
163
163
|
licensed template that merely *arrives inside* a handover stays under this
|
|
164
164
|
rule in full. Boundary stated from the other side in
|
|
165
|
-
[`design-fidelity-mechanics`](../
|
|
165
|
+
[`design-fidelity-mechanics`](../guidelines/design-fidelity-mechanics.md)
|
|
166
166
|
§ Adopt the code.
|
|
167
167
|
**It exempts the code clauses only.** A claim *about* the artifact's origin —
|
|
168
168
|
that a pattern in it came from somewhere nameable — is a knowledge-layer
|
|
@@ -83,7 +83,7 @@ does not substitute for engaging with the source.
|
|
|
83
83
|
how much of that data may be reproduced verbatim once it IS being
|
|
84
84
|
used as source material.
|
|
85
85
|
- [`code-provenance`](code-provenance.md) +
|
|
86
|
-
[`design-fidelity-mechanics`](../
|
|
86
|
+
[`design-fidelity-mechanics`](../guidelines/design-fidelity-mechanics.md)
|
|
87
87
|
§ Adopt the code — this rule's user-owned-text carve-out extended to
|
|
88
88
|
**markup**: a design artifact the user hands over is their own material, so
|
|
89
89
|
adapting its code is not a borrow. Third-party code arriving inside that
|
|
@@ -92,7 +92,7 @@ tool calls and a waiter is indistinguishable from any other call at that layer.
|
|
|
92
92
|
|
|
93
93
|
Why the loop test misses it in both clauses, the n=1 measurement behind the
|
|
94
94
|
clause, and the enforcement argument: [`context-hygiene-mechanics § Waiting is one
|
|
95
|
-
waiter`](../
|
|
95
|
+
waiter`](../guidelines/agent-infra/context-hygiene-mechanics.md).
|
|
96
96
|
|
|
97
97
|
## Read-Loop Detection — the 15 / 25 rule
|
|
98
98
|
|
|
@@ -110,12 +110,12 @@ EVERY TURN MUST EDIT, RUN, OR ASK.
|
|
|
110
110
|
|
|
111
111
|
### Declared read protocol — the cap goes UP, never off
|
|
112
112
|
|
|
113
|
-
A mandated analysis/audit/review protocol is exactly the case that legitimately needs *more* reads, not fewer — an 8-turn evidence sweep is the protocol working, not a loop. Capping a declared protocol tighter than an undeclared one is backwards. So:
|
|
113
|
+
A mandated analysis/audit/review protocol — or a port of a provided design artifact, where reading the handover whole IS the work — is exactly the case that legitimately needs *more* reads, not fewer — an 8-turn evidence sweep is the protocol working, not a loop. Capping a declared protocol tighter than an undeclared one is backwards. So:
|
|
114
114
|
|
|
115
115
|
- **Undeclared reading keeps 3-warn / 5-abort.** Unchanged.
|
|
116
116
|
- **A declared protocol raises the abort to 8 read-only turns** — and never suspends it. "Non-bypassable" narrows to **no *silent* bypass**: a declared protocol is not silent.
|
|
117
117
|
|
|
118
|
-
> **The 8 is a guess, a LOWER BOUND, and revisitable** — derivation, the n=1 run behind it, and the two-branch `revisit-if`: [`context-hygiene-mechanics § The declared-protocol cap`](../
|
|
118
|
+
> **The 8 is a guess, a LOWER BOUND, and revisitable** — derivation, the n=1 run behind it, and the two-branch `revisit-if`: [`context-hygiene-mechanics § The declared-protocol cap`](../guidelines/agent-infra/context-hygiene-mechanics.md).
|
|
119
119
|
|
|
120
120
|
A declaration is only valid when it states, before the reading starts, all three of:
|
|
121
121
|
|
|
@@ -125,10 +125,10 @@ A declaration is only valid when it states, before the reading starts, all three
|
|
|
125
125
|
|
|
126
126
|
Free-text intent is not a declaration — the three fields exist so that "declared protocol: I need to read things" cannot buy the higher cap. Exceeding the declared count by more than 2 is itself the violation: stop, surface what the extra reads were for, and ask.
|
|
127
127
|
|
|
128
|
-
Body migrated to [`guideline:agent-infra/context-hygiene-mechanics`](../
|
|
128
|
+
Body migrated to [`guideline:agent-infra/context-hygiene-mechanics`](../guidelines/agent-infra/context-hygiene-mechanics.md) (per P4 of `road-to-kernel-and-router.md`) — the freshness-suggestion template, the read-loop self-check + abort block, the state-dump format + `/agent-handoff` pointer, the Augment ignored-skills recovery flow, and the Copilot no-hook fallback (manual `context_hygiene_hook` refresh).
|
|
129
129
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
130
130
|
|
|
131
131
|
## See also
|
|
132
132
|
|
|
133
|
-
- [`guideline:agent-infra/context-hygiene-mechanics`](../
|
|
133
|
+
- [`guideline:agent-infra/context-hygiene-mechanics`](../guidelines/agent-infra/context-hygiene-mechanics.md) — templates + per-host procedures.
|
|
134
134
|
- [`systematic-debugging § Debug micro-loop`](../skills/systematic-debugging/SKILL.md) — the read-loop debug procedure.
|
|
@@ -88,7 +88,7 @@ trivial edits, or when the user has already resolved the discrepancy this turn.
|
|
|
88
88
|
|
|
89
89
|
The taxonomy, the scan procedure, the confidence-tiered noise control, worked
|
|
90
90
|
examples, and the precedence table live in
|
|
91
|
-
[`cross-source-consistency-mechanics`](../
|
|
91
|
+
[`cross-source-consistency-mechanics`](../guidelines/agent-infra/cross-source-consistency-mechanics.md).
|
|
92
92
|
|
|
93
93
|
## See also
|
|
94
94
|
|
|
@@ -25,6 +25,7 @@ triggers:
|
|
|
25
25
|
- phrase: "1:1 nach"
|
|
26
26
|
- phrase: "claude.site/artifacts"
|
|
27
27
|
- file_pattern: "*design.html"
|
|
28
|
+
- file_pattern: "*.dc.html"
|
|
28
29
|
- path_prefix: ".claude/design-system/"
|
|
29
30
|
applies_to_user_types:
|
|
30
31
|
- "creator"
|
|
@@ -75,12 +76,12 @@ both of which name a screenshot as a legitimate spec — and it would forbid the
|
|
|
75
76
|
image-only handover class the rule exists to govern. What it forbids is
|
|
76
77
|
narrower: reaching for pixels **while the code is sitting there**.
|
|
77
78
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
**Artifact versus brand — arbitrated here, not behind a pointer.** A brand
|
|
80
|
+
token wins on a **value** (colour, type, spacing), and the distance from the
|
|
81
|
+
artifact's own value is reported, never silently absorbed. **Structure is the
|
|
82
|
+
artifact's** — layout, controls, component set, order, breakpoints — never
|
|
83
|
+
adjusted to suit a token; a conflict is surfaced, never merged. The
|
|
84
|
+
adopt-the-code duty stops where [`code-provenance`](code-provenance.md) starts.
|
|
84
85
|
|
|
85
86
|
## What counts as the spec
|
|
86
87
|
|
|
@@ -105,7 +106,7 @@ mentions a wireframe it replaces routes **strictly** — a reference to a previo
|
|
|
105
106
|
not a declaration about this one. **When the artefact does not declare its maturity,
|
|
106
107
|
it is treated as finished**: the 1:1 floor is stricter, and guessing *low fidelity*
|
|
107
108
|
would authorise the redesign this rule prevents. Maturity→spec table + the pinned near-miss:
|
|
108
|
-
[`design-fidelity-mechanics § Artefact maturity`](../
|
|
109
|
+
[`design-fidelity-mechanics § Artefact maturity`](../guidelines/design-fidelity-mechanics.md).
|
|
109
110
|
|
|
110
111
|
## Strictness — set by `design.fidelity_mode`
|
|
111
112
|
|
|
@@ -120,6 +121,12 @@ design.fidelity_mode` reports the value and the file it came from.
|
|
|
120
121
|
| `structural` | Structure is locked — fonts, control types, component set, layout, no omissions still require confirmation. Where the spec is genuinely **silent** (a state it does not show: hover / empty / error), the agent may fill the gap in the spec's style and MUST state the assumption. |
|
|
121
122
|
| `hard-floor` | Any deviation from the provided design is a Hard-Floor action (per [`non-destructive-by-default`](non-destructive-by-default.md)): never autonomous; no autonomy setting, roadmap, or standing instruction lifts it. |
|
|
122
123
|
|
|
124
|
+
**Inside a configured tolerance, `strict` reports a reconciliation rather than
|
|
125
|
+
demanding a confirmation** — conditional on `design.approximation`, which ships
|
|
126
|
+
disabled with both tolerances `null`, so no default install changes. Structure,
|
|
127
|
+
and anything outside tolerance, is unchanged; `hard-floor` disables it outright:
|
|
128
|
+
[`design-reconciliation § Tolerance`](../guidelines/design-reconciliation.md).
|
|
129
|
+
|
|
123
130
|
## When it fires
|
|
124
131
|
|
|
125
132
|
A finished design artifact is provided or referenced AND the agent is building,
|
|
@@ -136,10 +143,13 @@ porting, or modifying UI to match it.
|
|
|
136
143
|
Matching is plain lower-cased substring containment on the prompt, plus fnmatch
|
|
137
144
|
over the open files. Three handover classes must reach this rule: an English
|
|
138
145
|
phrasing, a German one, and a prompt carrying **no** keyword at all because the
|
|
139
|
-
artifact is simply attached. The last is covered by
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
146
|
+
artifact is simply attached. The last is covered by two file patterns:
|
|
147
|
+
`*design.html`, the conventional handover filename, and `*.dc.html`, the Claude
|
|
148
|
+
Design canvas artboard — which `*design.html` cannot match, because it compiles
|
|
149
|
+
to `^(?:.*design\.html)$` and `ToDo.dc.html` does not end in `design.html`.
|
|
150
|
+
Neither is `*.html`, which would fire on every HTML edit in every project and be
|
|
151
|
+
strictly worse than the gap it closes; `near-plain-html-open-file` pins that
|
|
152
|
+
form silent. A handover under some other filename needs one word in the prompt.
|
|
143
153
|
|
|
144
154
|
Two further handover shapes carry the artifact without any of the above:
|
|
145
155
|
|
|
@@ -153,43 +163,23 @@ Two further handover shapes carry the artifact without any of the above:
|
|
|
153
163
|
vendor-scoped directory, never a bare `design-system/`, which is a normal
|
|
154
164
|
source folder in a large fraction of frontend repos.
|
|
155
165
|
- **A third-party builder's share link — UNCOVERED, deliberately.** A page built
|
|
156
|
-
in Lovable / v0 / bolt and handed over as a link is a finished spec
|
|
157
|
-
rule does not route it
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
handover-word co-occurrence the matcher cannot express today. Until then the
|
|
167
|
-
class needs one word in the prompt, like any other unlisted filename.
|
|
168
|
-
`near-bare-host-mention` in the matrix pins the bare-host direction silent so
|
|
169
|
-
a future attempt cannot reintroduce the broad form unnoticed.
|
|
170
|
-
|
|
171
|
-
The trigger set is deliberately phrase-heavy on the German side and on
|
|
172
|
-
`artifact`: a bare `artifact` keyword fires on "the CI build artifact is 40 MB".
|
|
173
|
-
`ROUTING_MATRIX` in
|
|
174
|
-
[`design_fidelity_routing.test.ts`](../../tests/scripts/design_fidelity_routing.test.ts)
|
|
175
|
-
pins both halves — every class that must route, and the near-misses that must
|
|
176
|
-
stay silent (fixture `daf-port-trigger-de`). Extending the set without adding a
|
|
177
|
-
near-miss row there is how an over-broad trigger lands: each of the two shipped
|
|
178
|
-
trigger classes above carries its own near-miss row
|
|
179
|
-
(`near-claude-ai-chat-link`, `near-generic-design-system-dir`), and the
|
|
180
|
-
withdrawn builder-URL class left `near-bare-host-mention` behind so the broad
|
|
181
|
-
form stays pinned silent.
|
|
166
|
+
in Lovable / v0 / bolt and handed over as a link is a finished spec and this
|
|
167
|
+
rule does not route it; the trigger was tried and withdrawn as over-broad.
|
|
168
|
+
Until then the class needs one word in the prompt. Why, what closes it, and
|
|
169
|
+
the row that pins the broad form silent:
|
|
170
|
+
[`design-fidelity-routing`](../guidelines/design-fidelity-routing.md).
|
|
171
|
+
|
|
172
|
+
Every class here carries its own near-miss row in `ROUTING_MATRIX`
|
|
173
|
+
([`design_fidelity_routing.test.ts`](../../tests/scripts/design_fidelity_routing.test.ts));
|
|
174
|
+
extending the set without one is how an over-broad trigger lands. Which row, and
|
|
175
|
+
why: [`design-fidelity-routing`](../guidelines/design-fidelity-routing.md).
|
|
182
176
|
|
|
183
177
|
**The near-miss must test the direction the new trigger opens, not a direction
|
|
184
|
-
that was already closed
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
`
|
|
189
|
-
and it exists only because a review asked for it after the trigger had already
|
|
190
|
-
shipped. Write that row first next time; it is the cheap half.
|
|
191
|
-
|
|
192
|
-
Body migrated to [`guideline:design-fidelity-mechanics`](../docs/guidelines/design-fidelity-mechanics.md) (per P4 of `road-to-kernel-and-router.md`) — URL / live-page handover (extraction into the `design-system.json` contract before the first UI write, the retrieval order, the lock boundary), surgical visual edits (targeted-edit vs redesign-trigger discipline, stable anchors), asset & imagery discipline (owned-asset path, third-party delivery is self-hosted by default, real-imagery-as-proof, iconography floor, no unrequested filler), deviation-surfacing shape, failure-mode catalog, `daf-*` fixtures.
|
|
178
|
+
that was already closed** — apply this before writing a trigger, not after. The
|
|
179
|
+
worked example and the review that produced the rule:
|
|
180
|
+
[`design-fidelity-routing`](../guidelines/design-fidelity-routing.md).
|
|
181
|
+
|
|
182
|
+
Body migrated to [`guideline:design-fidelity-mechanics`](../guidelines/design-fidelity-mechanics.md) (per P4 of `road-to-kernel-and-router.md`) — URL / live-page handover (extraction into the `design-system.json` contract before the first UI write, the retrieval order, the lock boundary), surgical visual edits (targeted-edit vs redesign-trigger discipline, stable anchors), asset & imagery discipline (owned-asset path, third-party delivery is self-hosted by default, real-imagery-as-proof, iconography floor, no unrequested filler), deviation-surfacing shape, failure-mode catalog, `daf-*` fixtures.
|
|
193
183
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
194
184
|
|
|
195
185
|
## See also
|
|
@@ -30,7 +30,7 @@ THE MORE LOAD-BEARING THE CLAIM, THE HARDER YOU VERIFY.
|
|
|
30
30
|
WHEN VERIFICATION IS NOT WORTH THE COST → ASK.
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Severity tiers, per-tier verification actions, "just guess" override, **no duration estimates**, and **never cite the rule** when declining: [`asking-and-brevity-examples`](../
|
|
33
|
+
Severity tiers, per-tier verification actions, "just guess" override, **no duration estimates**, and **never cite the rule** when declining: [`asking-and-brevity-examples`](../guidelines/agent-infra/asking-and-brevity-examples.md).
|
|
34
34
|
|
|
35
35
|
**Live-state facts — never from memory.** Git/PR merge/branch/sync/existence state is High-severity and decays silently (branch already merged, PR already closed, `main` already ahead). NEVER assert "merged / not merged / pending / still open / already in `main` / out of scope" — or any branch/sync/existence claim — from memory, a roadmap note, an earlier turn, or a recalled memory. Run the live check FIRST (`git log --first-parent origin/main`, `git branch -r --contains <ref>`, `gh pr view <n> --json state,mergedAt,baseRefName`); a state question is self-answering (per [`git-workflow`](../skills/git-workflow/SKILL.md)). Same for any external system that changes behind you (CI run, deploy, remote queue).
|
|
36
36
|
|
|
@@ -57,6 +57,6 @@ Never overrides `user-interaction` (numbered options) or command steps. Reply-cl
|
|
|
57
57
|
|
|
58
58
|
## Failure modes & examples
|
|
59
59
|
|
|
60
|
-
Triggers + corrections: [`asking-and-brevity-examples`](../
|
|
60
|
+
Triggers + corrections: [`asking-and-brevity-examples`](../guidelines/agent-infra/asking-and-brevity-examples.md). Wrong/right/why: [`direct-answers-demos`](../guidelines/agent-infra/direct-answers-demos.md). Baseline: [`tests/golden/outcomes/direct_answers.json`](../../tests/golden/outcomes/direct_answers.json).
|
|
61
61
|
|
|
62
62
|
Cross-rule index: [`frugality-charter`](../contexts/contracts/frugality-charter.md).
|
|
@@ -48,7 +48,7 @@ replace the gate evidence. Any gate not citeable → **defer** + a watch-only
|
|
|
48
48
|
note under `agents/settings/contexts/domain-watch/<domain>.md`; never silently
|
|
49
49
|
shrink scope to dodge a gate.
|
|
50
50
|
|
|
51
|
-
Body migrated to [`guideline:agent-infra/domain-adoption-gates`](../
|
|
51
|
+
Body migrated to [`guideline:agent-infra/domain-adoption-gates`](../guidelines/agent-infra/domain-adoption-gates.md) (per P4 of `road-to-kernel-and-router.md`) — per-gate evidence bars (demand signal, named owner + cadence, CI-vs-reference-only), the sunset policy, the failure-mode catalog, the gates-fail procedure, and the allowed-without-gates list.
|
|
52
52
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
53
53
|
|
|
54
54
|
## See also
|
|
@@ -139,7 +139,7 @@ review ran as if it were verified.
|
|
|
139
139
|
Why each branch behaves that way, the phrase-list and turn-boundary limits, the
|
|
140
140
|
four host states, the two corrections this section has taken, and the
|
|
141
141
|
11-of-19 measurement behind item 3:
|
|
142
|
-
[`evaluator-independence-mechanics`](../
|
|
142
|
+
[`evaluator-independence-mechanics`](../guidelines/agent-infra/evaluator-independence-mechanics.md).
|
|
143
143
|
|
|
144
144
|
## See also
|
|
145
145
|
|
|
@@ -83,7 +83,7 @@ Framework names in a generic artifact appear only as **multi-stack peers**
|
|
|
83
83
|
mandated procedure. `scripts/lint_framework_leakage.ts` is the deterministic
|
|
84
84
|
CI backstop (exit 1 on a non-allowlisted hit in a generic artifact).
|
|
85
85
|
|
|
86
|
-
Body migrated to [`guideline:agent-infra/framework-neutrality-patterns`](../
|
|
86
|
+
Body migrated to [`guideline:agent-infra/framework-neutrality-patterns`](../guidelines/agent-infra/framework-neutrality-patterns.md) (per P4 of `road-to-kernel-and-router.md`) — the 10-row forbidden-pattern table with fixes, the cross-stack documentation allowance + auto-detect heuristic, the carve-out pointer shape, and the linter exit-code contract.
|
|
87
87
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
88
88
|
|
|
89
89
|
## See also
|
|
@@ -44,12 +44,16 @@ Any of the trigger keywords appear in a UI-building context: new component, new
|
|
|
44
44
|
|
|
45
45
|
## When NOT to fire
|
|
46
46
|
|
|
47
|
+
- **An icon traceable to a provided design artifact.** A faithful port
|
|
48
|
+
reproduces the handover's own icons; one traceable to neither the icon set nor
|
|
49
|
+
a named artifact still fires. A new rung below the brand token, never a
|
|
50
|
+
re-ordering: [`design-reconciliation § Icons on a provided artifact`](../guidelines/design-reconciliation.md).
|
|
47
51
|
- The project's brand guide explicitly defines multiple icon sets for distinct contexts (e.g., filled icons for navigation, outlined for inline text).
|
|
48
52
|
- The task is documentation or a non-UI surface (scripts, CLI output, markdown).
|
|
49
53
|
- The user explicitly scopes to "just explore options" without committing to a UI change.
|
|
50
54
|
|
|
51
55
|
## See also
|
|
52
56
|
|
|
53
|
-
- [`design-canon.md`](../
|
|
57
|
+
- [`design-canon.md`](../guidelines/design-canon.md) § Icon systems — when a named design system is in play, prefer its icon set over a fresh Iconify pick.
|
|
54
58
|
- [`iconography`](../skills/iconography/SKILL.md) — full icon-system selection, audit, and migration workflow.
|
|
55
59
|
- [`ui-audit-gate`](ui-audit-gate.md) — broader UI consistency gate; runs before any new component lands.
|
|
@@ -56,7 +56,7 @@ Run, in order: **1. Is the request clear?** · **2. Does it fit the existing arc
|
|
|
56
56
|
|
|
57
57
|
Verification stays concrete — a `curl` probe against the endpoint, a Playwright spec, an `xdebug` step-through, or the project's test runner with a targeted filter — never a from-memory assertion (full section in the guideline below).
|
|
58
58
|
|
|
59
|
-
Body migrated to [`guideline:agent-infra/agent-interaction-and-decision-quality` § 8](../
|
|
59
|
+
Body migrated to [`guideline:agent-infra/agent-interaction-and-decision-quality` § 8](../guidelines/agent-infra/agent-interaction-and-decision-quality.md#8-improve-before-implement--pre-implementation-validation) (per P4 of `road-to-kernel-and-router.md`) — the three checks' detail, how-to-challenge example, scope limits, verify-with-concrete-tools, RDP intent-inference.
|
|
60
60
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
61
61
|
|
|
62
62
|
## The golden rule
|
|
@@ -40,7 +40,7 @@ Stays source-language: code blocks, command output, file contents, quoted tool o
|
|
|
40
40
|
1. **Detect** — language of last chat message. Mixed → dominant; tie → German.
|
|
41
41
|
2. **Scan** — every user-visible token per catalog.
|
|
42
42
|
3. **Rewrite** — one wrong-language token → rewrite whole reply.
|
|
43
|
-
4. **Confirm** — first sentence in target language; recommendation label matches; no wrong-language filler opener. Blocklist: [`language-and-tone-examples`](../
|
|
43
|
+
4. **Confirm** — first sentence in target language; recommendation label matches; no wrong-language filler opener. Blocklist: [`language-and-tone-examples`](../guidelines/agent-infra/language-and-tone-examples.md).
|
|
44
44
|
|
|
45
45
|
## Spelled out
|
|
46
46
|
|
|
@@ -53,7 +53,7 @@ Stays source-language: code blocks, command output, file contents, quoted tool o
|
|
|
53
53
|
|
|
54
54
|
Acknowledge **once**, correct language ("Entschuldigung" / "Sorry"), switch in the same reply. No wrong-language re-explain; no "from now on" promise.
|
|
55
55
|
|
|
56
|
-
Examples + CLI spacing rules + wrong-vs-correct: [`language-and-tone-examples`](../
|
|
56
|
+
Examples + CLI spacing rules + wrong-vs-correct: [`language-and-tone-examples`](../guidelines/agent-infra/language-and-tone-examples.md).
|
|
57
57
|
|
|
58
58
|
## `.md` files — ALWAYS English
|
|
59
59
|
|
|
@@ -61,4 +61,4 @@ All `.md` text under `src/`, `docs/`, `.augment/`, `dist/agent-src/`, `.agent-sr
|
|
|
61
61
|
|
|
62
62
|
Genuinely-required German → one of the two sanctioned escapes (labeled `DE: … · EN: …` anchor, or per-line `<!-- md-language-check: ignore -->` marker) — canonical mechanics in the guideline below.
|
|
63
63
|
|
|
64
|
-
Generated-output rule, escape mechanics, pre-save detection heuristic: [`language-and-tone-examples`](../
|
|
64
|
+
Generated-output rule, escape mechanics, pre-save detection heuristic: [`language-and-tone-examples`](../guidelines/agent-infra/language-and-tone-examples.md).
|
|
@@ -78,7 +78,7 @@ Your diff cleans up exactly the mess it made — nothing more:
|
|
|
78
78
|
own-orphan (delete); otherwise → note. (`downstream-changes` runs the same
|
|
79
79
|
sweep for renames — this is that sweep applied to the new diff.)
|
|
80
80
|
|
|
81
|
-
Body migrated to [`guideline:agent-infra/minimal-safe-diff-mechanics`](../
|
|
81
|
+
Body migrated to [`guideline:agent-infra/minimal-safe-diff-mechanics`](../guidelines/agent-infra/minimal-safe-diff-mechanics.md) (per P4 of `road-to-kernel-and-router.md`) — larger-change guidance, auto-formatter hunk handling, anti-over-engineering criteria (premature abstraction, speculative features, rewrite trigger, no tombstones + the council's rejected trust-internal-code clause), break-glass exception, and the full bounded-remediation carve-out prose (five conditions summarized: same path/module, ≤ ~10 lines, no API change, no dependency/migration, verification in the same commit — everything outside is note + ask per `active-remediation`; a live cross-user/tenant exposure is the sole interrupt).
|
|
82
82
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
83
83
|
|
|
84
84
|
## See also
|
|
@@ -24,11 +24,8 @@ obligation_frequency: "per-turn"
|
|
|
24
24
|
# Notes-First Reasoning
|
|
25
25
|
|
|
26
26
|
Part of the Reasoning Discipline Protocol. Engage per
|
|
27
|
-
[`rdp-gate`](../contexts/execution/rdp-gate.md)
|
|
28
|
-
|
|
29
|
-
host. The notes file is grounded in the documented cross-run lessons memory
|
|
30
|
-
(consolidated via [`memory-consolidation`](../skills/memory-consolidation/SKILL.md));
|
|
31
|
-
the in-task sections below are a local derivation for within-task scope.
|
|
27
|
+
[`rdp-gate`](../contexts/execution/rdp-gate.md) — skip on trivial tasks, apply
|
|
28
|
+
lightly on a strong-reasoning host.
|
|
32
29
|
|
|
33
30
|
## The Iron Law
|
|
34
31
|
|
|
@@ -38,36 +35,50 @@ NOTES FILE — NEVER ECHOED INTO THE RESPONSE.
|
|
|
38
35
|
THE RESPONSE CARRIES CONCLUSIONS + EVIDENCE ONLY.
|
|
39
36
|
```
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
This is not "show your work in the reply" — it is the opposite. Why, and what
|
|
39
|
+
grounds the notes file:
|
|
40
|
+
[`notes-horizon-mechanics`](../guidelines/agent-infra/notes-horizon-mechanics.md).
|
|
44
41
|
|
|
45
42
|
## Notes file structure (the file, not the response)
|
|
46
43
|
|
|
47
|
-
Use the sections that apply
|
|
48
|
-
no "write N hypotheses" instruction — record what the work actually surfaced.
|
|
44
|
+
Use the sections that apply — record what the work actually surfaced.
|
|
49
45
|
|
|
50
46
|
- `## In-Task Hypothesis Log` — competing explanations under consideration.
|
|
51
|
-
- `## Killed beliefs` — each discarded hypothesis + the
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- `## Decisions` — decision · alternatives · reason · revisit-if
|
|
55
|
-
|
|
56
|
-
[`decision-record`](../skills/decision-record/SKILL.md)/ADR** when
|
|
57
|
-
|
|
58
|
-
next month need this context?).
|
|
47
|
+
- `## Killed beliefs` — each discarded hypothesis + the `killed-if` that killed
|
|
48
|
+
it.
|
|
49
|
+
- `## Predictions` — **chosen form** · prediction · confidence · result · lesson.
|
|
50
|
+
- `## Decisions` — decision · alternatives · reason · revisit-if ·
|
|
51
|
+
**next-commitment**. Tactical decisions stay here; **escalate to
|
|
52
|
+
[`decision-record`](../skills/decision-record/SKILL.md)/ADR** when cross-task
|
|
53
|
+
or architectural.
|
|
59
54
|
- `## Uncertainty` — per-dimension score (e.g. architecture/implementation/
|
|
60
55
|
requirements: high/medium/low); feeds the adaptive-effort decision.
|
|
61
56
|
|
|
57
|
+
### The horizon — where `next-commitment` ends
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
A CHOICE AUTHORISES WORK UP TO THE NEXT EVIDENCE-PRODUCING BOUNDARY.
|
|
61
|
+
NAME THE BOUNDARY FROM THE LIST. NEVER "THE WORK THE EVIDENCE SUPPORTS" —
|
|
62
|
+
THAT IS A JUDGEMENT, AND A JUDGEMENT IS NOT A HORIZON.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Reopening — once, on contradiction, never on a schedule
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
AN OBSERVATION THAT CONTRADICTS THE PREDICTION REOPENS THE CHOICE BEFORE THE
|
|
69
|
+
NEXT STEP — FROM THE CANDIDATE LIST THAT ALREADY EXISTS, NEVER A FRESH
|
|
70
|
+
ENUMERATION. ONE REOPEN PER CANDIDATE. THE SECOND CONTRADICTION HANDS OVER TO
|
|
71
|
+
THE RETRY-BUDGET LADDER RATHER THAN REOPENING AGAIN.
|
|
72
|
+
```
|
|
73
|
+
|
|
62
74
|
## What stays out of notes
|
|
63
75
|
|
|
64
|
-
User-attribute facts, transient TODOs, and durable cross-run lessons
|
|
65
|
-
|
|
76
|
+
User-attribute facts, transient TODOs, and durable cross-run lessons go to the
|
|
77
|
+
memory system (`memory-consolidation`), not the in-task notes.
|
|
66
78
|
|
|
67
79
|
## See also
|
|
68
80
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
response carries comes from real tool results.
|
|
81
|
+
[`notes-horizon-mechanics`](../guidelines/agent-infra/notes-horizon-mechanics.md)
|
|
82
|
+
— every mechanic this rule points at. Also
|
|
83
|
+
[`rdp-gate`](../contexts/execution/rdp-gate.md) and
|
|
84
|
+
[`verify-before-complete`](verify-before-complete.md).
|
|
@@ -75,7 +75,7 @@ resolution naming none of them is an unresolved recurrence.
|
|
|
75
75
|
**Look up the earlier disposition before re-deriving anything, and name the store
|
|
76
76
|
you checked** — addresses, the mechanism-is-the-defect classification, the
|
|
77
77
|
hardening floor and the failure modes are in
|
|
78
|
-
[`recurring-criticism-mechanics`](../
|
|
78
|
+
[`recurring-criticism-mechanics`](../guidelines/agent-infra/recurring-criticism-mechanics.md).
|
|
79
79
|
One line does not migrate, because acting on it wrong is silent: rejections live in
|
|
80
80
|
analysis prose by design, so "I found nothing" means *prose was grepped*, never
|
|
81
81
|
*nothing was decided*.
|
|
@@ -97,7 +97,7 @@ in the estate?**
|
|
|
97
97
|
*whether the work happens*; only fix-now discharges it, and a carried item
|
|
98
98
|
untouched at the next task boundary is raised again per
|
|
99
99
|
[`active-remediation`](active-remediation.md). Provenance and the argument:
|
|
100
|
-
[`roadmap-deferred-resolution-provenance`](../
|
|
100
|
+
[`roadmap-deferred-resolution-provenance`](../guidelines/agent-infra/roadmap-deferred-resolution-provenance.md).
|
|
101
101
|
|
|
102
102
|
### `deferred_policy` — a declared contract removes the round, never the route
|
|
103
103
|
|
|
@@ -17,7 +17,7 @@ obligation_frequency: "per-turn"
|
|
|
17
17
|
|
|
18
18
|
Auto-activates when `.agent-settings.yml` sets `roles.active_role` to
|
|
19
19
|
one of the six modes defined in
|
|
20
|
-
[`role-contracts`](../
|
|
20
|
+
[`role-contracts`](../guidelines/agent-infra/role-contracts.md):
|
|
21
21
|
`developer`, `reviewer`, `tester`, `po`, `incident`, `planner`.
|
|
22
22
|
|
|
23
23
|
Read `roles.active_role` from `.agent-settings.yml` at session start — the project layer of a cascade that starts user-global, so use `agent-config settings:get roles.active_role`, which reports the value and the file it came from, rather than opening one file. Empty / missing → rule is inert; do NOT guess a mode.
|
|
@@ -54,7 +54,7 @@ Infer the mode (Phase-3 router does that). Touch `.agent-settings.yml`
|
|
|
54
54
|
|
|
55
55
|
## See also
|
|
56
56
|
|
|
57
|
-
- [`role-contracts`](../
|
|
57
|
+
- [`role-contracts`](../guidelines/agent-infra/role-contracts.md)
|
|
58
58
|
- [`/mode`](../commands/mode.md)
|
|
59
59
|
- [`ask-when-uncertain`](ask-when-uncertain.md)
|
|
60
60
|
- [`scope-control`](scope-control.md)
|
|
@@ -79,7 +79,7 @@ Run the matching analysis skill first:
|
|
|
79
79
|
| Wide refactor of security-sensitive code | `blast-radius-analyzer` |
|
|
80
80
|
|
|
81
81
|
**Before running the analysis, consult memory for prior incidents** on
|
|
82
|
-
this surface. Via [`memory-access`](../
|
|
82
|
+
this surface. Via [`memory-access`](../guidelines/agent-infra/memory-access.md):
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
85
|
agent-config memory:lookup \
|
|
@@ -36,7 +36,7 @@ real, sourced entries** per skill.
|
|
|
36
36
|
- Rules and system instructions should stay well below 200 lines
|
|
37
37
|
- Smaller (≈60 lines) is strongly preferred
|
|
38
38
|
|
|
39
|
-
→ Size limits and details: `../
|
|
39
|
+
→ Size limits and details: `../guidelines/agent-infra/size-and-scope.md`
|
|
40
40
|
|
|
41
41
|
→ Frontmatter contract: schemas live in `scripts/schemas/` and are enforced by
|
|
42
42
|
`./scripts-run src/scripts/validate_frontmatter`.
|
|
@@ -98,14 +98,14 @@ path trigger to match, and a path-scoped rule is not re-injected after
|
|
|
98
98
|
measurement, the AI-council record of 2026-08-20, the three rejected
|
|
99
99
|
alternatives and the +3,512-token cost this shared note carries for four rules
|
|
100
100
|
live in
|
|
101
|
-
[`source-confidentiality-mechanics`](../
|
|
101
|
+
[`source-confidentiality-mechanics`](../guidelines/agent-infra/source-confidentiality-mechanics.md)
|
|
102
102
|
§ Why these four rules are unconditional — moved there 2026-08-29 because a
|
|
103
103
|
rationale paid on every subagent spawn is the most expensive place to keep an
|
|
104
104
|
argument nobody re-reads.
|
|
105
105
|
|
|
106
106
|
## See also
|
|
107
107
|
|
|
108
|
-
- [`source-confidentiality-mechanics`](../
|
|
108
|
+
- [`source-confidentiality-mechanics`](../guidelines/agent-infra/source-confidentiality-mechanics.md) — the claim/residual honesty clause, the two-class split by path, and the gate's shape checks and tiering.
|
|
109
109
|
- [`source-of-truth`](source-of-truth.md) — edit `src/`, never the projections.
|
|
110
110
|
- [`augment-edit-discipline`](augment-edit-discipline.md) — portability + cross-ref sync.
|
|
111
111
|
- `src/scripts/_lib/link_crypto.ts` — encrypted link storage.
|
|
@@ -45,7 +45,7 @@ NO BLIND TRIAL-AND-ERROR. MAX 2 RETRIES PER APPROACH.
|
|
|
45
45
|
- Unclear requirements → precise clarification question, not hidden assumptions.
|
|
46
46
|
- Refactors must preserve behavior, validation, examples, and anti-failure guidance unless explicitly changed.
|
|
47
47
|
- Do NOT modify code you do not fully understand — read it, trace the flow, then change it.
|
|
48
|
-
- Multiple valid frameworks/patterns coexist (Tailwind + Flux, multiple form libs, competing state stores) → do NOT pick one silently — ask. See [`no blind implementation`](../
|
|
48
|
+
- Multiple valid frameworks/patterns coexist (Tailwind + Flux, multiple form libs, competing state stores) → do NOT pick one silently — ask. See [`no blind implementation`](../guidelines/agent-infra/agent-interaction-and-decision-quality.md#2-no-blind-implementation).
|
|
49
49
|
|
|
50
50
|
## The intent line, before a behaviour-changing edit
|
|
51
51
|
|
|
@@ -101,11 +101,13 @@ content — size, then a structural grep for the offsets that matter, then a
|
|
|
101
101
|
ranged read of those offsets. Below it, just read it: a probe you did not need
|
|
102
102
|
costs a call and teaches nothing.
|
|
103
103
|
|
|
104
|
-
The number is a **stated default, not a measured optimum
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
the
|
|
104
|
+
The number is a **stated default, not a measured optimum**; its `revisit-if`
|
|
105
|
+
lives in the mechanics file below.
|
|
106
|
+
|
|
107
|
+
**Carve-out — a provided design artifact.** A handover is routinely thousands of
|
|
108
|
+
lines and reading it whole IS the task, not a probe target. Before the threshold
|
|
109
|
+
above applies, declare the read per
|
|
110
|
+
[`context-hygiene`](context-hygiene.md) § Declared read protocol.
|
|
109
111
|
|
|
110
112
|
Additive: the repetition discriminator above is untouched, an enumerated
|
|
111
113
|
multi-file sweep stays ONE operation, and re-probing a file whose shape you
|
|
@@ -123,8 +123,9 @@ limits, because naming a script is not the same as closing the gap:
|
|
|
123
123
|
`post_tool_use`.
|
|
124
124
|
|
|
125
125
|
Run [`existing-ui-audit`](../skills/existing-ui-audit/SKILL.md) before adding a
|
|
126
|
-
component because reuse beats duplication
|
|
127
|
-
|
|
126
|
+
component because reuse beats duplication — **except against a provided
|
|
127
|
+
artifact, where it is conditional on the candidate conforming** (that skill
|
|
128
|
+
§ 6b). What changed is that a check can now catch you — on a host that binds the slot, with the setting on, and not on the
|
|
128
129
|
very first file of a new surface.
|
|
129
130
|
|
|
130
131
|
**A runtime carrier now exists, and it does not change the verdict.** The
|
|
@@ -79,14 +79,14 @@ inflation, so none is counted.
|
|
|
79
79
|
hook that cannot refuse does not enforce. This section used to say no such
|
|
80
80
|
backstop existed and that a future one would change the field — the first half
|
|
81
81
|
is now false, the second always was. Detail:
|
|
82
|
-
[`untrusted-input-spotlighting § The content-scanning hook`](../
|
|
82
|
+
[`untrusted-input-spotlighting § The content-scanning hook`](../guidelines/agent-infra/untrusted-input-spotlighting.md).
|
|
83
83
|
|
|
84
|
-
Body migrated to [`guideline:agent-infra/untrusted-input-spotlighting`](../
|
|
84
|
+
Body migrated to [`guideline:agent-infra/untrusted-input-spotlighting`](../guidelines/agent-infra/untrusted-input-spotlighting.md) (per P4 of `road-to-kernel-and-router.md`) — runtime defense protocol (separate / spotlight / refuse role-takeover / no silent egress / untrusted agent-instruction files), hidden-instruction awareness (invisible Unicode + confusables), injection-signal taxonomy, least-agency → existing-gate OWASP mapping.
|
|
85
85
|
Trigger-set above activates this routing on demand, independent of the discipline profile (ADR-110).
|
|
86
86
|
|
|
87
87
|
## See also
|
|
88
88
|
|
|
89
|
-
- [`untrusted-input-spotlighting`](../
|
|
89
|
+
- [`untrusted-input-spotlighting`](../guidelines/agent-infra/untrusted-input-spotlighting.md) — spotlighting/datamarking + OWASP LLM01/LLM06 mapping + the migrated body.
|
|
90
90
|
- [`delegation-policy`](delegation-policy.md) — delegation authority; the found-instructions quarantine is where a container-delegation's scope ends.
|
|
91
91
|
- [`lethal-trifecta-guard`](lethal-trifecta-guard.md) — break one leg of the trifecta.
|
|
92
92
|
- [`security-sensitive-stop`](security-sensitive-stop.md), [`threat-modeling`](../skills/threat-modeling/SKILL.md), [`security-audit`](../skills/security-audit/SKILL.md).
|