@event4u/agent-config 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/commands/bug-fix.md +1 -1
- package/.agent-src/commands/bug-investigate.md +2 -2
- package/.agent-src/commands/chat-history-checkpoint.md +1 -1
- package/.agent-src/commands/chat-history-clear.md +1 -1
- package/.agent-src/commands/chat-history.md +1 -1
- package/.agent-src/commands/check-current-md.md +1 -1
- package/.agent-src/commands/council-design.md +96 -0
- package/.agent-src/commands/council-optimize.md +115 -0
- package/.agent-src/commands/council-pr.md +123 -0
- package/.agent-src/commands/council.md +219 -0
- package/.agent-src/commands/create-pr.md +23 -0
- package/.agent-src/commands/do-and-judge.md +3 -3
- package/.agent-src/commands/do-in-steps.md +4 -4
- package/.agent-src/commands/e2e-heal.md +1 -1
- package/.agent-src/commands/e2e-plan.md +1 -1
- package/.agent-src/commands/feature-dev.md +8 -0
- package/.agent-src/commands/feature-explore.md +6 -1
- package/.agent-src/commands/feature-plan.md +33 -2
- package/.agent-src/commands/feature-refactor.md +5 -0
- package/.agent-src/commands/feature-roadmap.md +6 -1
- package/.agent-src/commands/feature.md +58 -0
- package/.agent-src/commands/fix-ci.md +5 -0
- package/.agent-src/commands/fix-portability.md +5 -0
- package/.agent-src/commands/fix-pr-bot-comments.md +5 -0
- package/.agent-src/commands/fix-pr-comments.md +5 -0
- package/.agent-src/commands/fix-pr-developer-comments.md +5 -0
- package/.agent-src/commands/fix-references.md +5 -0
- package/.agent-src/commands/fix-seeder.md +5 -0
- package/.agent-src/commands/fix.md +60 -0
- package/.agent-src/commands/jira-ticket.md +1 -1
- package/.agent-src/commands/judge.md +1 -1
- package/.agent-src/commands/memory-add.md +3 -3
- package/.agent-src/commands/memory-full.md +2 -2
- package/.agent-src/commands/memory-promote.md +2 -2
- package/.agent-src/commands/mode.md +5 -5
- package/.agent-src/commands/onboard.md +3 -3
- package/.agent-src/commands/optimize-agents.md +6 -1
- package/.agent-src/commands/optimize-augmentignore.md +5 -0
- package/.agent-src/commands/optimize-rtk-filters.md +5 -0
- package/.agent-src/commands/optimize-skills.md +6 -1
- package/.agent-src/commands/optimize.md +54 -0
- package/.agent-src/commands/propose-memory.md +2 -2
- package/.agent-src/commands/review-changes.md +26 -1
- package/.agent-src/commands/review-routing.md +1 -1
- package/.agent-src/commands/roadmap-create.md +29 -2
- package/.agent-src/commands/set-cost-profile.md +3 -3
- package/.agent-src/commands/sync-agent-settings.md +2 -2
- package/.agent-src/commands/tests-create.md +1 -1
- package/.agent-src/commands/upstream-contribute.md +1 -1
- package/.agent-src/contexts/authority/commit-mechanics.md +57 -0
- package/.agent-src/contexts/authority/destructive-mechanics.md +66 -0
- package/.agent-src/contexts/authority/scope-mechanics.md +87 -0
- package/.agent-src/contexts/execution/autonomy-detection.md +54 -0
- package/.agent-src/contexts/execution/autonomy-examples.md +90 -0
- package/.agent-src/contexts/execution/autonomy-mechanics.md +29 -0
- package/.agent-src/contexts/execution/verification-mechanics.md +80 -0
- package/.agent-src/personas/README.md +1 -1
- package/.agent-src/rules/agent-authority.md +24 -0
- package/.agent-src/rules/architecture.md +1 -1
- package/.agent-src/rules/artifact-drafting-protocol.md +1 -1
- package/.agent-src/rules/artifact-engagement-recording.md +1 -1
- package/.agent-src/rules/ask-when-uncertain.md +1 -1
- package/.agent-src/rules/autonomous-execution.md +78 -114
- package/.agent-src/rules/capture-learnings.md +1 -1
- package/.agent-src/rules/chat-history-cadence.md +3 -3
- package/.agent-src/rules/chat-history-ownership.md +3 -3
- package/.agent-src/rules/chat-history-visibility.md +3 -3
- package/.agent-src/rules/{command-suggestion.md → command-suggestion-policy.md} +7 -7
- package/.agent-src/rules/commit-conventions.md +1 -1
- package/.agent-src/rules/commit-policy.md +14 -42
- package/.agent-src/rules/context-hygiene.md +3 -3
- package/.agent-src/rules/direct-answers.md +1 -1
- package/.agent-src/rules/docs-sync.md +1 -1
- package/.agent-src/rules/e2e-testing.md +1 -1
- package/.agent-src/rules/guidelines.md +4 -4
- package/.agent-src/rules/improve-before-implement.md +2 -2
- package/.agent-src/rules/language-and-tone.md +37 -96
- package/.agent-src/rules/minimal-safe-diff.md +3 -3
- package/.agent-src/rules/model-recommendation.md +4 -4
- package/.agent-src/rules/no-cheap-questions.md +89 -0
- package/.agent-src/rules/non-destructive-by-default.md +15 -49
- package/.agent-src/rules/onboarding-gate.md +5 -5
- package/.agent-src/rules/review-routing-awareness.md +9 -9
- package/.agent-src/rules/roadmap-progress-sync.md +26 -33
- package/.agent-src/rules/role-mode-adherence.md +2 -2
- package/.agent-src/rules/scope-control.md +65 -46
- package/.agent-src/rules/security-sensitive-stop.md +2 -2
- package/.agent-src/rules/size-enforcement.md +1 -1
- package/.agent-src/rules/think-before-action.md +5 -5
- package/.agent-src/rules/token-efficiency.md +4 -4
- package/.agent-src/rules/{ui-audit-before-build.md → ui-audit-gate.md} +3 -3
- package/.agent-src/rules/user-interaction.md +3 -3
- package/.agent-src/rules/verify-before-complete.md +12 -67
- package/.agent-src/scripts/update_roadmap_progress.py +9 -4
- package/.agent-src/skills/ai-council/SKILL.md +333 -0
- package/.agent-src/skills/api-endpoint/SKILL.md +2 -2
- package/.agent-src/skills/blade-ui/SKILL.md +1 -1
- package/.agent-src/skills/blast-radius-analyzer/SKILL.md +1 -1
- package/.agent-src/skills/bug-analyzer/SKILL.md +1 -1
- package/.agent-src/skills/command-routing/SKILL.md +1 -1
- package/.agent-src/skills/command-writing/SKILL.md +1 -1
- package/.agent-src/skills/conventional-commits-writing/SKILL.md +1 -1
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +2 -2
- package/.agent-src/skills/developer-like-execution/SKILL.md +2 -2
- package/.agent-src/skills/flux/SKILL.md +1 -1
- package/.agent-src/skills/git-workflow/SKILL.md +1 -1
- package/.agent-src/skills/guideline-writing/SKILL.md +11 -11
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +4 -4
- package/.agent-src/skills/livewire/SKILL.md +1 -1
- package/.agent-src/skills/override-management/SKILL.md +2 -2
- package/.agent-src/skills/php-coder/SKILL.md +1 -1
- package/.agent-src/skills/playwright-testing/SKILL.md +2 -2
- package/.agent-src/skills/readme-reviewer/SKILL.md +1 -1
- package/.agent-src/skills/readme-writing/SKILL.md +1 -1
- package/.agent-src/skills/readme-writing-package/SKILL.md +1 -1
- package/.agent-src/skills/receiving-code-review/SKILL.md +1 -1
- package/.agent-src/skills/review-routing/SKILL.md +2 -2
- package/.agent-src/skills/rule-writing/SKILL.md +1 -1
- package/.agent-src/skills/skill-reviewer/SKILL.md +1 -1
- package/.agent-src/skills/skill-writing/SKILL.md +3 -3
- package/.agent-src/skills/subagent-orchestration/SKILL.md +1 -0
- package/.agent-src/skills/systematic-debugging/SKILL.md +1 -1
- package/.agent-src/skills/upstream-contribute/SKILL.md +1 -1
- package/.agent-src/skills/validate-feature-fit/SKILL.md +2 -2
- package/.agent-src/skills/{verify-before-complete → verify-completion-evidence}/SKILL.md +2 -2
- package/.agent-src/templates/agent-settings.md +8 -8
- package/.agent-src/templates/contexts/auth-model.md +1 -1
- package/.agent-src/templates/scripts/README.md +2 -2
- package/.agent-src/templates/scripts/telemetry/aggregator.py +16 -1
- package/.agent-src/templates/scripts/telemetry/engagement.py +59 -0
- package/.agent-src/templates/scripts/telemetry/report_renderer.py +28 -1
- package/.agent-src/templates/scripts/telemetry_record.py +14 -1
- package/.claude-plugin/marketplace.json +10 -2
- package/AGENTS.md +11 -9
- package/CHANGELOG.md +123 -1
- package/README.md +28 -30
- package/config/agent-settings.template.yml +58 -1
- package/config/gitignore-block.txt +3 -0
- package/docs/architecture.md +4 -4
- package/docs/catalog.md +331 -0
- package/docs/contracts/STABILITY.md +39 -0
- package/docs/contracts/adr-command-suggestion.md +3 -3
- package/docs/contracts/adr-product-ui-track.md +2 -2
- package/docs/contracts/agent-memory-contract.md +2 -2
- package/docs/contracts/artifact-engagement-flow.md +1 -1
- package/docs/contracts/command-clusters.md +2 -2
- package/docs/contracts/command-suggestion-flow.md +3 -3
- package/docs/contracts/implement-ticket-flow.md +2 -2
- package/docs/contracts/linear-ai-rules-inclusion.md +1 -1
- package/docs/contracts/load-context-schema.md +186 -0
- package/docs/contracts/rule-interactions.yml +96 -0
- package/docs/contracts/rule-priority-hierarchy.md +87 -0
- package/docs/contracts/ui-track-flow.md +1 -1
- package/docs/customization.md +14 -0
- package/docs/end-to-end-walkthroughs.md +165 -0
- package/docs/getting-started.md +26 -8
- package/docs/github-topics.md +12 -3
- package/docs/guidelines/agent-infra/language-and-tone-examples.md +79 -0
- package/{.agent-src → docs}/guidelines/docs/readme-size-and-splitting.md +26 -25
- package/docs/guidelines/php/git.md +164 -0
- package/docs/migrations/commands-1.15.0.md +1 -1
- package/docs/showcase.md +9 -4
- package/docs/skills-catalog.md +14 -8
- package/docs/ui-track-mental-model.md +2 -2
- package/llms.txt +13 -7
- package/package.json +1 -1
- package/scripts/agent-config +23 -0
- package/scripts/ai_council/__init__.py +39 -0
- package/scripts/ai_council/_default_prices.py +41 -0
- package/scripts/ai_council/_one_off_rebalancing_audit.py +149 -0
- package/scripts/ai_council/_one_off_roundtrip.py +106 -0
- package/scripts/ai_council/budget_guard.py +172 -0
- package/scripts/ai_council/bundler.py +261 -0
- package/scripts/ai_council/clients.py +381 -0
- package/scripts/ai_council/modes.py +127 -0
- package/scripts/ai_council/orchestrator.py +350 -0
- package/scripts/ai_council/pricing.py +213 -0
- package/scripts/ai_council/project_context.py +159 -0
- package/scripts/ai_council/prompts.py +232 -0
- package/scripts/ai_council/session.py +144 -0
- package/scripts/check_always_budget.py +126 -0
- package/scripts/check_augmentignore.py +69 -0
- package/scripts/check_command_count_messaging.py +120 -0
- package/scripts/check_portability.py +55 -0
- package/scripts/check_public_catalog_links.py +122 -0
- package/scripts/check_references.py +4 -1
- package/scripts/check_roadmap_trackable.py +111 -0
- package/scripts/command_suggester/cooldown.py +1 -1
- package/scripts/generate_index.py +266 -0
- package/scripts/install_anthropic_key.sh +5 -0
- package/scripts/install_openai_key.sh +106 -0
- package/scripts/lint_load_context.py +163 -0
- package/scripts/schemas/command.schema.json +20 -0
- package/scripts/schemas/rule.schema.json +10 -0
- package/scripts/skill_linter.py +12 -4
- package/scripts/sync_agent_settings.py +1 -1
- package/scripts/update_counts.py +9 -4
- package/scripts/update_prices.py +124 -0
- package/.agent-src/guidelines/php/git.md +0 -96
- /package/.agent-src/rules/{slash-commands.md → slash-command-routing-policy.md} +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/agent-interaction-and-decision-quality.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/break-glass-usage.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/developer-judgment.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/engineering-memory-data-format.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/layered-settings.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/memory-access.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/naming.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/output-patterns.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/review-routing-data-format.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/role-contracts.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/role-mode-router.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/runtime-layer.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/self-improvement-pipeline.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/size-and-scope.md +0 -0
- /package/{.agent-src → docs}/guidelines/agent-infra/tool-integration.md +0 -0
- /package/{.agent-src → docs}/guidelines/e2e/playwright.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/api-design.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/artisan-commands.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/blade-ui.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/controllers.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/database.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/eloquent.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/flux.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/general.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/jobs.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/livewire.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/logging.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/naming.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/dependency-injection.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/dtos.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/events.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/factory.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/pipelines.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/policies.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/repositories.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/service-layer.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns/strategy.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/patterns.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/performance.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/resources.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/security.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/sql.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/validations.md +0 -0
- /package/{.agent-src → docs}/guidelines/php/websocket.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: do-in-steps
|
|
3
|
-
skills: [subagent-orchestration, verify-
|
|
3
|
+
skills: [subagent-orchestration, verify-completion-evidence]
|
|
4
4
|
description: Execute an ordered plan step by step with a judge gate between steps — stops on first failed verdict
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
suggestion:
|
|
@@ -57,7 +57,7 @@ On stop, report the last verified state so the user can resume.
|
|
|
57
57
|
|
|
58
58
|
### 5. Final verification
|
|
59
59
|
|
|
60
|
-
After step N passes judgment, run `verify-
|
|
60
|
+
After step N passes judgment, run `verify-completion-evidence` across the
|
|
61
61
|
whole changeset — targeted tests + full suite + quality pipeline.
|
|
62
62
|
Never declare the plan "done" without this gate.
|
|
63
63
|
|
|
@@ -77,11 +77,11 @@ Next step: <commit / open PR / resume from step K>
|
|
|
77
77
|
|
|
78
78
|
- Never skip a step because the next one looks easier
|
|
79
79
|
- Never apply a revised step without the judge re-verdicting
|
|
80
|
-
- Never declare complete without final `verify-
|
|
80
|
+
- Never declare complete without final `verify-completion-evidence`
|
|
81
81
|
- A failing step never cascades silently — stop, report, hand back
|
|
82
82
|
|
|
83
83
|
## See also
|
|
84
84
|
|
|
85
85
|
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
|
|
86
|
-
- [`verify-
|
|
86
|
+
- [`verify-completion-evidence`](../skills/verify-completion-evidence/SKILL.md)
|
|
87
87
|
- [`/do-and-judge`](do-and-judge.md) — single-change variant
|
|
@@ -21,7 +21,7 @@ suggestion:
|
|
|
21
21
|
> 2. Fix a specific test file — which one?
|
|
22
22
|
> 3. Fix tests that failed in CI — provide the CI run URL or error output
|
|
23
23
|
|
|
24
|
-
- Read the Playwright guideline:
|
|
24
|
+
- Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
|
|
25
25
|
|
|
26
26
|
### 2. Run failing tests
|
|
27
27
|
|
|
@@ -21,7 +21,7 @@ suggestion:
|
|
|
21
21
|
> 2. Which feature area? (e.g., "checkout flow", "user settings", or "all visible flows")
|
|
22
22
|
> 3. Is there an existing seed/setup file? (e.g., `tests/e2e/fixtures/auth.ts`)
|
|
23
23
|
|
|
24
|
-
- Read the Playwright guideline:
|
|
24
|
+
- Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
|
|
25
25
|
- Check for existing test plans in `specs/` or `tests/e2e/specs/`.
|
|
26
26
|
|
|
27
27
|
### 2. Explore the application
|
|
@@ -8,6 +8,14 @@ suggestion:
|
|
|
8
8
|
trigger_description: "build this feature end-to-end, run the full feature workflow"
|
|
9
9
|
trigger_context: "long-form feature description spanning multiple components"
|
|
10
10
|
---
|
|
11
|
+
|
|
12
|
+
<!-- F2-deprecation-banner -->
|
|
13
|
+
> **Deprecated — use `/feature dev`.** This standalone command
|
|
14
|
+
> is kept as a deprecation shim for one release cycle and routes to
|
|
15
|
+
> the same instructions below. New invocations should go through the
|
|
16
|
+
> `/feature` orchestrator (`commands/feature.md`).
|
|
17
|
+
<!-- /F2-deprecation-banner -->
|
|
18
|
+
|
|
11
19
|
# /feature-dev
|
|
12
20
|
|
|
13
21
|
> Full 7-phase feature development workflow for complex features.
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "brainstorm this idea, explore this feature concept"
|
|
9
9
|
trigger_context: "open-ended feature idea without acceptance criteria"
|
|
10
|
+
superseded_by: feature explore
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /feature-explore is deprecated; use /feature explore instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# feature-explore
|
|
13
18
|
|
|
14
19
|
## Instructions
|
|
@@ -181,4 +186,4 @@ What's next?
|
|
|
181
186
|
|
|
182
187
|
## See also
|
|
183
188
|
|
|
184
|
-
- [`role-contracts`](
|
|
189
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "plan this feature, create a feature spec for X"
|
|
9
9
|
trigger_context: "feature idea referenced and no plan doc exists"
|
|
10
|
+
superseded_by: feature plan
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /feature-plan is deprecated; use /feature plan instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# feature-plan
|
|
13
18
|
|
|
14
19
|
## Instructions
|
|
@@ -111,7 +116,7 @@ Before asking detailed questions, **proactively research**:
|
|
|
111
116
|
`status: active` is a binding constraint — propose structure that
|
|
112
117
|
respects it. If the feature needs to contradict an ADR, surface that
|
|
113
118
|
as a decision for the user before drafting the plan. See
|
|
114
|
-
[`engineering-memory-data-format`](
|
|
119
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md).
|
|
115
120
|
|
|
116
121
|
**Share key findings with the user** — this informs the discussion:
|
|
117
122
|
|
|
@@ -208,6 +213,32 @@ Mir sind noch ein paar offene Fragen aufgefallen:
|
|
|
208
213
|
Hast du dazu schon eine Meinung?
|
|
209
214
|
```
|
|
210
215
|
|
|
216
|
+
### 5d. Offer council idea-validation (B4 hook)
|
|
217
|
+
|
|
218
|
+
Once the conversation has converged on a problem statement, proposal,
|
|
219
|
+
and rough scope (rounds 1–4), but **before** step 6 writes the file,
|
|
220
|
+
ask (in the user's language):
|
|
221
|
+
|
|
222
|
+
> 1. Run the council on this idea before writing the plan? (billable)
|
|
223
|
+
> 2. Skip — write the plan now
|
|
224
|
+
|
|
225
|
+
Suppress when `personal.autonomy: on` (council is billable).
|
|
226
|
+
|
|
227
|
+
If picked **1**:
|
|
228
|
+
|
|
229
|
+
- Build a short prompt: the problem, the proposal, the scope, the
|
|
230
|
+
open questions from round 4. **Do not** include the agent's
|
|
231
|
+
framing or recommendations — neutrality preamble is mandatory.
|
|
232
|
+
- Run `/council prompt:"<assembled prompt>"` with `original_ask` set
|
|
233
|
+
to the feature title from step 1.
|
|
234
|
+
- Surface convergent + divergent points back to the user. **Do not**
|
|
235
|
+
rewrite the proposal autonomously; let the user decide which
|
|
236
|
+
council points to fold in.
|
|
237
|
+
- After the user has reviewed, return to step 6 with the (possibly
|
|
238
|
+
updated) proposal.
|
|
239
|
+
|
|
240
|
+
If picked **2** → continue.
|
|
241
|
+
|
|
211
242
|
### 6. Create the feature document
|
|
212
243
|
|
|
213
244
|
- Read `.augment/templates/features.md` for the structure.
|
|
@@ -287,6 +318,6 @@ What's next?
|
|
|
287
318
|
|
|
288
319
|
## See also
|
|
289
320
|
|
|
290
|
-
- [`role-contracts`](
|
|
321
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
|
|
291
322
|
- [`refine-ticket`](refine-ticket.md) — optional upstream step: run first when the input is a Jira/Linear ticket rather than a fresh idea
|
|
292
323
|
- [`estimate-ticket`](estimate-ticket.md) — sibling of `refine-ticket`; size + risk + split recommendation for an already-refined ticket
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "update the feature plan, refine the feature spec"
|
|
9
9
|
trigger_context: "existing agents/features/*.md referenced in the prompt"
|
|
10
|
+
superseded_by: feature refactor
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /feature-refactor is deprecated; use /feature refactor instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# feature-refactor
|
|
13
18
|
|
|
14
19
|
## Instructions
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "turn this feature into a roadmap, generate the implementation roadmap"
|
|
9
9
|
trigger_context: "existing feature plan without linked roadmap"
|
|
10
|
+
superseded_by: feature roadmap
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /feature-roadmap is deprecated; use /feature roadmap instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# feature-roadmap
|
|
13
18
|
|
|
14
19
|
## Instructions
|
|
@@ -187,4 +192,4 @@ What's next?
|
|
|
187
192
|
|
|
188
193
|
## See also
|
|
189
194
|
|
|
190
|
-
- [`role-contracts`](
|
|
195
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#planner) — Planner mode output contract (Goal / Constraints / Option set / Recommendation / Dependencies / Rollback)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: feature
|
|
3
|
+
description: Feature orchestrator — routes to explore, plan, refactor, roadmap, dev
|
|
4
|
+
cluster: feature
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "explore feature idea, plan a feature, refactor feature plan, roadmap a feature, full feature dev"
|
|
9
|
+
trigger_context: "user starting or iterating on a feature workflow"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /feature
|
|
13
|
+
|
|
14
|
+
Top-level orchestrator for the `/feature` family. Replaces 5 standalone
|
|
15
|
+
commands with a single entry point + sub-command dispatch.
|
|
16
|
+
|
|
17
|
+
## Sub-commands
|
|
18
|
+
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/feature explore` | `feature-explore.md` | Brainstorm an idea before committing to a plan |
|
|
22
|
+
| `/feature plan` | `feature-plan.md` | Interactively plan a feature, produce a structured plan doc |
|
|
23
|
+
| `/feature refactor` | `feature-refactor.md` | Refine and update an existing feature plan |
|
|
24
|
+
| `/feature roadmap` | `feature-roadmap.md` | Generate implementation roadmap(s) from a plan |
|
|
25
|
+
| `/feature dev` | `feature-dev.md` | Full 7-phase feature development workflow (heavyweight) |
|
|
26
|
+
|
|
27
|
+
## Workflow ordering
|
|
28
|
+
|
|
29
|
+
Typical sequence: `explore` → `plan` → `roadmap` → `dev` (or per-step
|
|
30
|
+
implementation). Use `refactor` whenever an existing plan needs an update.
|
|
31
|
+
|
|
32
|
+
## Dispatch
|
|
33
|
+
|
|
34
|
+
1. Parse the user's argument: `/feature <sub-command> [args]`.
|
|
35
|
+
2. Look up the sub-command in the table above.
|
|
36
|
+
3. Load the body of the corresponding `commands/feature-<sub>.md` file and
|
|
37
|
+
follow its `## Instructions` (or `## Steps`) section verbatim.
|
|
38
|
+
4. If the sub-command is unknown or missing, print the menu and ask:
|
|
39
|
+
|
|
40
|
+
> 1. explore — brainstorm a feature idea
|
|
41
|
+
> 2. plan — produce a structured feature plan
|
|
42
|
+
> 3. refactor — update an existing feature plan
|
|
43
|
+
> 4. roadmap — generate roadmap(s) from a plan
|
|
44
|
+
> 5. dev — run the full 7-phase development workflow
|
|
45
|
+
|
|
46
|
+
## Migration
|
|
47
|
+
|
|
48
|
+
The 5 standalone `/feature-*` commands continue to work for one release
|
|
49
|
+
cycle as deprecation shims. They emit a notice and route to the same
|
|
50
|
+
content. New invocations should use `/feature <sub>`.
|
|
51
|
+
|
|
52
|
+
## Rules
|
|
53
|
+
|
|
54
|
+
- **Do NOT chain sub-commands.** One `/feature <sub>` per turn — except
|
|
55
|
+
the agent may suggest the next logical sub-command at the end of a step
|
|
56
|
+
(numbered options per `user-interaction`).
|
|
57
|
+
- If the user invokes `/feature` with no argument, **show the menu** — do
|
|
58
|
+
not guess which sub-command they meant.
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "CI is failing, fix the GitHub Actions errors, the pipeline is red"
|
|
9
9
|
trigger_context: "open PR with failing checks"
|
|
10
|
+
superseded_by: fix ci
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /fix-ci is deprecated; use /fix ci instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# fix-ci
|
|
13
18
|
|
|
14
19
|
## Instructions
|
|
@@ -5,8 +5,13 @@ disable-model-invocation: true
|
|
|
5
5
|
suggestion:
|
|
6
6
|
eligible: false
|
|
7
7
|
rationale: "Package-internal — only the event4u/agent-config repo runs this."
|
|
8
|
+
superseded_by: fix portability
|
|
9
|
+
deprecated_in: "1.15.0"
|
|
8
10
|
---
|
|
9
11
|
|
|
12
|
+
> ⚠️ /fix-portability is deprecated; use /fix portability instead.
|
|
13
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
14
|
+
|
|
10
15
|
# fix-portability
|
|
11
16
|
|
|
12
17
|
## Instructions
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "address the Copilot/Greptile comments, fix the bot review feedback"
|
|
9
9
|
trigger_context: "open PR with bot review comments unresolved"
|
|
10
|
+
superseded_by: fix pr-bots
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /fix-pr-bot-comments is deprecated; use /fix pr-bots instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# fix-pr-bot-comments
|
|
13
18
|
|
|
14
19
|
## Input
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "fix all PR review comments, resolve the review feedback"
|
|
9
9
|
trigger_context: "open PR with unresolved comments (bot + human)"
|
|
10
|
+
superseded_by: fix pr
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /fix-pr-comments is deprecated; use /fix pr instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# fix-pr-comments
|
|
13
18
|
|
|
14
19
|
This command runs `fix-pr-bot-comments` and `fix-pr-developer-comments` in sequence on the same PR.
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "fix the human reviewer comments, address the developer feedback"
|
|
9
9
|
trigger_context: "open PR with unresolved human-reviewer comments"
|
|
10
|
+
superseded_by: fix pr-developers
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /fix-pr-developer-comments is deprecated; use /fix pr-developers instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# fix-pr-developer-comments
|
|
13
18
|
|
|
14
19
|
## Input
|
|
@@ -5,8 +5,13 @@ disable-model-invocation: true
|
|
|
5
5
|
suggestion:
|
|
6
6
|
eligible: false
|
|
7
7
|
rationale: "Package-internal — only the event4u/agent-config repo runs this."
|
|
8
|
+
superseded_by: fix refs
|
|
9
|
+
deprecated_in: "1.15.0"
|
|
8
10
|
---
|
|
9
11
|
|
|
12
|
+
> ⚠️ /fix-references is deprecated; use /fix refs instead.
|
|
13
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
14
|
+
|
|
10
15
|
# fix-references
|
|
11
16
|
|
|
12
17
|
## Instructions
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "the seeder is broken, foreign key errors in seeders"
|
|
9
9
|
trigger_context: "seeder error output or recent edits in database/seeders/"
|
|
10
|
+
superseded_by: fix seeder
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /fix-seeder is deprecated; use /fix seeder instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# fix-seeder
|
|
13
18
|
|
|
14
19
|
Scans all `PhpDataSeeder` data files for foreign key references that use raw seeder constants
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fix
|
|
3
|
+
description: Fix orchestrator — routes to ci, references, portability, seeder, pr-comments, pr-bot-comments, pr-developer-comments
|
|
4
|
+
cluster: fix
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "fix CI, fix references, fix the broken seeder, fix PR comments, address bot review"
|
|
9
|
+
trigger_context: "user wants to fix something that has a dedicated sub-command"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /fix
|
|
13
|
+
|
|
14
|
+
Top-level orchestrator for the `/fix` family. Replaces 7 standalone commands
|
|
15
|
+
with a single entry point + sub-command dispatch.
|
|
16
|
+
|
|
17
|
+
## Sub-commands
|
|
18
|
+
|
|
19
|
+
| Sub-command | Routes to | Purpose |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| `/fix ci` | `fix-ci.md` | Fetch CI errors from GitHub Actions and fix them |
|
|
22
|
+
| `/fix refs` | `fix-references.md` | Find and fix broken cross-references in `.augment/` and `agents/` |
|
|
23
|
+
| `/fix portability` | `fix-portability.md` | Find and fix project-specific references in shared `.augment/` files |
|
|
24
|
+
| `/fix seeder` | `fix-seeder.md` | Scan seeder data files for broken FK references |
|
|
25
|
+
| `/fix pr` | `fix-pr-comments.md` | Fix and reply to **all** open review comments (bots + humans) |
|
|
26
|
+
| `/fix pr-bots` | `fix-pr-bot-comments.md` | Fix and reply to **bot** review comments only |
|
|
27
|
+
| `/fix pr-developers` | `fix-pr-developer-comments.md` | Fix and reply to **human** reviewer comments only |
|
|
28
|
+
|
|
29
|
+
Sub-command names match the locked contract in
|
|
30
|
+
[`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
31
|
+
|
|
32
|
+
## Dispatch
|
|
33
|
+
|
|
34
|
+
1. Parse the user's argument: `/fix <sub-command> [args]`.
|
|
35
|
+
2. Look up the sub-command in the table above.
|
|
36
|
+
3. Load the body of the routed file and follow its `## Instructions` section
|
|
37
|
+
verbatim with the remaining args.
|
|
38
|
+
4. If the sub-command is unknown or missing, print the table above and ask:
|
|
39
|
+
|
|
40
|
+
> 1. ci — fetch and fix GitHub Actions errors
|
|
41
|
+
> 2. refs — fix broken cross-refs in agent docs
|
|
42
|
+
> 3. portability — purge project-specific refs from shared package
|
|
43
|
+
> 4. seeder — scan seeders for broken FK references
|
|
44
|
+
> 5. pr — address all open review comments
|
|
45
|
+
> 6. pr-bots — address bot reviewer comments only
|
|
46
|
+
> 7. pr-developers — address human reviewer comments only
|
|
47
|
+
|
|
48
|
+
## Migration
|
|
49
|
+
|
|
50
|
+
The 7 standalone `/fix-*` commands continue to work for one release cycle as
|
|
51
|
+
deprecation shims. They emit a notice and route to the same content. New
|
|
52
|
+
invocations should use `/fix <sub>`.
|
|
53
|
+
|
|
54
|
+
## Rules
|
|
55
|
+
|
|
56
|
+
- **Do NOT commit, push, or open a PR** unless the sub-command explicitly
|
|
57
|
+
authorizes it. Sub-command rules override these defaults only when stated.
|
|
58
|
+
- **Do NOT chain sub-commands.** One `/fix <sub>` per turn.
|
|
59
|
+
- If the user invokes `/fix` with no argument, **show the menu** — do not
|
|
60
|
+
guess which sub-command they meant.
|
|
@@ -72,4 +72,4 @@ suggestion:
|
|
|
72
72
|
|
|
73
73
|
## See also
|
|
74
74
|
|
|
75
|
-
- [`role-contracts`](
|
|
75
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
|
|
@@ -86,4 +86,4 @@ Next step: <what the user should do based on the verdict>
|
|
|
86
86
|
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
|
|
87
87
|
- [`/do-and-judge`](do-and-judge.md) — if a revision loop is wanted
|
|
88
88
|
- [`/review-changes`](review-changes.md) — human-oriented self-review
|
|
89
|
-
- [`role-contracts`](
|
|
89
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
|
|
@@ -14,7 +14,7 @@ suggestion:
|
|
|
14
14
|
Creates or updates a single entry in one of the four engineering-memory
|
|
15
15
|
YAML files under `agents/memory/` in the consumer project. The entry
|
|
16
16
|
is validated against the schema in
|
|
17
|
-
[`engineering-memory-data-format`](
|
|
17
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
18
18
|
before the file is written.
|
|
19
19
|
|
|
20
20
|
Absence of these files is legal — this command is the entry point for
|
|
@@ -58,7 +58,7 @@ sharded layout: `agents/memory/<type>/*.yml`). For each existing
|
|
|
58
58
|
### 3. Collect the required fields
|
|
59
59
|
|
|
60
60
|
All four types share the frontmatter in
|
|
61
|
-
[`engineering-memory-data-format`](
|
|
61
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md#shared-frontmatter-fields).
|
|
62
62
|
Collect in this order, one numbered question at a time:
|
|
63
63
|
|
|
64
64
|
1. `id` — kebab-case slug, unique within the type.
|
|
@@ -125,7 +125,7 @@ link resolves. Broken link → block and ask the user to fix.
|
|
|
125
125
|
|
|
126
126
|
## See also
|
|
127
127
|
|
|
128
|
-
- [`engineering-memory-data-format`](
|
|
128
|
+
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
129
129
|
— full schema
|
|
130
130
|
- [`capture-learnings`](../rules/capture-learnings.md) — when a
|
|
131
131
|
learning is better captured as an `incident-learnings` entry vs a
|
|
@@ -80,7 +80,7 @@ opts in.
|
|
|
80
80
|
|
|
81
81
|
The agent should now treat every loaded entry as an authority signal
|
|
82
82
|
with its declared `confidence` — see
|
|
83
|
-
[`memory-access`](
|
|
83
|
+
[`memory-access`](../../docs/guidelines/agent-infra/memory-access.md) for
|
|
84
84
|
how entries modulate edits.
|
|
85
85
|
|
|
86
86
|
## When to reject
|
|
@@ -96,5 +96,5 @@ how entries modulate edits.
|
|
|
96
96
|
- [`memory-add`](memory-add.md) — add a single entry
|
|
97
97
|
- [`memory-promote`](memory-promote.md) — promote an intake signal to
|
|
98
98
|
a curated entry
|
|
99
|
-
- [`memory-access`](
|
|
99
|
+
- [`memory-access`](../../docs/guidelines/agent-infra/memory-access.md) —
|
|
100
100
|
how entries flow into agent decisions
|
|
@@ -61,7 +61,7 @@ gate script to lower the bar.
|
|
|
61
61
|
### 3. Draft the curated entry
|
|
62
62
|
|
|
63
63
|
Using the schema in
|
|
64
|
-
[`engineering-memory-data-format`](
|
|
64
|
+
[`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md),
|
|
65
65
|
hydrate the full frontmatter:
|
|
66
66
|
|
|
67
67
|
- `id` — kebab-case slug (not the `sig-*` id — that is an intake marker).
|
|
@@ -142,4 +142,4 @@ git push -u origin memory/promote-<curated-id>
|
|
|
142
142
|
|
|
143
143
|
- [`/propose-memory`](propose-memory.md) — write-side entry point.
|
|
144
144
|
- [`/memory-add`](memory-add.md) — direct curated write (skips intake).
|
|
145
|
-
- [`engineering-memory-data-format`](
|
|
145
|
+
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md)
|
|
@@ -11,7 +11,7 @@ suggestion:
|
|
|
11
11
|
|
|
12
12
|
Sets `roles.active_role` in `.agent-settings.yml` and surfaces the active
|
|
13
13
|
contract before any work. Six modes are defined in
|
|
14
|
-
[`role-contracts`](
|
|
14
|
+
[`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md):
|
|
15
15
|
|
|
16
16
|
- `developer` · `reviewer` · `tester` · `po` · `incident` · `planner`
|
|
17
17
|
|
|
@@ -37,7 +37,7 @@ Anything else: refuse. List the valid values and stop.
|
|
|
37
37
|
|
|
38
38
|
### 2. Validate the mode name
|
|
39
39
|
|
|
40
|
-
Read [`role-contracts.md`](
|
|
40
|
+
Read [`role-contracts.md`](../../docs/guidelines/agent-infra/role-contracts.md).
|
|
41
41
|
Extract H3 headings under `## Contract skeletons` and lowercase them.
|
|
42
42
|
If `<name>` is not in that set, refuse and print the valid list.
|
|
43
43
|
|
|
@@ -62,7 +62,7 @@ exactly what the contract demands.
|
|
|
62
62
|
### 5. Write the active role
|
|
63
63
|
|
|
64
64
|
Update `roles.active_role` in `.agent-settings.yml` using the
|
|
65
|
-
[section-aware merge rules](
|
|
65
|
+
[section-aware merge rules](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
66
66
|
(preserve comments, preserve key order, touch only the changed field).
|
|
67
67
|
|
|
68
68
|
For `/mode none`: set `active_role: ""`.
|
|
@@ -118,7 +118,7 @@ For `/mode` (status only):
|
|
|
118
118
|
|
|
119
119
|
## See also
|
|
120
120
|
|
|
121
|
-
- [`role-contracts`](
|
|
121
|
+
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md) — the six modes
|
|
122
122
|
- [`role-mode-adherence`](../rules/role-mode-adherence.md) — closing-output gate
|
|
123
|
-
- [`layered-settings`](
|
|
123
|
+
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
|
|
124
124
|
- [`ask-when-uncertain`](../rules/ask-when-uncertain.md) — never invent modes
|
|
@@ -25,7 +25,7 @@ Triggered by the [`onboarding-gate`](../rules/onboarding-gate.md) rule when
|
|
|
25
25
|
- Change cost profile only → [`/set-cost-profile`](set-cost-profile.md).
|
|
26
26
|
- Single-value edit → ask the agent to change it, or edit
|
|
27
27
|
`.agent-settings.yml` directly. The agent follows the merge rules in
|
|
28
|
-
[`layered-settings`](
|
|
28
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md).
|
|
29
29
|
|
|
30
30
|
## Preconditions
|
|
31
31
|
|
|
@@ -134,7 +134,7 @@ template — `minimal` + `skill_improvement: true`):
|
|
|
134
134
|
|
|
135
135
|
Write `onboarding.onboarded: true` to `.agent-settings.yml` using the
|
|
136
136
|
section-aware merge rules from
|
|
137
|
-
[`layered-settings`](
|
|
137
|
+
[`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
|
|
138
138
|
(preserve comments, key order, touch only the changed fields).
|
|
139
139
|
|
|
140
140
|
### 8. Summary
|
|
@@ -200,5 +200,5 @@ local-agent concern; the cloud agent should proceed without invoking it.
|
|
|
200
200
|
|
|
201
201
|
- [`onboarding-gate`](../rules/onboarding-gate.md) — rule that triggers this command
|
|
202
202
|
- [`set-cost-profile`](set-cost-profile.md) — isolated profile change
|
|
203
|
-
- [`layered-settings`](
|
|
203
|
+
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for mid-life edits
|
|
204
204
|
- [`agent-settings` template](../templates/agent-settings.md) — settings reference
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "audit agent infrastructure, tune the agent setup"
|
|
9
9
|
trigger_context: "maintainer working on .augment/ files"
|
|
10
|
+
superseded_by: optimize agents
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /optimize-agents is deprecated; use /optimize agents instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# /optimize-agents
|
|
13
18
|
|
|
14
19
|
Agent infrastructure audit: measure token overhead, check rule triggers, verify AGENTS.md, find stale references. **Suggest only — never auto-apply.**
|
|
@@ -89,7 +94,7 @@ Present candidates with explicit justification. **Never auto-apply.**
|
|
|
89
94
|
### 4. Check AGENTS.md + copilot-instructions.md
|
|
90
95
|
|
|
91
96
|
- **Budget**: AGENTS.md target ≤800 words (max ~1200). copilot-instructions.md < 60 lines (max ~150).
|
|
92
|
-
See `guidelines/agent-infra/size-and-scope.md` for all limits.
|
|
97
|
+
See `docs/guidelines/agent-infra/size-and-scope.md` for all limits.
|
|
93
98
|
- **Quality**: Dev Setup, Testing, Quality Tools need full detail — don't compress to one-liners
|
|
94
99
|
- **Duplication**: only word-for-word identical. Summary + detail = layered context, NOT duplication
|
|
95
100
|
- **Freshness**: paths, commands, references match reality?
|
|
@@ -6,8 +6,13 @@ disable-model-invocation: true
|
|
|
6
6
|
suggestion:
|
|
7
7
|
eligible: false
|
|
8
8
|
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
9
|
+
superseded_by: optimize augmentignore
|
|
10
|
+
deprecated_in: "1.15.0"
|
|
9
11
|
---
|
|
10
12
|
|
|
13
|
+
> ⚠️ /optimize-augmentignore is deprecated; use /optimize augmentignore instead.
|
|
14
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
15
|
+
|
|
11
16
|
<!-- cloud_safe: noop -->
|
|
12
17
|
|
|
13
18
|
# /optimize-augmentignore
|
|
@@ -6,8 +6,13 @@ disable-model-invocation: true
|
|
|
6
6
|
suggestion:
|
|
7
7
|
eligible: false
|
|
8
8
|
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
9
|
+
superseded_by: optimize rtk
|
|
10
|
+
deprecated_in: "1.15.0"
|
|
9
11
|
---
|
|
10
12
|
|
|
13
|
+
> ⚠️ /optimize-rtk-filters is deprecated; use /optimize rtk instead.
|
|
14
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
15
|
+
|
|
11
16
|
# optimize-rtk-filters
|
|
12
17
|
|
|
13
18
|
## Instructions
|
|
@@ -7,8 +7,13 @@ suggestion:
|
|
|
7
7
|
eligible: true
|
|
8
8
|
trigger_description: "audit my skills, find duplicate skills"
|
|
9
9
|
trigger_context: "maintainer working on .augment/skills/ files"
|
|
10
|
+
superseded_by: optimize skills
|
|
11
|
+
deprecated_in: "1.15.0"
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
> ⚠️ /optimize-skills is deprecated; use /optimize skills instead.
|
|
15
|
+
> This shim is retained for one release cycle (1.15.0 → next minor) and forwards to the same instructions below. See [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
|
|
16
|
+
|
|
12
17
|
# /optimize-skills
|
|
13
18
|
|
|
14
19
|
Skill audit: measure, find duplicates/merge candidates, run linter, present findings. **Suggest only — never auto-apply.**
|
|
@@ -78,7 +83,7 @@ done
|
|
|
78
83
|
```
|
|
79
84
|
|
|
80
85
|
Oversized → suggest splitting by responsibility or extracting reference material.
|
|
81
|
-
Size limits: see `guidelines/agent-infra/size-and-scope.md`.
|
|
86
|
+
Size limits: see `docs/guidelines/agent-infra/size-and-scope.md`.
|
|
82
87
|
|
|
83
88
|
### 6. Present findings
|
|
84
89
|
|