@event4u/agent-config 8.12.0 → 9.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/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +164 -0
- package/README.md +1 -1
- package/dist/agent-src/commands/agent-handoff.md +35 -0
- package/dist/agent-src/commands/agents/init.md +1 -0
- package/dist/agent-src/commands/agents/optimize.md +1 -0
- package/dist/agent-src/commands/agents/user/accept.md +3 -2
- package/dist/agent-src/commands/agents/user/init.md +5 -4
- package/dist/agent-src/commands/agents/user/update.md +3 -2
- package/dist/agent-src/commands/agents/user.md +1 -0
- package/dist/agent-src/commands/agents.md +1 -0
- package/dist/agent-src/commands/analytics/show.md +1 -0
- package/dist/agent-src/commands/analytics.md +1 -0
- package/dist/agent-src/commands/analyze/decision.md +1 -0
- package/dist/agent-src/commands/analyze/incident.md +1 -0
- package/dist/agent-src/commands/analyze/near-miss.md +1 -0
- package/dist/agent-src/commands/analyze/postmortem.md +1 -0
- package/dist/agent-src/commands/analyze/premortem.md +1 -0
- package/dist/agent-src/commands/analyze/reference-repo.md +1 -0
- package/dist/agent-src/commands/analyze.md +3 -2
- package/dist/agent-src/commands/brand/identity.md +6 -5
- package/dist/agent-src/commands/brand/review.md +6 -5
- package/dist/agent-src/commands/brand/strategy.md +6 -4
- package/dist/agent-src/commands/brand/tokens.md +7 -6
- package/dist/agent-src/commands/brand/voice.md +5 -4
- package/dist/agent-src/commands/brand.md +9 -7
- package/dist/agent-src/commands/bug/fix.md +1 -0
- package/dist/agent-src/commands/bug/investigate.md +1 -0
- package/dist/agent-src/commands/bug.md +2 -1
- package/dist/agent-src/commands/challenge-me/vision.md +1 -0
- package/dist/agent-src/commands/challenge-me/with-docs.md +1 -0
- package/dist/agent-src/commands/challenge-me.md +28 -6
- package/dist/agent-src/commands/chat-history.md +1 -0
- package/dist/agent-src/commands/check-current-md.md +1 -0
- package/dist/agent-src/commands/commit.md +1 -0
- package/dist/agent-src/commands/context/create.md +3 -2
- package/dist/agent-src/commands/context.md +1 -0
- package/dist/agent-src/commands/cost/profile.md +1 -0
- package/dist/agent-src/commands/cost.md +2 -1
- package/dist/agent-src/commands/council/analysis.md +1 -0
- package/dist/agent-src/commands/council/debate.md +1 -0
- package/dist/agent-src/commands/council/default.md +21 -20
- package/dist/agent-src/commands/council/design.md +1 -0
- package/dist/agent-src/commands/council/optimize.md +1 -0
- package/dist/agent-src/commands/council/pr.md +1 -0
- package/dist/agent-src/commands/council.md +1 -0
- package/dist/agent-src/commands/estimate-ticket.md +1 -0
- package/dist/agent-src/commands/feature/dev.md +1 -0
- package/dist/agent-src/commands/feature/explore.md +1 -0
- package/dist/agent-src/commands/feature/plan.md +1 -0
- package/dist/agent-src/commands/feature/refactor.md +1 -0
- package/dist/agent-src/commands/feature/roadmap.md +1 -0
- package/dist/agent-src/commands/feature.md +2 -1
- package/dist/agent-src/commands/fix/pr-comments.md +19 -0
- package/dist/agent-src/commands/fix.md +2 -1
- package/dist/agent-src/commands/ghostwriter/delete.md +1 -0
- package/dist/agent-src/commands/ghostwriter/fetch.md +1 -0
- package/dist/agent-src/commands/ghostwriter/show.md +1 -0
- package/dist/agent-src/commands/ghostwriter/write.md +1 -0
- package/dist/agent-src/commands/ghostwriter.md +1 -0
- package/dist/agent-src/commands/grill-me.md +17 -12
- package/dist/agent-src/commands/humanize.md +1 -0
- package/dist/agent-src/commands/image/analyse.md +2 -1
- package/dist/agent-src/commands/image/create.md +1 -0
- package/dist/agent-src/commands/image/verify.md +1 -0
- package/dist/agent-src/commands/image.md +16 -12
- package/dist/agent-src/commands/implement-ticket.md +1 -0
- package/dist/agent-src/commands/judge/on-diff.md +1 -0
- package/dist/agent-src/commands/judge/solo.md +1 -0
- package/dist/agent-src/commands/judge/steps.md +1 -0
- package/dist/agent-src/commands/judge.md +1 -0
- package/dist/agent-src/commands/knowledge/cross-repo.md +1 -0
- package/dist/agent-src/commands/knowledge/forget.md +1 -0
- package/dist/agent-src/commands/knowledge/ingest.md +1 -0
- package/dist/agent-src/commands/knowledge/list.md +10 -0
- package/dist/agent-src/commands/knowledge.md +1 -0
- package/dist/agent-src/commands/memory/learn-low-impact.md +1 -0
- package/dist/agent-src/commands/memory/mine-session.md +1 -0
- package/dist/agent-src/commands/memory/promote.md +3 -2
- package/dist/agent-src/commands/memory.md +1 -0
- package/dist/agent-src/commands/mission/upgrade.md +45 -24
- package/dist/agent-src/commands/mode.md +1 -0
- package/dist/agent-src/commands/module/create.md +1 -0
- package/dist/agent-src/commands/module/explore.md +1 -0
- package/dist/agent-src/commands/module.md +1 -0
- package/dist/agent-src/commands/optimize/agents-dir.md +1 -0
- package/dist/agent-src/commands/optimize/project.md +1 -0
- package/dist/agent-src/commands/optimize/prompt.md +1 -0
- package/dist/agent-src/commands/optimize.md +2 -1
- package/dist/agent-src/commands/orchestrate.md +1 -0
- package/dist/agent-src/commands/override.md +1 -0
- package/dist/agent-src/commands/package.md +2 -1
- package/dist/agent-src/commands/post-as/ghostwriter.md +1 -0
- package/dist/agent-src/commands/post-as/me.md +1 -0
- package/dist/agent-src/commands/post-as.md +1 -0
- package/dist/agent-src/commands/pr/create/description-only.md +1 -0
- package/dist/agent-src/commands/pr/create.md +28 -0
- package/dist/agent-src/commands/prediction-pool.md +7 -6
- package/dist/agent-src/commands/prepare-for-review.md +1 -0
- package/dist/agent-src/commands/profile/activate.md +1 -0
- package/dist/agent-src/commands/profile/deactivate.md +1 -0
- package/dist/agent-src/commands/profile.md +1 -0
- package/dist/agent-src/commands/project.md +2 -1
- package/dist/agent-src/commands/refine-ticket.md +7 -0
- package/dist/agent-src/commands/research/deep.md +1 -0
- package/dist/agent-src/commands/research.md +1 -0
- package/dist/agent-src/commands/review/routing.md +1 -0
- package/dist/agent-src/commands/review.md +2 -1
- package/dist/agent-src/commands/roadmap/ai-council.md +1 -0
- package/dist/agent-src/commands/roadmap/materialize.md +1 -0
- package/dist/agent-src/commands/roadmap/process-full.md +1 -0
- package/dist/agent-src/commands/roadmap/process-phase.md +1 -0
- package/dist/agent-src/commands/roadmap/process-step.md +1 -0
- package/dist/agent-src/commands/roadmap.md +1 -0
- package/dist/agent-src/commands/security-audit-config.md +2 -1
- package/dist/agent-src/commands/skill/preview.md +1 -0
- package/dist/agent-src/commands/skill.md +1 -0
- package/dist/agent-src/commands/skills/discover.md +1 -0
- package/dist/agent-src/commands/skills.md +1 -0
- package/dist/agent-src/commands/sync/agent-settings.md +1 -0
- package/dist/agent-src/commands/sync.md +2 -1
- package/dist/agent-src/commands/team/adversarial.md +97 -0
- package/dist/agent-src/commands/team/delegate.md +110 -0
- package/dist/agent-src/commands/team/review.md +85 -0
- package/dist/agent-src/commands/team/status.md +123 -0
- package/dist/agent-src/commands/team-knowledge.md +8 -6
- package/dist/agent-src/commands/team.md +152 -0
- package/dist/agent-src/commands/tests/e2e-heal.md +1 -0
- package/dist/agent-src/commands/tests/e2e-plan.md +1 -0
- package/dist/agent-src/commands/tests/execute.md +1 -0
- package/dist/agent-src/commands/tests.md +2 -1
- package/dist/agent-src/commands/update-form-request-messages.md +1 -0
- package/dist/agent-src/commands/upstream-contribute.md +1 -0
- package/dist/agent-src/commands/video/from-script.md +3 -2
- package/dist/agent-src/commands/video/from-song.md +22 -21
- package/dist/agent-src/commands/video/scene.md +1 -0
- package/dist/agent-src/commands/video/stitch.md +2 -1
- package/dist/agent-src/commands/video/storyboard.md +1 -0
- package/dist/agent-src/commands/video.md +1 -0
- package/dist/agent-src/commands/work.md +1 -0
- package/dist/agent-src/commands/worktree/cleanup.md +8 -7
- package/dist/agent-src/commands/worktree/create.md +1 -0
- package/dist/agent-src/commands/worktree/verify.md +1 -0
- package/dist/agent-src/commands/worktree.md +1 -0
- package/dist/agent-src/rules/active-remediation.md +12 -36
- package/dist/agent-src/rules/artifact-drafting-protocol.md +7 -64
- package/dist/agent-src/rules/context-hygiene.md +19 -113
- package/dist/agent-src/rules/design-fidelity.md +4 -60
- package/dist/agent-src/rules/domain-adoption-policy.md +10 -106
- package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +12 -60
- package/dist/agent-src/rules/improve-before-implement.md +6 -0
- package/dist/agent-src/rules/minimal-safe-diff.md +6 -86
- package/dist/agent-src/rules/size-enforcement.md +10 -0
- package/dist/agent-src/rules/tool-safety.md +17 -3
- package/dist/agent-src/skills/agent-security-review/SKILL.md +12 -1
- package/dist/agent-src/skills/ai-council/SKILL.md +11 -0
- package/dist/agent-src/skills/bug-analyzer/SKILL.md +24 -2
- package/dist/agent-src/skills/code-review/SKILL.md +105 -93
- package/dist/agent-src/skills/code-review/checklists/backend.md +50 -0
- package/dist/agent-src/skills/code-review/checklists/database.md +19 -0
- package/dist/agent-src/skills/code-review/checklists/dependency.md +18 -0
- package/dist/agent-src/skills/code-review/checklists/docs.md +14 -0
- package/dist/agent-src/skills/code-review/checklists/frontend.md +19 -0
- package/dist/agent-src/skills/code-review/checklists/infra.md +17 -0
- package/dist/agent-src/skills/code-review/checklists/producing-the-review.md +62 -0
- package/dist/agent-src/skills/code-review/checklists/test-only.md +13 -0
- package/dist/agent-src/skills/code-review/evals/evals.json +53 -15
- package/dist/agent-src/skills/condense-memory/SKILL.md +3 -2
- package/dist/agent-src/skills/conventional-commits-writing/evals/evals.json +15 -0
- package/dist/agent-src/skills/docker/SKILL.md +10 -0
- package/dist/agent-src/skills/docx-authoring/SKILL.md +102 -0
- package/dist/agent-src/skills/github-ci/evals/evals.json +25 -0
- package/dist/agent-src/skills/humanizer/SKILL.md +79 -3
- package/dist/agent-src/skills/humanizer/references/anti-aiisms.md +112 -0
- package/dist/agent-src/skills/humanizer/references/fixtures.md +70 -0
- package/dist/agent-src/skills/judge-bug-hunter/SKILL.md +7 -1
- package/dist/agent-src/skills/laravel/SKILL.md +10 -0
- package/dist/agent-src/skills/launch-readiness/SKILL.md +35 -0
- package/dist/agent-src/skills/merge-conflicts/SKILL.md +30 -0
- package/dist/agent-src/skills/pdf-tools/SKILL.md +101 -0
- package/dist/agent-src/skills/quality-tools/evals/evals.json +15 -0
- package/dist/agent-src/skills/security-audit/SKILL.md +29 -0
- package/dist/agent-src/skills/security-maturity-assessment/SKILL.md +90 -0
- package/dist/agent-src/skills/security-maturity-assessment/evals/triggers.json +52 -0
- package/dist/agent-src/skills/skill-writing/SKILL.md +79 -0
- package/dist/agent-src/skills/spreadsheet-authoring/SKILL.md +11 -3
- package/dist/agent-src/skills/subagent-orchestration/schemas/team-review-status.json +103 -0
- package/dist/agent-src/skills/terraform/SKILL.md +10 -0
- package/dist/agent-src/skills/test-driven-development/SKILL.md +31 -0
- package/dist/agent-src/skills/threat-modeling/SKILL.md +15 -0
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/agent-src/templates/scripts/telemetry/aggregator.ts +0 -0
- package/dist/agent-src/templates/scripts/telemetry/engagement.ts +30 -0
- package/dist/agent-src/templates/scripts/telemetry/report_renderer.ts +22 -9
- package/dist/agent-src/templates/scripts/telemetry_record.ts +5 -0
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +378 -174
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +4 -4
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +16 -8
- package/dist/discovery/trust-report.md +3 -3
- package/dist/discovery/workspaces.json +14 -6
- package/dist/install/install.mjs +46 -0
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/router.json +1 -1
- package/dist/scripts/condense.js +5 -0
- package/dist/scripts/condense.js.map +1 -1
- package/dist/server/schemas/settings.js +11 -0
- package/dist/server/schemas/settings.js.map +1 -1
- package/docs/CLAIMS.md +9 -2
- package/docs/SKILL_CENSUS.md +8 -0
- package/docs/architecture.md +3 -3
- package/docs/benchmark.md +67 -2
- package/docs/catalog.md +10 -4
- package/docs/command-flows.md +6 -1
- package/docs/contracts/ai-council-config.md +9 -2
- package/docs/contracts/ai-team-config.md +224 -0
- package/docs/contracts/command-clusters.md +1 -0
- package/docs/contracts/prelaunch-diagnostics.md +151 -0
- package/docs/contracts/release-pr-gating.md +1 -0
- package/docs/decisions/ADR-049-configuration-trust-boundary.md +9 -1
- package/docs/featured-skills.md +2 -2
- package/docs/getting-started-by-role.md +3 -1
- package/docs/getting-started.md +42 -1
- package/docs/governance-advantage.md +1 -1
- package/docs/guidelines/agent-infra/active-remediation-mechanics.md +45 -0
- package/docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md +28 -0
- package/docs/guidelines/agent-infra/artifact-drafting-protocol-mechanics.md +76 -0
- package/docs/guidelines/agent-infra/context-hygiene-mechanics.md +90 -0
- package/docs/guidelines/agent-infra/domain-adoption-gates.md +112 -0
- package/docs/guidelines/agent-infra/framework-neutrality-patterns.md +66 -0
- package/docs/guidelines/agent-infra/minimal-safe-diff-mechanics.md +99 -0
- package/docs/guidelines/agent-infra/skill-quality-checklist.md +13 -0
- package/docs/guidelines/design-fidelity-mechanics.md +76 -0
- package/docs/maintainers/branch-protection.md +18 -0
- package/docs/parity/command-frontmatter.md +60 -0
- package/docs/proof.md +7 -6
- package/package.json +1 -1
- package/src/agent-src/templates/scripts/telemetry/aggregator.ts +0 -0
- package/src/agent-src/templates/scripts/telemetry/engagement.ts +30 -0
- package/src/agent-src/templates/scripts/telemetry/report_renderer.ts +22 -9
- package/src/agent-src/templates/scripts/telemetry_record.ts +5 -0
- package/src/config/agent-settings.template.yml +71 -7
- package/src/config/prelaunch-areas.yml +36 -0
- package/src/scripts/_cli/cmd_doctor.ts +288 -1
- package/src/scripts/_lib/claude_plugin.ts +114 -4
- package/src/scripts/_lib/orchestration_record.ts +5 -0
- package/src/scripts/_lib/tool_adapter_registry.ts +120 -0
- package/src/scripts/ai_team/config.ts +234 -0
- package/src/scripts/ai_team/review_gate.ts +636 -0
- package/src/scripts/ai_team/team_dispatch.ts +612 -0
- package/src/scripts/bench_ab_task_runner.ts +11 -1
- package/src/scripts/bench_parity_count.ts +279 -0
- package/src/scripts/build_linear_digest.ts +3 -1
- package/src/scripts/check_bridge_derivation.ts +172 -0
- package/src/scripts/check_consumer_scope_flip.ts +179 -0
- package/src/scripts/check_council_config_location.ts +115 -15
- package/src/scripts/check_host_loadability.ts +81 -0
- package/src/scripts/condense.ts +5 -0
- package/src/scripts/hook_manifest.yaml +12 -1
- package/src/scripts/install.ts +39 -0
- package/src/scripts/lint_handoffs.ts +42 -0
- package/src/scripts/lint_skill_descriptions.ts +228 -0
- package/src/scripts/lint_skill_descriptions_allowlist.json +1 -0
- package/src/scripts/lint_skill_scripts_readonly.ts +145 -0
- package/src/scripts/lint_skill_scripts_readonly_allowlist.json +8 -0
- package/src/scripts/lint_supported_tools_matrix.ts +35 -0
- package/src/scripts/optimize_skill_description.ts +144 -0
- package/src/scripts/orchestration_record.ts +2 -1
- package/src/scripts/prelaunch_diagnostics.ts +248 -0
- package/src/scripts/rule_backlinks.ts +0 -0
- package/src/scripts/run_skill_evals.ts +70 -4
- package/src/scripts/schemas/command.schema.json +7 -0
- package/src/scripts/schemas/evals.schema.json +105 -14
- package/src/scripts/schemas/prelaunch-report.schema.json +107 -0
- package/src/scripts/schemas/skill.schema.json +18 -1
- package/src/scripts/schemas/subagent.schema.json +6 -0
- package/src/scripts/skill_linter.ts +43 -3
- package/src/scripts/smoke_host_loadability.sh +73 -0
- package/src/scripts/team_review_gate_hook.ts +115 -0
- package/src/scripts/trigger_eval_grandfather.json +1 -2
- package/src/scripts/utilization_report.ts +225 -0
- package/src/server/schemas/settings.ts +25 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: project
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[analyze|health]"
|
|
5
6
|
pack: engineering-base
|
|
6
7
|
intent: "Project dispatcher — full analysis or quick health check"
|
|
7
8
|
routes_to: [project-analyze, project-health]
|
|
@@ -37,7 +38,7 @@ Top-level orchestrator for the `/project` family — project-wide inspection.
|
|
|
37
38
|
| `/project health` | `commands/project/health.md` | Quick health check — status of docs, modules, contexts, roadmaps; creates nothing |
|
|
38
39
|
|
|
39
40
|
Sub-command names match the locked contract in
|
|
40
|
-
[`docs/contracts/command-clusters.md`](
|
|
41
|
+
[`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
|
|
41
42
|
|
|
42
43
|
## Dispatch
|
|
43
44
|
|
|
@@ -9,6 +9,7 @@ tier: 1
|
|
|
9
9
|
visibility: advanced
|
|
10
10
|
skills: [refine-ticket]
|
|
11
11
|
description: Refine a Jira/Linear ticket before planning — rewritten ticket + Top-5 risks + persona voices, orchestrates validate-feature-fit and threat-modeling, ends with a close-prompt
|
|
12
|
+
argument-hint: "[ticket-key | url | text] [--personas=<list>] [--user-type=<id>] [--fresh-eyes]"
|
|
12
13
|
suggestion:
|
|
13
14
|
eligible: true
|
|
14
15
|
trigger_description: "refine PROJ-123, tighten the acceptance criteria, is this ticket clear"
|
|
@@ -68,6 +69,12 @@ application, synthesis, and close-prompt.
|
|
|
68
69
|
- `--personas=<list>` — comma-separated override of the Core-6 default
|
|
69
70
|
(e.g. `--personas=developer,senior-engineer,critical-challenger`)
|
|
70
71
|
- `--personas=+qa` — add the QA specialist to the Core-6
|
|
72
|
+
- `--user-type=<id>` — load one user-type from `user-types/<id>.md` and
|
|
73
|
+
add an end-user simulation lens to the persona stack (e.g.
|
|
74
|
+
`--user-type=galabau-field-crew`). Composes orthogonally with
|
|
75
|
+
`--personas=`; persona = methodology lens, user-type = end-user lens.
|
|
76
|
+
v1 is CLI-only (no skill-level default). Contract:
|
|
77
|
+
[`docs/contracts/user-type-schema.md`](../docs/contracts/user-type-schema.md).
|
|
71
78
|
- `--fresh-eyes` — reweight toward first-time-reader confusion signals
|
|
72
79
|
(critical-challenger voice gets more lines; less assumed context)
|
|
73
80
|
|
|
@@ -7,6 +7,7 @@ visibility: internal
|
|
|
7
7
|
cluster: research
|
|
8
8
|
sub: deep
|
|
9
9
|
description: "Read `outline.yaml`, research each item in batches, write per-item JSON validated against the project-local research-schema. No Python runtime, no `~/.claude/` paths."
|
|
10
|
+
argument-hint: "[--batch-confirm=each|once|auto]"
|
|
10
11
|
skills: [deep-reading-analyst]
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
@@ -8,6 +8,7 @@ sub: routing
|
|
|
8
8
|
cluster: review
|
|
9
9
|
skills: [review-routing, reviewer-awareness]
|
|
10
10
|
description: Compute reviewer roles and matched historical bug patterns for the current diff, using project-local ownership-map.yml and historical-bug-patterns.yml
|
|
11
|
+
argument-hint: "[base-ref head-ref]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
13
14
|
trigger_description: "who should review this, suggest reviewers for this PR"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: review
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[changes|routing]"
|
|
5
6
|
pack: engineering-base
|
|
6
7
|
intent: "Review dispatcher — multi-judge self-review of the current diff, or reviewer routing"
|
|
7
8
|
routes_to: [review-changes, review-routing]
|
|
@@ -38,7 +39,7 @@ reviewer selection.
|
|
|
38
39
|
| `/review routing` | `commands/review/routing.md` | Compute reviewer roles + matched historical bug patterns for the current diff (ownership-map.yml, historical-bug-patterns.yml) |
|
|
39
40
|
|
|
40
41
|
Sub-command names match the locked contract in
|
|
41
|
-
[`docs/contracts/command-clusters.md`](
|
|
42
|
+
[`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
|
|
42
43
|
|
|
43
44
|
## Dispatch
|
|
44
45
|
|
|
@@ -8,6 +8,7 @@ cluster: roadmap
|
|
|
8
8
|
sub: ai-council
|
|
9
9
|
skills: [ai-council, agent-docs-writing, roadmap-management]
|
|
10
10
|
description: Challenge a roadmap with the AI council (deep tier) and refactor from convergence findings. Wraps `/council default` pinned to `--input-mode roadmap --depth deep`; patches surface as numbered options.
|
|
11
|
+
argument-hint: "[roadmap-name | path]"
|
|
11
12
|
council_depth: deep
|
|
12
13
|
suggestion:
|
|
13
14
|
eligible: true
|
|
@@ -8,6 +8,7 @@ cluster: roadmap
|
|
|
8
8
|
sub: materialize
|
|
9
9
|
skills: [emit-tickets]
|
|
10
10
|
description: Materialise a roadmap into a self-contained, importable ticket bundle under agents/tickets/
|
|
11
|
+
argument-hint: "[roadmap-path]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
13
14
|
trigger_description: "turn this roadmap into tickets, materialise the roadmap, mach Tickets aus der Roadmap"
|
|
@@ -8,6 +8,7 @@ cluster: roadmap
|
|
|
8
8
|
sub: process-full
|
|
9
9
|
skills: [agent-docs-writing, ai-council, roadmap-management]
|
|
10
10
|
description: Autonomously process every open step across every phase of a roadmap until the file is fully closed. Largest execution scope of the /roadmap cluster — runs continuously across phase boundaries.
|
|
11
|
+
argument-hint: "[roadmap]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
13
14
|
trigger_description: "process the whole roadmap, finish the roadmap, komplette roadmap abarbeiten"
|
|
@@ -8,6 +8,7 @@ cluster: roadmap
|
|
|
8
8
|
sub: process-phase
|
|
9
9
|
skills: [agent-docs-writing, ai-council, roadmap-management]
|
|
10
10
|
description: Autonomously process every open step in the next or current phase of a roadmap, then stop. Default execution scope of the /roadmap cluster.
|
|
11
|
+
argument-hint: "[roadmap]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
13
14
|
trigger_description: "process the next phase, finish this phase autonomously, eine phase abarbeiten"
|
|
@@ -8,6 +8,7 @@ cluster: roadmap
|
|
|
8
8
|
sub: process-step
|
|
9
9
|
skills: [agent-docs-writing, ai-council, roadmap-management]
|
|
10
10
|
description: Autonomously process the single next open step of a roadmap and stop. Smallest execution scope of the /roadmap cluster — one step in, one step out.
|
|
11
|
+
argument-hint: "[roadmap]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
13
14
|
trigger_description: "process the next step, do the next roadmap step, einen schritt abarbeiten"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: roadmap
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[create|ai-council|process-step|process-phase|process-full] [args]"
|
|
5
6
|
pack: product-basic
|
|
6
7
|
intent: "Roadmap dispatcher — create, process-step, process-phase, process-full, ai-council"
|
|
7
8
|
routes_to: [roadmap-create, roadmap-process-step, roadmap-process-phase, roadmap-process-full]
|
|
@@ -6,6 +6,7 @@ tier: 2
|
|
|
6
6
|
visibility: internal
|
|
7
7
|
skills: [judge-security-auditor, threat-modeling, security-audit]
|
|
8
8
|
description: Audit an assembled agent config (CLAUDE.md, .cursor/rules, settings, MCP, hooks, skills) for prompt-injection / supply-chain risk — A–F score per category, mapped to OWASP Agentic Top 10
|
|
9
|
+
argument-hint: "[repo-root]"
|
|
9
10
|
council_depth: deep
|
|
10
11
|
suggestion:
|
|
11
12
|
eligible: true
|
|
@@ -35,7 +36,7 @@ suite's own `lint_agent_security` self-audit gate.
|
|
|
35
36
|
|
|
36
37
|
(omit `--root` to audit the current repo). The script reuses the Phase-1
|
|
37
38
|
detection library under the false-positive containment convention
|
|
38
|
-
([`security-lint-containment`](
|
|
39
|
+
([`security-lint-containment`](../../docs/guidelines/agent-infra/security-lint-containment.md)),
|
|
39
40
|
so doc/example files do not tank the score. It scans instruction files
|
|
40
41
|
(`CLAUDE.md`, `AGENTS.md`, `.cursor/rules`, `.github/copilot-instructions.md`,
|
|
41
42
|
`.clinerules`, `.windsurfrules`), MCP configs (`.mcp.json`, `.cursor/mcp.json`,
|
|
@@ -7,6 +7,7 @@ visibility: internal
|
|
|
7
7
|
cluster: skill
|
|
8
8
|
sub: preview
|
|
9
9
|
description: Non-destructive preview of a skill — its declared steps, execution type, allowed tools, and file/command targets — before you run it. Read-only, no execution.
|
|
10
|
+
argument-hint: "<skill-name> [--technical]"
|
|
10
11
|
skills: [file-editor]
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
@@ -7,6 +7,7 @@ visibility: internal
|
|
|
7
7
|
cluster: skills
|
|
8
8
|
sub: discover
|
|
9
9
|
description: Recommend skills for a role — ranked by four explained classes (most-useful-for-role, related-to-current-task, recently-adopted, popular-in-role). Local-only; every result carries a why.
|
|
10
|
+
argument-hint: "[role]"
|
|
10
11
|
skills: [file-editor]
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: true
|
|
@@ -5,6 +5,7 @@ pack: meta
|
|
|
5
5
|
tier: 2
|
|
6
6
|
visibility: internal
|
|
7
7
|
description: Skill discovery orchestrator — routes to discover. Local, explained skill recommendations over the catalog + role shortlists + optional local analytics.
|
|
8
|
+
argument-hint: "[discover] [role]"
|
|
8
9
|
cluster: skills
|
|
9
10
|
type: orchestrator
|
|
10
11
|
suggestion:
|
|
@@ -8,6 +8,7 @@ sub: agent-settings
|
|
|
8
8
|
cluster: sync
|
|
9
9
|
skills: [sync-agent-settings]
|
|
10
10
|
description: Sync `.agent-settings.yml` against the current template + profile — adds new sections/keys, preserves user values, shows a diff before writing
|
|
11
|
+
argument-hint: "[--path <file>] [--profile minimal|balanced|full] [--check]"
|
|
11
12
|
suggestion:
|
|
12
13
|
eligible: false
|
|
13
14
|
rationale: "Settings sync — must be deliberate."
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: sync
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[agent-settings|gitignore|gitignore-fix]"
|
|
5
6
|
pack: meta
|
|
6
7
|
intent: "Sync dispatcher — agent settings or the managed .gitignore block"
|
|
7
8
|
routes_to: [sync-agent-settings, sync-gitignore, sync-gitignore-fix]
|
|
@@ -34,7 +35,7 @@ managed files in step with the package templates.
|
|
|
34
35
|
| `/sync gitignore-fix` | `commands/sync/gitignore/fix.md` | Scrub legacy pre-`/agents/` patterns anywhere in the `.gitignore`, then re-sync the canonical entries |
|
|
35
36
|
|
|
36
37
|
Sub-command names match the locked contract in
|
|
37
|
-
[`docs/contracts/command-clusters.md`](
|
|
38
|
+
[`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
|
|
38
39
|
|
|
39
40
|
## Dispatch
|
|
40
41
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: inherit
|
|
3
|
+
name: team-adversarial
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "<focus>"
|
|
6
|
+
pack: meta
|
|
7
|
+
tier: 2
|
|
8
|
+
visibility: internal
|
|
9
|
+
skills: [adversarial-review]
|
|
10
|
+
description: Thin wrapper — adversarial cross-model review on a named focus via the official plugin (/codex:adversarial-review). Escalation rung above the single-model adversarial-review skill.
|
|
11
|
+
cluster: team
|
|
12
|
+
sub: adversarial
|
|
13
|
+
suggestion:
|
|
14
|
+
eligible: true
|
|
15
|
+
trigger_description: "adversarial cross-model review, attack this change with a second model, stress-test the diff with GPT, hostile review by another model"
|
|
16
|
+
trigger_context: "ai_team.enabled is true AND single-model self-review found nothing or the stakes are high — escalate the Attack-Defend-Revise frame to a second strong model"
|
|
17
|
+
workspaces:
|
|
18
|
+
- agent-config-maintainer
|
|
19
|
+
packs:
|
|
20
|
+
- meta
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# /team adversarial
|
|
24
|
+
|
|
25
|
+
## Instructions
|
|
26
|
+
|
|
27
|
+
Thin wrapper: adversarial cross-model review on a named focus. Same
|
|
28
|
+
Attack-Defend-Revise frame as the `adversarial-review` skill, different
|
|
29
|
+
attacker — a second strong model with repo access instead of the host model
|
|
30
|
+
critiquing itself. Use it as the **escalation rung**: single-model
|
|
31
|
+
self-review found nothing, or the stakes are high.
|
|
32
|
+
|
|
33
|
+
### 1. Gate — `ai_team.enabled`
|
|
34
|
+
|
|
35
|
+
Read `ai_team.enabled` from `.agent-settings.yml`. Missing or `false` →
|
|
36
|
+
print the enable pointer from `/team` (master) § "Default-off gate" and
|
|
37
|
+
**STOP**.
|
|
38
|
+
|
|
39
|
+
### 2. Gate — plugin presence (fail closed)
|
|
40
|
+
|
|
41
|
+
On a Claude Code host, verify the official plugin is installed. Absent →
|
|
42
|
+
print the fail-closed block from `/team` (master) § "Fail-closed contract"
|
|
43
|
+
(`agent-config doctor --check team`) and **STOP**. Never reimplement the
|
|
44
|
+
adversarial review inline; never silently no-op.
|
|
45
|
+
|
|
46
|
+
On a non-Claude-Code host: state that the cross-model adversarial path
|
|
47
|
+
currently requires the Claude Code plugin, offer the single-model
|
|
48
|
+
`adversarial-review` skill as the available rung, and stop.
|
|
49
|
+
|
|
50
|
+
### 3. Resolve the focus
|
|
51
|
+
|
|
52
|
+
The user invoked `/team adversarial <focus>` — e.g. `security`,
|
|
53
|
+
`error handling`, `the tenant-scope change in UserService`. If no focus was
|
|
54
|
+
supplied, ask (one question per turn, per `ask-when-uncertain`):
|
|
55
|
+
|
|
56
|
+
> What should the adversarial review attack?
|
|
57
|
+
>
|
|
58
|
+
> 1. A named surface (e.g. security, error handling, concurrency)
|
|
59
|
+
> 2. A specific file / change (name it)
|
|
60
|
+
> 3. Cancel
|
|
61
|
+
|
|
62
|
+
### 4. Delegate
|
|
63
|
+
|
|
64
|
+
Invoke the plugin with the focus passed through unchanged:
|
|
65
|
+
|
|
66
|
+
- `/team adversarial <focus>` → `/codex:adversarial-review <focus>`
|
|
67
|
+
|
|
68
|
+
### 5. Return the findings verbatim
|
|
69
|
+
|
|
70
|
+
Render the plugin's findings unchanged — do not soften, dedupe, or re-rank.
|
|
71
|
+
The call counts into the `cli_call_budget.max_calls_per_day.openai` quota;
|
|
72
|
+
on quota exhaustion surface the transport's refusal, do not retry.
|
|
73
|
+
|
|
74
|
+
## Output format
|
|
75
|
+
|
|
76
|
+
- The plugin's adversarial findings, verbatim.
|
|
77
|
+
- Gate failures print exactly one block (enable pointer or fail-closed
|
|
78
|
+
block) and stop.
|
|
79
|
+
|
|
80
|
+
## Do NOT
|
|
81
|
+
|
|
82
|
+
- Do NOT run when `ai_team.enabled` is false — enable pointer, stop.
|
|
83
|
+
- Do NOT reimplement the adversarial pass inline when the plugin is absent —
|
|
84
|
+
fail closed with the doctor pointer.
|
|
85
|
+
- Do NOT skip the free first rung reflexively — the single-model
|
|
86
|
+
`adversarial-review` skill costs nothing; escalate when it finds nothing
|
|
87
|
+
or the stakes justify a second model.
|
|
88
|
+
- Do NOT edit files, commit, push, or open a PR — read-only.
|
|
89
|
+
- Do NOT claim a defect-finding lift; the benchmark verdict is pending (see
|
|
90
|
+
`/team` master § "No-claims note").
|
|
91
|
+
|
|
92
|
+
## See also
|
|
93
|
+
|
|
94
|
+
- `adversarial-review` skill — the single-model Attack-Defend-Revise frame
|
|
95
|
+
this escalates.
|
|
96
|
+
- `/team review` — the non-adversarial cross-model review.
|
|
97
|
+
- `/team` — master orchestrator: gates, boundary table vs `/council`.
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: inherit
|
|
3
|
+
name: team-delegate
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "<task>"
|
|
6
|
+
pack: meta
|
|
7
|
+
tier: 2
|
|
8
|
+
visibility: internal
|
|
9
|
+
description: Thin wrapper — hand a task to the second model as a native worker via the official plugin (/codex:rescue). The only write-access wrapper; double-gated behind ai_team.allow_delegate.
|
|
10
|
+
cluster: team
|
|
11
|
+
sub: delegate
|
|
12
|
+
suggestion:
|
|
13
|
+
eligible: false
|
|
14
|
+
rationale: "Only write-access wrapper in the family; delegation of write access must be explicitly typed by the user, never suggested."
|
|
15
|
+
workspaces:
|
|
16
|
+
- agent-config-maintainer
|
|
17
|
+
packs:
|
|
18
|
+
- meta
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# /team delegate
|
|
22
|
+
|
|
23
|
+
## Instructions
|
|
24
|
+
|
|
25
|
+
Thin wrapper: hand a task to the second model as a **native worker** in the
|
|
26
|
+
repo. On Claude Code hosts it delegates to the official plugin's
|
|
27
|
+
`/codex:rescue`. This is the **only wrapper that delegates write access**,
|
|
28
|
+
so it carries a second opt-in on top of the family gate.
|
|
29
|
+
|
|
30
|
+
### 1. Gate — `ai_team.enabled`
|
|
31
|
+
|
|
32
|
+
Read `ai_team.enabled` from `.agent-settings.yml`. Missing or `false` →
|
|
33
|
+
print the enable pointer from `/team` (master) § "Default-off gate" and
|
|
34
|
+
**STOP**.
|
|
35
|
+
|
|
36
|
+
### 2. Gate — `ai_team.allow_delegate` (second opt-in)
|
|
37
|
+
|
|
38
|
+
Read `ai_team.allow_delegate`. Missing or `false` (the shipped default) →
|
|
39
|
+
refuse with the enable pointer and **STOP**:
|
|
40
|
+
|
|
41
|
+
> `/team delegate` is disabled (`ai_team.allow_delegate: false`, the
|
|
42
|
+
> default). It is the only team-mode wrapper that hands **write access** to
|
|
43
|
+
> the second model, so it needs its own opt-in:
|
|
44
|
+
>
|
|
45
|
+
> ```yaml
|
|
46
|
+
> ai_team:
|
|
47
|
+
> enabled: true
|
|
48
|
+
> allow_delegate: true
|
|
49
|
+
> ```
|
|
50
|
+
>
|
|
51
|
+
> Key reference: `docs/contracts/ai-team-config.md`.
|
|
52
|
+
|
|
53
|
+
### 3. Gate — plugin presence (fail closed)
|
|
54
|
+
|
|
55
|
+
On a Claude Code host, verify the official plugin is installed. Absent →
|
|
56
|
+
print the fail-closed block from `/team` (master) § "Fail-closed contract"
|
|
57
|
+
(`agent-config doctor --check team`) and **STOP**. Never reimplement the
|
|
58
|
+
worker inline; never silently no-op.
|
|
59
|
+
|
|
60
|
+
On a non-Claude-Code host: there is **no** delegate fallback — the
|
|
61
|
+
worker-via-bundle path is deferred by a recorded internal null. State that
|
|
62
|
+
delegation requires the Claude Code plugin and stop.
|
|
63
|
+
|
|
64
|
+
### 4. Resolve the task
|
|
65
|
+
|
|
66
|
+
The user invoked `/team delegate <task>`. If the task text is missing, ask
|
|
67
|
+
(one question per turn, per `ask-when-uncertain`) for a one-line task
|
|
68
|
+
description; do not invent scope.
|
|
69
|
+
|
|
70
|
+
### 5. Delegate
|
|
71
|
+
|
|
72
|
+
Invoke the plugin with the task passed through unchanged:
|
|
73
|
+
|
|
74
|
+
- `/team delegate <task>` → `/codex:rescue <task>`
|
|
75
|
+
|
|
76
|
+
The Codex worker runs natively in the working tree under the user's
|
|
77
|
+
subscription. The call counts into the
|
|
78
|
+
`cli_call_budget.max_calls_per_day.openai` quota; on exhaustion surface the
|
|
79
|
+
transport's refusal, do not retry.
|
|
80
|
+
|
|
81
|
+
### 6. Return the result verbatim
|
|
82
|
+
|
|
83
|
+
Render the plugin's result unchanged. Any edits the worker made are in the
|
|
84
|
+
working tree for the user to review — this wrapper never commits, pushes, or
|
|
85
|
+
opens a PR on top of them.
|
|
86
|
+
|
|
87
|
+
## Output format
|
|
88
|
+
|
|
89
|
+
- The plugin's rescue/delegation result, verbatim.
|
|
90
|
+
- Gate failures print exactly one block (enable pointer, allow_delegate
|
|
91
|
+
refusal, or fail-closed block) and stop.
|
|
92
|
+
|
|
93
|
+
## Do NOT
|
|
94
|
+
|
|
95
|
+
- Do NOT run when `ai_team.enabled` is false — enable pointer, stop.
|
|
96
|
+
- Do NOT run when `ai_team.allow_delegate` is false — refusal block, stop.
|
|
97
|
+
Never treat `enabled: true` alone as delegate authorization.
|
|
98
|
+
- Do NOT reimplement the worker inline when the plugin is absent — fail
|
|
99
|
+
closed with the doctor pointer.
|
|
100
|
+
- Do NOT commit, push, or open a PR over the worker's edits — review is the
|
|
101
|
+
user's call.
|
|
102
|
+
- Do NOT claim a productivity or quality lift; the benchmark verdict is
|
|
103
|
+
pending (see `/team` master § "No-claims note").
|
|
104
|
+
|
|
105
|
+
## See also
|
|
106
|
+
|
|
107
|
+
- `/team` — master orchestrator: gates, boundary table vs `/council`.
|
|
108
|
+
- `/team review` — the read-only default lens; prefer it unless the user
|
|
109
|
+
explicitly wants the second model to do the work.
|
|
110
|
+
- `docs/contracts/ai-team-config.md` — `ai_team.allow_delegate` semantics.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: inherit
|
|
3
|
+
name: team-review
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[--background]"
|
|
6
|
+
pack: meta
|
|
7
|
+
tier: 2
|
|
8
|
+
visibility: internal
|
|
9
|
+
description: Thin wrapper — cross-model review of the current diff via the official plugin (/codex:review). Gated on ai_team.enabled; fails closed when the plugin is absent.
|
|
10
|
+
cluster: team
|
|
11
|
+
sub: review
|
|
12
|
+
suggestion:
|
|
13
|
+
eligible: true
|
|
14
|
+
trigger_description: "team review, second model review, cross-model review of my changes, GPT drüberschauen lassen, review the diff with another strong model"
|
|
15
|
+
trigger_context: "ai_team.enabled is true AND there is an uncommitted / staged diff the user wants a second strong model to review with repo access"
|
|
16
|
+
workspaces:
|
|
17
|
+
- agent-config-maintainer
|
|
18
|
+
packs:
|
|
19
|
+
- meta
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# /team review
|
|
23
|
+
|
|
24
|
+
## Instructions
|
|
25
|
+
|
|
26
|
+
Thin wrapper: cross-model review of the current change. On Claude Code hosts
|
|
27
|
+
it delegates verbatim to the official plugin's `/codex:review` — this wrapper
|
|
28
|
+
owns only the governance gates around it.
|
|
29
|
+
|
|
30
|
+
### 1. Gate — `ai_team.enabled`
|
|
31
|
+
|
|
32
|
+
Read `ai_team.enabled` from `.agent-settings.yml`. Missing or `false` →
|
|
33
|
+
print the enable pointer from `/team` (master) § "Default-off gate" and
|
|
34
|
+
**STOP**. No plugin probe, no partial run.
|
|
35
|
+
|
|
36
|
+
### 2. Gate — plugin presence (fail closed)
|
|
37
|
+
|
|
38
|
+
On a Claude Code host, verify the official plugin is installed (its
|
|
39
|
+
`/codex:*` commands are available). Absent → print the fail-closed block
|
|
40
|
+
from `/team` (master) § "Fail-closed contract" — the remediation path is
|
|
41
|
+
`agent-config doctor --check team` — and **STOP**. Never reimplement the
|
|
42
|
+
review inline; never silently no-op.
|
|
43
|
+
|
|
44
|
+
On a non-Claude-Code host: the repo-diff-bundle fallback is a later phase.
|
|
45
|
+
State that team review currently requires the Claude Code plugin, point to
|
|
46
|
+
`agent-config doctor --check team`, and stop.
|
|
47
|
+
|
|
48
|
+
### 3. Delegate
|
|
49
|
+
|
|
50
|
+
Invoke the plugin:
|
|
51
|
+
|
|
52
|
+
- `/team review` → `/codex:review`
|
|
53
|
+
- `/team review --background` → `/codex:review --background`
|
|
54
|
+
|
|
55
|
+
Pass the flag through unchanged. Scope resolution (what counts as "the
|
|
56
|
+
diff") is the plugin's job — do not pre-compute or filter the diff here.
|
|
57
|
+
|
|
58
|
+
### 4. Return the review verbatim
|
|
59
|
+
|
|
60
|
+
Render the plugin's review output unchanged. Do not summarize, re-rank, or
|
|
61
|
+
soften findings. The call counts into the
|
|
62
|
+
`cli_call_budget.max_calls_per_day.openai` quota (one subscription, one
|
|
63
|
+
counter); if the quota is exhausted the transport refuses — surface that
|
|
64
|
+
refusal, do not retry.
|
|
65
|
+
|
|
66
|
+
## Output format
|
|
67
|
+
|
|
68
|
+
- The plugin's review, verbatim.
|
|
69
|
+
- Nothing else on success; gate failures print exactly one block (enable
|
|
70
|
+
pointer or fail-closed block) and stop.
|
|
71
|
+
|
|
72
|
+
## Do NOT
|
|
73
|
+
|
|
74
|
+
- Do NOT run when `ai_team.enabled` is false — enable pointer, stop.
|
|
75
|
+
- Do NOT reimplement the review inline when the plugin is absent — fail
|
|
76
|
+
closed with the doctor pointer.
|
|
77
|
+
- Do NOT edit files, commit, push, or open a PR — this wrapper is read-only.
|
|
78
|
+
- Do NOT claim a review-quality lift; the benchmark verdict is pending (see
|
|
79
|
+
`/team` master § "No-claims note").
|
|
80
|
+
|
|
81
|
+
## See also
|
|
82
|
+
|
|
83
|
+
- `/team` — master orchestrator: gates, boundary table vs `/council`.
|
|
84
|
+
- `/team adversarial` — focused adversarial variant.
|
|
85
|
+
- `adversarial-review` skill — single-model self-review, the free first rung.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
model_tier: inherit
|
|
3
|
+
name: team-status
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
pack: meta
|
|
6
|
+
tier: 2
|
|
7
|
+
visibility: internal
|
|
8
|
+
description: Thin wrapper — plugin job status via /codex:status plus a quota block (shared openai counter vs team + council ceilings). Gated on ai_team.enabled; fails closed without the plugin.
|
|
9
|
+
cluster: team
|
|
10
|
+
sub: status
|
|
11
|
+
suggestion:
|
|
12
|
+
eligible: false
|
|
13
|
+
rationale: "Read-only state query; users invoke it explicitly when they want job or quota status — suggesting it adds noise."
|
|
14
|
+
workspaces:
|
|
15
|
+
- agent-config-maintainer
|
|
16
|
+
packs:
|
|
17
|
+
- meta
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# /team status
|
|
21
|
+
|
|
22
|
+
## Instructions
|
|
23
|
+
|
|
24
|
+
Thin wrapper: team-mode status. On Claude Code hosts it delegates to the
|
|
25
|
+
official plugin's `/codex:status` and appends **our** quota block —
|
|
26
|
+
the one piece of state the plugin does not know about.
|
|
27
|
+
|
|
28
|
+
### 1. Gate — `ai_team.enabled`
|
|
29
|
+
|
|
30
|
+
Read `ai_team.enabled` from `.agent-settings.yml`. Missing or `false` →
|
|
31
|
+
print the enable pointer from `/team` (master) § "Default-off gate" and
|
|
32
|
+
**STOP**.
|
|
33
|
+
|
|
34
|
+
### 2. Gate — plugin presence (fail closed)
|
|
35
|
+
|
|
36
|
+
On a Claude Code host, verify the official plugin is installed. Absent →
|
|
37
|
+
print the fail-closed block from `/team` (master) § "Fail-closed contract"
|
|
38
|
+
(`agent-config doctor --check team`) and **STOP** — never a silent no-op.
|
|
39
|
+
|
|
40
|
+
On a non-Claude-Code host: state that plugin job status requires the Claude
|
|
41
|
+
Code plugin, then still print the quota block (Step 4) — the quota counter
|
|
42
|
+
is ours and host-independent.
|
|
43
|
+
|
|
44
|
+
### 3. Delegate
|
|
45
|
+
|
|
46
|
+
Invoke the plugin:
|
|
47
|
+
|
|
48
|
+
- `/team status` → `/codex:status`
|
|
49
|
+
|
|
50
|
+
Render its job/status output verbatim.
|
|
51
|
+
|
|
52
|
+
### 4. Append the quota block — two ceilings, one counter
|
|
53
|
+
|
|
54
|
+
Team mode and the council share **one** daily counter but enforce **two
|
|
55
|
+
independent ceilings** against it. The status output must show all three
|
|
56
|
+
live numbers and say which path — if any — is currently blocked:
|
|
57
|
+
|
|
58
|
+
1. **Counter** — today's openai CLI-call count from the shared counter
|
|
59
|
+
state at `~/.event4u/agent-config/cli-calls.json` (daily UTC reset —
|
|
60
|
+
the same file the council's CLI transport maintains). `0` when the
|
|
61
|
+
file or today's entry is absent.
|
|
62
|
+
2. **Team ceiling** — `ai_team.max_calls_per_day` from
|
|
63
|
+
`.agent-settings.yml` (`unset` when absent).
|
|
64
|
+
3. **Council ceiling** — `cli_call_budget.max_calls_per_day.openai` from
|
|
65
|
+
the council config (`unset` when absent).
|
|
66
|
+
|
|
67
|
+
Render:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
Quota: <N> openai CLI calls today (UTC) — one shared counter
|
|
71
|
+
team ceiling (ai_team.max_calls_per_day): <T or "unset"> → <OPEN | BLOCKED>
|
|
72
|
+
council ceiling (cli_call_budget.max_calls_per_day.openai): <C or "unset"> → <OPEN | BLOCKED>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
- A path is `BLOCKED` when the counter has reached its ceiling
|
|
76
|
+
(`N >= ceiling`); an `unset` ceiling is `OPEN`.
|
|
77
|
+
- The two paths block **independently** — always name WHICH path is
|
|
78
|
+
blocked, never a bare "quota exhausted".
|
|
79
|
+
- One counter, one subscription — never introduce a parallel team-only
|
|
80
|
+
counting file.
|
|
81
|
+
|
|
82
|
+
**Worked example.** Council ceiling 100, team ceiling 50, counter at 45:
|
|
83
|
+
both paths are open. Five team calls later the shared counter reads 50 —
|
|
84
|
+
team calls are now `BLOCKED` (50 >= 50) while council CLI calls continue
|
|
85
|
+
until the counter reaches 100. Whichever path fires a call, the same
|
|
86
|
+
counter moves; each surface only enforces its own ceiling against that
|
|
87
|
+
shared count.
|
|
88
|
+
|
|
89
|
+
### 5. Review-gate ledger lines (when present)
|
|
90
|
+
|
|
91
|
+
When the council events ledger contains review-gate lines of the form
|
|
92
|
+
`team.gate: BLOCK n/N`, render them verbatim after the quota block — they
|
|
93
|
+
record how often the plugin's Stop-hook Review Gate blocked, out of N gate
|
|
94
|
+
evaluations. Absent lines are not an error: print nothing (the review-gate
|
|
95
|
+
envelope is a later team-mode phase; this step is read-only forward
|
|
96
|
+
compatibility).
|
|
97
|
+
|
|
98
|
+
## Output format
|
|
99
|
+
|
|
100
|
+
- The plugin's status output, verbatim.
|
|
101
|
+
- Exactly one trailing `Quota:` block in the format above (counter + both
|
|
102
|
+
ceilings + per-path OPEN/BLOCKED verdict).
|
|
103
|
+
- Any `team.gate: BLOCK n/N` ledger lines, verbatim, after the quota
|
|
104
|
+
block — only when present.
|
|
105
|
+
- Gate failures print exactly one block (enable pointer or fail-closed
|
|
106
|
+
block) and stop.
|
|
107
|
+
|
|
108
|
+
## Do NOT
|
|
109
|
+
|
|
110
|
+
- Do NOT run when `ai_team.enabled` is false — enable pointer, stop.
|
|
111
|
+
- Do NOT fabricate a count when the counter file is unreadable — print
|
|
112
|
+
`Quota: unavailable (<reason>)` instead of a guessed number.
|
|
113
|
+
- Do NOT write to `cli-calls.json` — the transport owns the counter; this
|
|
114
|
+
wrapper is read-only.
|
|
115
|
+
- Do NOT reimplement job tracking inline when the plugin is absent — fail
|
|
116
|
+
closed with the doctor pointer (the quota block alone is still printed on
|
|
117
|
+
non-Claude-Code hosts, per Step 2).
|
|
118
|
+
|
|
119
|
+
## See also
|
|
120
|
+
|
|
121
|
+
- `/team` — master orchestrator: gates, boundary table vs `/council`.
|
|
122
|
+
- `docs/contracts/ai-team-config.md` — `ai_team.max_calls_per_day`.
|
|
123
|
+
- `ai-council` skill — the shared CLI transport that maintains the counter.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
model_tier: medium
|
|
3
3
|
name: team-knowledge
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
argument-hint: "[consolidate|bootstrap]"
|
|
5
6
|
pack: meta
|
|
6
7
|
intent: "Manage the repo-tracked team-knowledge layer — consolidate typed observation events into agents/knowledge/ pages, bootstrap a project baseline"
|
|
7
8
|
routes_to: [team-knowledge-consolidate, team-knowledge-bootstrap]
|
|
@@ -26,13 +27,14 @@ packs:
|
|
|
26
27
|
Top-level orchestrator for the `/team-knowledge` family — the
|
|
27
28
|
consolidation gate over the typed knowledge-observation events
|
|
28
29
|
captured during normal task work (see
|
|
29
|
-
[`knowledge-pages`](
|
|
30
|
-
event schema in `src/scripts/_lib/knowledge_events.ts`).
|
|
30
|
+
[`knowledge-pages`](../../agent-src/templates/contexts/knowledge-pages.md)
|
|
31
|
+
and the event schema in `src/scripts/_lib/knowledge_events.ts`).
|
|
31
32
|
|
|
32
|
-
Not to be confused with the pre-existing `/knowledge`
|
|
33
|
-
file ingestion into `agents/memory/knowledge/`) —
|
|
34
|
-
(arbitrary local documents), unrelated to this
|
|
35
|
-
lifecycle-typed team-knowledge layer under
|
|
33
|
+
Not to be confused with the pre-existing [`/knowledge`](../../product-discovery/knowledge/command.md)
|
|
34
|
+
cluster (local file ingestion into `agents/memory/knowledge/`) — that
|
|
35
|
+
is a different concern (arbitrary local documents), unrelated to this
|
|
36
|
+
repo-tracked, lifecycle-typed team-knowledge layer under
|
|
37
|
+
`agents/knowledge/`.
|
|
36
38
|
|
|
37
39
|
## Sub-commands
|
|
38
40
|
|