@event4u/agent-config 9.16.0 → 9.18.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/AGENTS.md +1 -1
- package/CHANGELOG.md +80 -130
- package/README.md +1 -1
- package/dist/agent-src/commands/agent-handoff.md +100 -48
- package/dist/agent-src/commands/challenge-me/vision.md +5 -0
- package/dist/agent-src/commands/commit.md +1 -1
- package/dist/agent-src/commands/condense.md +19 -64
- package/dist/agent-src/commands/evals/agent-handoff.json +13 -1
- package/dist/agent-src/commands/evals/rule-compliance-audit.json +46 -0
- package/dist/agent-src/commands/feature/plan.md +20 -0
- package/dist/agent-src/commands/feature/roadmap.md +19 -0
- package/dist/agent-src/commands/memory/promote.md +14 -1
- package/dist/agent-src/commands/mode.md +9 -5
- package/dist/agent-src/commands/optimize/deep.md +72 -11
- package/dist/agent-src/commands/pr/create.md +29 -0
- package/dist/agent-src/commands/roadmap/create.md +29 -0
- package/dist/agent-src/commands/rule-compliance-audit.md +28 -5
- package/dist/agent-src/contexts/authority/commit-mechanics.md +5 -5
- package/dist/agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +1 -0
- package/dist/agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +1 -1
- package/dist/agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +6 -1
- package/dist/agent-src/contexts/communication/rules-auto/token-efficiency-mechanics.md +4 -1
- package/dist/agent-src/contexts/execution/autonomy-mechanics.md +27 -1
- package/dist/agent-src/contexts/execution/plan-confidence-gate.md +133 -0
- package/dist/agent-src/contexts/execution/roadmap-process-loop.md +5 -2
- package/dist/agent-src/profiles/agency.yml +3 -3
- package/dist/agent-src/profiles/content_creator.yml +2 -2
- package/dist/agent-src/profiles/developer.yml +2 -2
- package/dist/agent-src/profiles/finance.yml +1 -1
- package/dist/agent-src/profiles/founder.yml +2 -2
- package/dist/agent-src/profiles/ops.yml +2 -2
- package/dist/agent-src/rules/active-remediation.md +2 -0
- package/dist/agent-src/rules/architecture.md +4 -2
- package/dist/agent-src/rules/augment-edit-discipline.md +2 -0
- package/dist/agent-src/rules/autonomous-execution.md +1 -1
- package/dist/agent-src/rules/brand-consistency.md +10 -62
- package/dist/agent-src/rules/brand-source-of-truth.md +62 -11
- package/dist/agent-src/rules/broken-access-control.md +4 -0
- package/dist/agent-src/rules/cli-output-handling.md +5 -0
- package/dist/agent-src/rules/code-comment-discipline.md +3 -0
- package/dist/agent-src/rules/commit-conventions.md +2 -0
- package/dist/agent-src/rules/context-hygiene.md +3 -2
- package/dist/agent-src/rules/cross-source-consistency.md +3 -0
- package/dist/agent-src/rules/design-fidelity.md +2 -0
- package/dist/agent-src/rules/doc-screenshot-hygiene.md +2 -0
- package/dist/agent-src/rules/docker-commands.md +4 -0
- package/dist/agent-src/rules/domain-adoption-policy.md +2 -0
- package/dist/agent-src/rules/domain-safety-disclaimer.md +5 -2
- package/dist/agent-src/rules/domain-safety-pii.md +1 -1
- package/dist/agent-src/rules/engineering-safety-floor.md +2 -0
- package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +9 -0
- package/dist/agent-src/rules/image-likeness-and-rights.md +4 -0
- package/dist/agent-src/rules/improve-before-implement.md +4 -0
- package/dist/agent-src/rules/laravel-routing.md +4 -0
- package/dist/agent-src/rules/legal-safety-floor.md +3 -0
- package/dist/agent-src/rules/lethal-trifecta-guard.md +3 -0
- package/dist/agent-src/rules/media-governance-routing.md +5 -0
- package/dist/agent-src/rules/minimal-safe-diff.md +2 -0
- package/dist/agent-src/rules/no-roadmap-references.md +2 -0
- package/dist/agent-src/rules/notes-first-reasoning.md +2 -0
- package/dist/agent-src/rules/output-discipline.md +9 -2
- package/dist/agent-src/rules/php-coding.md +2 -0
- package/dist/agent-src/rules/prefer-enums-over-literals.md +3 -0
- package/dist/agent-src/rules/provider-lifecycle-discipline.md +5 -0
- package/dist/agent-src/rules/roadmap-ci-steps-policy.md +2 -0
- package/dist/agent-src/rules/roadmap-progress-sync.md +2 -0
- package/dist/agent-src/rules/rule-type-governance.md +2 -0
- package/dist/agent-src/rules/scale-discipline.md +3 -0
- package/dist/agent-src/rules/secret-vcs-guard.md +2 -0
- package/dist/agent-src/rules/security-sensitive-stop.md +9 -2
- package/dist/agent-src/rules/senior-engineering-discipline.md +6 -0
- package/dist/agent-src/rules/skill-quality.md +2 -0
- package/dist/agent-src/rules/source-confidentiality.md +4 -0
- package/dist/agent-src/rules/source-discovery-gate.md +3 -0
- package/dist/agent-src/rules/source-of-truth.md +2 -0
- package/dist/agent-src/rules/strategy-safety-floor.md +2 -0
- package/dist/agent-src/rules/think-before-action.md +5 -0
- package/dist/agent-src/rules/token-budget-discipline.md +2 -2
- package/dist/agent-src/rules/ui-audit-gate.md +2 -0
- package/dist/agent-src/rules/user-interaction.md +3 -4
- package/dist/agent-src/skills/build-buy-partner/SKILL.md +1 -1
- package/dist/agent-src/skills/copilot-agents-optimization/SKILL.md +4 -4
- package/dist/agent-src/skills/copilot-config/SKILL.md +1 -1
- package/dist/agent-src/skills/deep-reading-analyst/SKILL.md +7 -4
- package/dist/agent-src/skills/description-assist/SKILL.md +1 -1
- package/dist/agent-src/skills/design-intelligence/SKILL.md +6 -180
- package/dist/agent-src/skills/design-intelligence/references/context-and-registers.md +100 -0
- package/dist/agent-src/skills/design-intelligence/references/integration-mapping.md +91 -0
- package/dist/agent-src/skills/design-review/SKILL.md +4 -141
- package/dist/agent-src/skills/design-review/references/review-communication.md +92 -0
- package/dist/agent-src/skills/design-review/references/verification-automation.md +61 -0
- package/dist/agent-src/skills/existing-ui-audit/SKILL.md +8 -27
- package/dist/agent-src/skills/existing-ui-audit/references/anti-slop-cross-reference.md +31 -0
- package/dist/agent-src/skills/fe-design/SKILL.md +4 -289
- package/dist/agent-src/skills/fe-design/references/design-patterns.md +227 -0
- package/dist/agent-src/skills/fe-design/references/design-read-and-memory.md +75 -0
- package/dist/agent-src/skills/market-entry-analysis/SKILL.md +1 -1
- package/dist/agent-src/skills/persona-writing/SKILL.md +2 -2
- package/dist/agent-src/skills/readme-reviewer/SKILL.md +2 -1
- package/dist/agent-src/skills/roadmap-management/SKILL.md +10 -0
- package/dist/agent-src/skills/roadmap-writing/SKILL.md +12 -1
- package/dist/agent-src/skills/rule-writing/SKILL.md +4 -2
- package/dist/agent-src/skills/skill-reviewer/SKILL.md +1 -1
- package/dist/agent-src/skills/skill-writing/SKILL.md +2 -2
- package/dist/agent-src/skills/tailwind-engineer/SKILL.md +3 -1
- package/dist/agent-src/skills/token-optimizer/SKILL.md +2 -2
- package/dist/agent-src/skills/ui-component-architect/SKILL.md +6 -3
- package/dist/agent-src/templates/agent-settings.md +13 -15
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +6 -2
- package/dist/agent-src/templates/persona.md +2 -2
- package/dist/agent-src/templates/roadmaps.md +13 -1
- package/dist/agent-src/templates/rule.md +1 -1
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/_fix_lane.ts +52 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/audit.ts +8 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/design.ts +6 -0
- package/dist/agent-src/templates/scripts/work_engine/intent/classify.ts +56 -4
- package/dist/agent-src/templates/skill.md +1 -1
- package/dist/cli/registry.js +3 -0
- package/dist/cli/registry.js.map +1 -1
- package/dist/cli-delegate/chunk-AIIUU73N.js +2040 -0
- package/dist/cli-delegate/{chunk-ZXXJLL5K.js → chunk-BSLUHV2F.js} +127 -1487
- package/dist/cli-delegate/{chunk-H574KOUH.js → chunk-ELMFOQPW.js} +35 -1
- package/dist/cli-delegate/chunk-LF2KKJ4Q.js +183 -0
- package/dist/cli-delegate/chunk-VSYT7OHO.js +1382 -0
- package/dist/cli-delegate/chunk-XGA2NTU4.js +3727 -0
- package/dist/cli-delegate/cmd_conformance.js +4 -3
- package/dist/cli-delegate/cmd_converge.js +3 -3
- package/dist/cli-delegate/cmd_doctor.js +3 -2
- package/dist/cli-delegate/cmd_explain.js +36 -36
- package/dist/cli-delegate/cmd_export.js +4 -4
- package/dist/cli-delegate/cmd_handoff.js +1169 -0
- package/dist/cli-delegate/cmd_memory_get.js +35 -3754
- package/dist/cli-delegate/cmd_migrate.js +2 -2
- package/dist/cli-delegate/cmd_prune.js +4 -4
- package/dist/cli-delegate/cmd_route_audit.js +249 -0
- package/dist/cli-delegate/cmd_route_explain.js +285 -0
- package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
- package/dist/cli-delegate/cmd_sync.js +4 -4
- package/dist/cli-delegate/cmd_uninstall.js +4 -4
- package/dist/cli-delegate/cmd_update.js +3 -3
- package/dist/cli-delegate/cmd_upgrade.js +3 -3
- package/dist/cli-delegate/cmd_validate.js +4 -4
- package/dist/cli-delegate/cmd_versions.js +3 -3
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +84 -84
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +2 -2
- package/dist/discovery/trust-report.md +1 -1
- package/dist/discovery/workspaces.json +2 -2
- package/dist/hooks/dispatch.js +602 -507
- package/dist/install/install.mjs +34 -0
- package/dist/mcp/awesome-mcp-servers.row.md +1 -1
- package/dist/mcp/mcp-cloudflare-catalogue.json +2 -2
- package/dist/mcp/registry-manifest.json +4 -4
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +25 -3
- package/dist/router.json +1 -1
- package/dist/scripts/_lib/agent_src.js +39 -6
- package/dist/scripts/_lib/agent_src.js.map +1 -1
- package/dist/server/schemas/settings.js +25 -0
- package/dist/server/schemas/settings.js.map +1 -1
- package/docs/guidelines/abstraction-thresholds.md +53 -0
- package/docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md +1 -1
- package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +7 -0
- package/docs/guidelines/agent-infra/context-hygiene-mechanics.md +2 -2
- package/docs/guidelines/agent-infra/minimal-safe-diff-mechanics.md +5 -3
- package/docs/guidelines/agent-infra/size-and-scope.md +8 -2
- package/docs/guidelines/component-oriented-and-oop-development.md +11 -6
- package/docs/guidelines/docs/readme-size-and-splitting.md +5 -2
- package/llms.txt +1 -0
- package/package.json +1 -1
- package/src/agent-src/templates/scripts/work_engine/directives/ui/_fix_lane.ts +52 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/audit.ts +8 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/design.ts +6 -0
- package/src/agent-src/templates/scripts/work_engine/intent/classify.ts +56 -4
- package/src/config/agent-settings.template.yml +68 -0
- package/src/config/evaluator-budgets.json +8 -11
- package/src/config/gate-coverage.yml +70 -0
- package/src/scripts/_cli/cmd_explain.ts +41 -36
- package/src/scripts/_cli/cmd_handoff.ts +405 -0
- package/src/scripts/_cli/cmd_route_audit.ts +290 -0
- package/src/scripts/_cli/cmd_route_explain.ts +269 -0
- package/src/scripts/_cli/handoff_generate.ts +453 -0
- package/src/scripts/_cli/handoff_sessions.ts +435 -0
- package/src/scripts/_dispatch.bash +32 -0
- package/src/scripts/_lib/agent_src.ts +36 -6
- package/src/scripts/_lib/git_env.ts +40 -0
- package/src/scripts/_lib/md_table.ts +27 -0
- package/src/scripts/_lib/planning_settings.ts +43 -0
- package/src/scripts/_lib/release_material.ts +156 -0
- package/src/scripts/_lib/router_match.ts +301 -0
- package/src/scripts/annotate_r1_outcomes.ts +258 -0
- package/src/scripts/check_completion_review.ts +1140 -0
- package/src/scripts/check_condensation.ts +2 -1
- package/src/scripts/check_finding_dispositions.ts +278 -0
- package/src/scripts/check_pack_size.ts +4 -3
- package/src/scripts/check_references.ts +1 -0
- package/src/scripts/check_release_highlights.ts +300 -0
- package/src/scripts/check_release_pr_shape.ts +4 -0
- package/src/scripts/check_release_surface_equality.ts +132 -0
- package/src/scripts/check_reply_consistency.ts +187 -138
- package/src/scripts/compile_router.ts +20 -3
- package/src/scripts/dispatch_r2_reviewer.ts +968 -0
- package/src/scripts/eval_ui_triviality.ts +156 -0
- package/src/scripts/handoff_context_hook.ts +148 -0
- package/src/scripts/hook_manifest.yaml +17 -7
- package/src/scripts/hooks/concern_registry.ts +2 -0
- package/src/scripts/lint_abstraction_thresholds.ts +327 -0
- package/src/scripts/lint_framework_leakage_allowlist.json +2 -2
- package/src/scripts/lint_plan_risk_register.ts +931 -0
- package/src/scripts/lint_profile_personas.ts +153 -0
- package/src/scripts/lint_token_budget_discipline.ts +148 -0
- package/src/scripts/lint_trigger_collisions.ts +257 -0
- package/src/scripts/release.ts +156 -32
- package/src/scripts/release_drill.ts +491 -0
- package/src/scripts/router_telemetry.ts +16 -290
- package/src/scripts/schemas/command.schema.json +33 -0
- package/src/scripts/schemas/rule.schema.json +10 -0
- package/src/scripts/self_review_gate.ts +41 -3
- package/src/scripts/skill_linter.ts +3 -1
- package/src/scripts/smoke/router.sh +1 -1
- package/src/scripts/update_counts.ts +60 -12
- package/src/server/schemas/settings.ts +41 -0
- package/dist/cli-delegate/{chunk-XX6TOPD7.js → chunk-WR6GTRHJ.js} +3 -3
|
@@ -11,9 +11,10 @@ triggers:
|
|
|
11
11
|
- keyword: "symptoms"
|
|
12
12
|
- keyword: "dosage"
|
|
13
13
|
- keyword: "medication"
|
|
14
|
+
# `valuation` / `DCF` moved to finance-safety-floor (2026-08-04) — that
|
|
15
|
+
# pack floor already carried both; this rule keeps the advisory-shaped
|
|
16
|
+
# finance triggers the floor does not cover.
|
|
14
17
|
- keyword: "investment memo"
|
|
15
|
-
- keyword: "valuation"
|
|
16
|
-
- keyword: "DCF"
|
|
17
18
|
- keyword: "tax position"
|
|
18
19
|
- keyword: "strategic recommendation"
|
|
19
20
|
- keyword: "board memo"
|
|
@@ -39,6 +40,8 @@ applies_to_user_types:
|
|
|
39
40
|
- "creator"
|
|
40
41
|
workspaces: [agent-config-maintainer, construction, engineering, finance, founder, gtm, legal-review-prep, ops, product, small-business]
|
|
41
42
|
packs: [meta]
|
|
43
|
+
collision_ok:
|
|
44
|
+
"review this contract": "contract review is advisory-shaped — the not-legal-advice footer floor"
|
|
42
45
|
---
|
|
43
46
|
|
|
44
47
|
# Domain Safety — Advisory Disclaimer
|
|
@@ -127,7 +127,7 @@ k-anonymity rule of thumb: combinations of {birth date, ZIP/postal code, gender}
|
|
|
127
127
|
| Internal analyst, BYO-device, cloud analytics | Pseudonymized + aggregated only |
|
|
128
128
|
| External partner, signed DPA | Pseudonymized + minimum-necessary columns |
|
|
129
129
|
| External partner, no DPA | Refuse; require DPA first |
|
|
130
|
-
| Public dataset | Aggregated, k-anonymity ≥ 5, no quasi-identifier combos |
|
|
130
|
+
| Public dataset | Aggregated, k-anonymity ≥ 5 as the release floor, no quasi-identifier combos — a stricter bar (k ≥ 50) applies before *classifying* a metric as anonymous, per [`data-handling-judgment`](../skills/data-handling-judgment/SKILL.md) |
|
|
131
131
|
|
|
132
132
|
## Surface 4 — Legal privilege markers (legal pack)
|
|
133
133
|
|
|
@@ -34,6 +34,15 @@ workspaces: [agent-config-maintainer]
|
|
|
34
34
|
packs: [meta]
|
|
35
35
|
enforced_by:
|
|
36
36
|
- "validator:src/scripts/lint_framework_leakage.ts"
|
|
37
|
+
collision_ok:
|
|
38
|
+
"src/skills/": "generic skills must not mandate a stack — fires on skill edits"
|
|
39
|
+
"src/rules/": "rule edits are checked for framework leakage"
|
|
40
|
+
"src/agent-src/commands/": "command edits are checked for framework leakage"
|
|
41
|
+
"artisan": "artisan named in a generic artifact is leakage — the lint surface"
|
|
42
|
+
"eloquent": "eloquent named in a generic artifact is leakage — the lint surface"
|
|
43
|
+
"formrequest": "FormRequest named in a generic artifact is leakage — the lint surface"
|
|
44
|
+
"phpstan": "phpstan named in a generic artifact is leakage — the lint surface"
|
|
45
|
+
"rector": "rector named in a generic artifact is leakage — the lint surface"
|
|
37
46
|
---
|
|
38
47
|
|
|
39
48
|
# framework-neutrality-in-generic-skills
|
|
@@ -18,6 +18,10 @@ applies_to_user_types:
|
|
|
18
18
|
self_contained: true
|
|
19
19
|
workspaces: [agent-config-maintainer, engineering, gtm]
|
|
20
20
|
packs: [ai-image]
|
|
21
|
+
collision_ok:
|
|
22
|
+
"/image:": "rights/likeness gate on the image-generation surface"
|
|
23
|
+
"likeness": "its own core subject — the rights gate"
|
|
24
|
+
"scripts/ai-image/adapters/": "adapter edits touch the likeness-gated generation path"
|
|
21
25
|
---
|
|
22
26
|
|
|
23
27
|
# Image Likeness and Rights
|
|
@@ -16,6 +16,10 @@ validator_ignore:
|
|
|
16
16
|
reason: "Rule cites the authoring tree when describing where examples live."
|
|
17
17
|
workspaces: [engineering]
|
|
18
18
|
packs: [engineering-base]
|
|
19
|
+
collision_ok:
|
|
20
|
+
"migration": "a migration is a significant behavioural change — the pre-implementation checks apply"
|
|
21
|
+
"refactor": "refactor = significant change; the demand gate + three checks apply"
|
|
22
|
+
"implement": "its own core trigger — pre-implementation validation"
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
# Improve Before Implement
|
|
@@ -16,6 +16,10 @@ trust:
|
|
|
16
16
|
install:
|
|
17
17
|
default: false
|
|
18
18
|
removable: true
|
|
19
|
+
collision_ok:
|
|
20
|
+
"artisan": "artisan is a Laravel-flavoured PHP routing cue — load the laravel skill"
|
|
21
|
+
"eloquent": "eloquent is a Laravel routing cue"
|
|
22
|
+
"formrequest": "FormRequest is a Laravel routing cue"
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
# Laravel Routing
|
|
@@ -28,6 +28,9 @@ packs: [legal-review-prep]
|
|
|
28
28
|
trust:
|
|
29
29
|
level: advisory
|
|
30
30
|
human_review_required: true
|
|
31
|
+
collision_ok:
|
|
32
|
+
"controller": "'controller' is a GDPR role term (controller/processor) in the legal pack"
|
|
33
|
+
"review this contract": "the legal-pack contract-review gate — both floors must fire"
|
|
31
34
|
---
|
|
32
35
|
<!-- agent-config:human-review-banner -->
|
|
33
36
|
> HUMAN REVIEW REQUIRED · trust: advisory · owner: unknown
|
|
@@ -17,6 +17,9 @@ workspaces: [engineering]
|
|
|
17
17
|
packs: [engineering-base]
|
|
18
18
|
enforced_by:
|
|
19
19
|
- "validator:src/scripts/lint_skill_frontmatter_safety.ts"
|
|
20
|
+
collision_ok:
|
|
21
|
+
"src/skills/": "skill authoring reviews tool grants and the egress leg"
|
|
22
|
+
"src/agent-src/commands/": "command authoring reviews the three trifecta legs"
|
|
20
23
|
---
|
|
21
24
|
|
|
22
25
|
# Lethal-Trifecta Guard
|
|
@@ -31,6 +31,11 @@ workspaces: [agent-config-maintainer, engineering, gtm]
|
|
|
31
31
|
packs: [ai-image, ai-video]
|
|
32
32
|
enforced_by:
|
|
33
33
|
- "validator:src/scripts/lint_media_policy_linkage.ts"
|
|
34
|
+
collision_ok:
|
|
35
|
+
"/image:": "routes the project-local media policy layer on the same surface"
|
|
36
|
+
"/audio:": "routes the media policy layer for audio surfaces"
|
|
37
|
+
"/video:": "routes the media policy layer for video surfaces"
|
|
38
|
+
"likeness": "likeness prompts must load the policy layer before generation"
|
|
34
39
|
---
|
|
35
40
|
|
|
36
41
|
# Media Governance Routing
|
|
@@ -20,6 +20,8 @@ packs: [meta]
|
|
|
20
20
|
enforced_by:
|
|
21
21
|
- "validator:src/scripts/check_no_roadmap_refs.ts"
|
|
22
22
|
- "validator:src/scripts/check_council_references.ts"
|
|
23
|
+
collision_ok:
|
|
24
|
+
"agents/roadmaps/": "roadmap edits are where transient-ref links get written"
|
|
23
25
|
---
|
|
24
26
|
|
|
25
27
|
# No Transient References from Stable Artifacts
|
|
@@ -42,8 +42,15 @@ in a broken state:
|
|
|
42
42
|
| `[Your component here]` / `<YourComponentName>` | Use the actual component name or write the component |
|
|
43
43
|
| `Lorem ipsum` / `dolor sit amet` in UI output intended for review | Use realistic placeholder content or ask for content |
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
`src/scripts/lint_output_slop.ts`) —
|
|
45
|
+
A subset of the banned patterns is detected by `lint_output_slop.ts` (see
|
|
46
|
+
`src/scripts/lint_output_slop.ts`) — Lorem-ipsum filler, bracket placeholders,
|
|
47
|
+
`// rest of component` / `// ... (unchanged)`-style implementation
|
|
48
|
+
placeholders, "for brevity" in code, standalone Unicode `…` lines, and
|
|
49
|
+
`// TODO … implement` stubs — violations cause a CI exit-code-2. Three rows
|
|
50
|
+
are NOT linter-detected (`/* similar pattern */`, `// rest follows same
|
|
51
|
+
pattern`, ASCII `...`), and the linter scans only the suite's authored
|
|
52
|
+
markdown (`src/skills/`, `src/rules/`, `docs/guidelines/`) as a backstop; for
|
|
53
|
+
generated output the ban itself is model-carried.
|
|
47
54
|
|
|
48
55
|
## On budget overflow — PAUSED protocol
|
|
49
56
|
|
|
@@ -12,6 +12,9 @@ triggers:
|
|
|
12
12
|
self_contained: true
|
|
13
13
|
workspaces: [engineering]
|
|
14
14
|
packs: [engineering-base]
|
|
15
|
+
collision_ok:
|
|
16
|
+
"migration": "migrations add columns — multi-state fields should land as enums from the start"
|
|
17
|
+
"category": "a category field is the canonical enum candidate"
|
|
15
18
|
---
|
|
16
19
|
|
|
17
20
|
# Prefer Enums Over Literal Values
|
|
@@ -25,6 +25,11 @@ applies_to_user_types:
|
|
|
25
25
|
- "maintainer"
|
|
26
26
|
workspaces: [agent-config-maintainer, engineering, gtm]
|
|
27
27
|
packs: [ai-image, ai-video]
|
|
28
|
+
collision_ok:
|
|
29
|
+
"/image:": "provider-tier gate fires on the same generation surface"
|
|
30
|
+
"/audio:": "provider-tier gate for audio providers"
|
|
31
|
+
"/video:": "provider-tier gate for video providers"
|
|
32
|
+
"scripts/ai-image/adapters/": "adapter edits are the lifecycle contract's surface"
|
|
28
33
|
---
|
|
29
34
|
|
|
30
35
|
# Provider Lifecycle Discipline
|
|
@@ -23,6 +23,9 @@ workspaces: [engineering]
|
|
|
23
23
|
packs: [scale-discipline]
|
|
24
24
|
trust:
|
|
25
25
|
level: professional
|
|
26
|
+
collision_ok:
|
|
27
|
+
"migration": "R-A6 migration-safety owns reversibility/index/retention rules"
|
|
28
|
+
"schema": "schema change routes the persistence pack floor (R-A6/R-A2)"
|
|
26
29
|
---
|
|
27
30
|
|
|
28
31
|
# Scale Discipline
|
|
@@ -3,13 +3,18 @@ type: "auto"
|
|
|
3
3
|
tier: "2a"
|
|
4
4
|
alwaysApply: false
|
|
5
5
|
description: "Security-sensitive paths (auth, billing, tenants, secrets, uploads, webhooks) — threat-model BEFORE editing"
|
|
6
|
+
# Trigger set disjoint from secret-vcs-guard by design (2026-08-04): bare
|
|
7
|
+
# `secret` / `password` belong to the VCS-write surface (secret-vcs-guard);
|
|
8
|
+
# this rule keeps the conversational security surface (editing auth/billing/
|
|
9
|
+
# tenant/webhook paths and secrets *infrastructure*, not committing a
|
|
10
|
+
# credential).
|
|
6
11
|
triggers:
|
|
7
12
|
- keyword: "auth"
|
|
8
13
|
- keyword: "billing"
|
|
9
14
|
- keyword: "tenant"
|
|
10
|
-
- keyword: "secret"
|
|
11
15
|
- keyword: "webhook"
|
|
12
|
-
- keyword: "
|
|
16
|
+
- keyword: "oauth"
|
|
17
|
+
- keyword: "signing key"
|
|
13
18
|
validator_ignore:
|
|
14
19
|
- type: "substring"
|
|
15
20
|
pattern: "../../docs/"
|
|
@@ -19,6 +24,8 @@ workspaces: [engineering]
|
|
|
19
24
|
packs: [engineering-base]
|
|
20
25
|
enforced_by:
|
|
21
26
|
- "none"
|
|
27
|
+
collision_ok:
|
|
28
|
+
"tenant": "tenancy is a threat-model-before-edit surface"
|
|
22
29
|
---
|
|
23
30
|
|
|
24
31
|
# Security-Sensitive Stop Rule
|
|
@@ -19,6 +19,12 @@ routes_to:
|
|
|
19
19
|
- "skill:testing-anti-patterns"
|
|
20
20
|
workspaces: [engineering]
|
|
21
21
|
packs: [engineering-base]
|
|
22
|
+
collision_ok:
|
|
23
|
+
"migration": "migration = invisible-controls surface (reversible, indexed, tenant-scoped)"
|
|
24
|
+
"refactor": "a refactor must generalize, never overfit — the anchor applies"
|
|
25
|
+
"implement": "implementation = the invisible-controls checklist"
|
|
26
|
+
"endpoint": "endpoint row of the surface-to-controls table"
|
|
27
|
+
"component": "component work = generalize + reuse duty"
|
|
22
28
|
---
|
|
23
29
|
|
|
24
30
|
# Senior Engineering Discipline
|
|
@@ -19,6 +19,10 @@ workspaces: [agent-config-maintainer]
|
|
|
19
19
|
packs: [meta]
|
|
20
20
|
enforced_by:
|
|
21
21
|
- "validator:src/scripts/check_no_external_sources.ts"
|
|
22
|
+
collision_ok:
|
|
23
|
+
"src/skills/": "skill prose must not name derivation sources"
|
|
24
|
+
"src/rules/": "rule prose must not name derivation sources"
|
|
25
|
+
"agents/roadmaps/": "harvest/comparison roadmaps stay anonymized"
|
|
22
26
|
---
|
|
23
27
|
|
|
24
28
|
# Source Confidentiality
|
|
@@ -17,6 +17,9 @@ routes_to:
|
|
|
17
17
|
- "skill:source-discovery"
|
|
18
18
|
workspaces: [engineering]
|
|
19
19
|
packs: [engineering-base]
|
|
20
|
+
collision_ok:
|
|
21
|
+
"endpoint": "an unconfirmed endpoint shape needs evidence before code"
|
|
22
|
+
"schema": "a DB schema is the canonical structure to verify from a real source"
|
|
20
23
|
---
|
|
21
24
|
|
|
22
25
|
# Source Discovery — evidence before structure
|
|
@@ -33,6 +33,8 @@ packs: [founder-strategy]
|
|
|
33
33
|
trust:
|
|
34
34
|
level: advisory
|
|
35
35
|
human_review_required: true
|
|
36
|
+
collision_ok:
|
|
37
|
+
"category": "'category' is positioning vocabulary (category design) in the strategy pack"
|
|
36
38
|
---
|
|
37
39
|
<!-- agent-config:human-review-banner -->
|
|
38
40
|
> HUMAN REVIEW REQUIRED · trust: advisory · owner: unknown
|
|
@@ -17,6 +17,11 @@ triggers:
|
|
|
17
17
|
self_contained: true
|
|
18
18
|
workspaces: [engineering]
|
|
19
19
|
packs: [engineering-base]
|
|
20
|
+
collision_ok:
|
|
21
|
+
"refactor": "analyze-before-modify floor fires on any refactor"
|
|
22
|
+
"implement": "analyze-first floor on any implementation"
|
|
23
|
+
"debug": "targeted inspection over brute force while debugging"
|
|
24
|
+
"fix": "no blind trial-and-error on fixes — max 2 retries"
|
|
20
25
|
---
|
|
21
26
|
|
|
22
27
|
# think-before-action
|
|
@@ -50,8 +50,8 @@ A skill claiming `rich` MUST satisfy ALL three:
|
|
|
50
50
|
carry a `load_context` pointer instead.
|
|
51
51
|
|
|
52
52
|
3. **≤ 15 % of the suite's skills may claim `rich`** — the CI linter counts
|
|
53
|
-
rich-tagged skills and hard-fails if the ratio is exceeded. With ~
|
|
54
|
-
cap is ~
|
|
53
|
+
rich-tagged skills and hard-fails if the ratio is exceeded. With ~290 skills
|
|
54
|
+
(288 as-of 2026-08), the cap is ~43. Do not claim `rich` for convenience; claim it only for
|
|
55
55
|
irreducible-complexity skills.
|
|
56
56
|
|
|
57
57
|
## Telegraph-speak amendment
|
|
@@ -46,12 +46,11 @@ Mechanical backstop:
|
|
|
46
46
|
(non-zero exit on any rule below). Self-scan is the primary gate;
|
|
47
47
|
the script is the deterministic safety net.
|
|
48
48
|
|
|
49
|
-
## Question pacing —
|
|
49
|
+
## Question pacing — one decision point per turn
|
|
50
50
|
|
|
51
|
-
- **
|
|
52
|
-
- **Complex, dependent, or branching questions** must be asked **one at a time** — one question per turn — so each answer informs the next.
|
|
51
|
+
[`ask-when-uncertain`](ask-when-uncertain.md)'s Iron Law is canonical: **one question per turn**. What counts as "one question" is **one decision point** — a single numbered-options block is ONE question even when its options span multiple dimensions (a depth-and-framework matrix answered with a single number is one decision). Multiple separate asks in one reply, or a block whose answer would need a structured reply (`1a, 2b`), violate the kernel rule's self-check.
|
|
53
52
|
|
|
54
|
-
If in doubt,
|
|
53
|
+
If in doubt, split into serial turns — never a long batched prompt.
|
|
55
54
|
|
|
56
55
|
## Mechanics — rationale, failure modes, format details, examples
|
|
57
56
|
|
|
@@ -70,7 +70,7 @@ Integration cost is the most under-counted number. For each option:
|
|
|
70
70
|
2. **Buy** — vendor integration (weeks to first value) + ongoing change-management cost + lock-in (cost to switch off).
|
|
71
71
|
3. **Partner** — boundary management + divergence cost (what happens when partner changes their roadmap?).
|
|
72
72
|
|
|
73
|
-
A buy decision with 2-week integration is rare;
|
|
73
|
+
A buy decision with 2-week integration is rare; industry-typical ranges (public integration benchmarks — not a prediction of your timeline, per `direct-answers` § no duration estimates) run 4–8 weeks for non-trivial integrations and 3–6 months for enterprise-grade ones.
|
|
74
74
|
|
|
75
75
|
### Step 3: Inversion — name the failure mode for each option
|
|
76
76
|
|
|
@@ -47,7 +47,7 @@ Only after this analysis, proceed with optimization.
|
|
|
47
47
|
|---|---|
|
|
48
48
|
| **Audience** | Augment Agent, other AI agents |
|
|
49
49
|
| **Can read `.augment/`?** | ✅ Yes — can follow references |
|
|
50
|
-
| **
|
|
50
|
+
| **Size budget** | ≤ 3,000 chars (package root; consumer template ≤ 2,500) — enforced by `lint_agents_md.ts`; see `size-and-scope.md` |
|
|
51
51
|
| **Purpose** | Project-specific setup, Docker, testing, quality tools |
|
|
52
52
|
|
|
53
53
|
**What belongs here:**
|
|
@@ -73,7 +73,7 @@ Only after this analysis, proceed with optimization.
|
|
|
73
73
|
|---|---|
|
|
74
74
|
| **Audience** | GitHub Copilot (Code Review bot + Chat) |
|
|
75
75
|
| **Can read `.augment/`?** | ❌ Code Review cannot, ✅ Chat can |
|
|
76
|
-
| **Line budget** |
|
|
76
|
+
| **Line budget** | < 150 lines (ideal < 60); Copilot Code Review reads only the first 4,000 chars |
|
|
77
77
|
| **Purpose** | Coding standards, review rules, architecture constraints |
|
|
78
78
|
|
|
79
79
|
**What belongs here:**
|
|
@@ -127,8 +127,8 @@ both. Instead, reference with a table:
|
|
|
127
127
|
|
|
128
128
|
| File | 🟢 Good | 🟡 Warning | 🔴 Over budget |
|
|
129
129
|
|---|---|---|---|
|
|
130
|
-
| `AGENTS.md` | ≤
|
|
131
|
-
| `copilot-instructions.md` |
|
|
130
|
+
| `AGENTS.md` | ≤ 2,800 chars | 2,801–3,000 chars | > 3,000 chars — `lint_agents_md.ts` fails (consumer template: warn 2,300 / fail 2,500) |
|
|
131
|
+
| `copilot-instructions.md` | < 60 lines | 60–150 lines | > 150 lines, or key rules past the 4,000-char Copilot read window |
|
|
132
132
|
|
|
133
133
|
### Reduction strategies (when over budget)
|
|
134
134
|
|
|
@@ -197,7 +197,7 @@ Copilot and Augment complement each other:
|
|
|
197
197
|
|
|
198
198
|
- copilot-instructions.md is for GitHub Copilot, NOT for Augment — don't mix audiences.
|
|
199
199
|
- Don't duplicate .augment/ content into copilot-instructions.md — it bloats the file and causes drift.
|
|
200
|
-
- Copilot reads the
|
|
200
|
+
- Keep copilot-instructions.md under 150 lines (per `size-and-scope.md`) — Copilot Code Review reads only the first 4,000 characters, so put the highest-priority rules up top.
|
|
201
201
|
|
|
202
202
|
## Do NOT
|
|
203
203
|
|
|
@@ -49,11 +49,14 @@ Every framework module is a project-local guideline under `docs/guidelines/agent
|
|
|
49
49
|
|
|
50
50
|
### Step 1: Initialize Analysis
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Open with ONE decision point (per `ask-when-uncertain` — a single numbered-options block answerable with a single number is one question; never three separate asks):
|
|
53
53
|
|
|
54
|
-
1. **
|
|
55
|
-
2. **
|
|
56
|
-
3. **
|
|
54
|
+
1. **Standard read** — L2 depth, auto-selected frameworks (default).
|
|
55
|
+
2. **Quick skim** — L1 depth, auto-selected frameworks.
|
|
56
|
+
3. **Deep dive** — L3/L4 depth, auto-selected frameworks.
|
|
57
|
+
4. **Custom** — name your goal (problem-solving · learning · writing · decision-making · curiosity), depth level, and/or specific frameworks in your reply.
|
|
58
|
+
|
|
59
|
+
Depth levels are scope descriptors, not wall-clock promises (per `direct-answers` — no duration estimates): L1 skim · L2 standard · L3 deep · L4 exhaustive-research.
|
|
57
60
|
|
|
58
61
|
If the user does not answer, default to L2 Standard with auto-selected frameworks.
|
|
59
62
|
|
|
@@ -52,7 +52,7 @@ Normative source: [`skill-quality`](../../rules/skill-quality.md) § *Descriptio
|
|
|
52
52
|
|
|
53
53
|
| Check | Pass when… |
|
|
54
54
|
|---|---|
|
|
55
|
-
| **Length** | ≤ 200 characters (
|
|
55
|
+
| **Length** | ≤ 200 characters (hard cap; linter errors `description_too_long`) |
|
|
56
56
|
| **Trigger prefix** | Starts with "Use when …" or equivalent trigger phrasing |
|
|
57
57
|
| **Trigger classes** | Names ≥ 2 of: domain, symptom, user phrasing, tool, file type |
|
|
58
58
|
| **Undertrigger tail** | Ends with "… even if the user doesn't say `{name}`" or equivalent |
|