aiwg 2026.6.12 → 2026.7.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/agentic/code/addons/agentic-installer/rules/RULES-INDEX.md +2 -4
- package/agentic/code/addons/agentic-installer/rules/installer-authoring.md +2 -0
- package/agentic/code/addons/agentic-installer/rules/installer-safety.md +2 -0
- package/agentic/code/addons/aiwg-dev/rules/addon-boundaries.md +4 -0
- package/agentic/code/addons/aiwg-dev/rules/aiwg-ci-safety.md +4 -0
- package/agentic/code/addons/aiwg-dev/rules/aiwg-dir-reference-contract.md +4 -0
- package/agentic/code/addons/aiwg-dev/rules/component-completeness.md +4 -0
- package/agentic/code/addons/aiwg-dev/rules/no-circular-skill-calls.md +4 -0
- package/agentic/code/addons/aiwg-dev/rules/skill-placement.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/RULES-INDEX.md +27 -54
- package/agentic/code/addons/aiwg-utils/rules/activity-log.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/agent-deployment.md +2 -0
- package/agentic/code/addons/aiwg-utils/rules/auto-compact-continue.md +66 -180
- package/agentic/code/addons/aiwg-utils/rules/cli-secondary.md +52 -155
- package/agentic/code/addons/aiwg-utils/rules/context-bloat.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/context-budget.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/debug-source-not-output.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/delivery-policy.md +1 -0
- package/agentic/code/addons/aiwg-utils/rules/diagram-generation.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/escalation-discipline.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/god-session.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/human-authorization.md +1 -0
- package/agentic/code/addons/aiwg-utils/rules/implicit-dependencies.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/instruction-comprehension.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/native-ux-tools.md +49 -2
- package/agentic/code/addons/aiwg-utils/rules/no-time-estimates.md +2 -0
- package/agentic/code/addons/aiwg-utils/rules/parallel-then-synthesize.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/post-commit-index-refresh.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/quiet-mode.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/research-before-decision.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/respect-repo-access-manifest.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/sdlc-right-sizing.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/skill-discovery.md +46 -331
- package/agentic/code/addons/aiwg-utils/rules/soul-enforcement.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md +41 -472
- package/agentic/code/addons/aiwg-utils/rules/tool-quota.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/vague-discretion.md +4 -0
- package/agentic/code/addons/aiwg-utils/skills/doc-sync/SKILL.md +56 -354
- package/agentic/code/addons/browser-control/rules/browser-control-safety.md +4 -0
- package/agentic/code/addons/color-palette/rules/color-output-format.md +1 -1
- package/agentic/code/addons/context-curator/rules/distractor-filter.md +5 -0
- package/agentic/code/addons/context-curator/rules/scoped-reasoning.md +5 -0
- package/agentic/code/addons/daemon/rules/daemon-interaction.md +1 -0
- package/agentic/code/addons/prose-integration/rules/prose-bridge.md +1 -0
- package/agentic/code/addons/prose-integration/rules/prose-resolution.md +1 -0
- package/agentic/code/addons/rlm/rules/rlm-context-management.md +37 -761
- package/agentic/code/addons/verbalized-sampling/rules/diversity-awareness.md +2 -0
- package/agentic/code/addons/voice-framework/rules/voice-framework.md +2 -0
- package/agentic/code/extensions/dev/rules/dev-ci-self-contained.md +4 -0
- package/agentic/code/extensions/dev/rules/dev-idempotent-builds.md +4 -0
- package/agentic/code/extensions/dev/rules/dev-pipeline-safety.md +4 -0
- package/agentic/code/extensions/dev/rules/dev-secret-hygiene.md +4 -0
- package/agentic/code/extensions/it/rules/it-asset-authority.md +4 -0
- package/agentic/code/extensions/it/rules/it-change-control.md +4 -0
- package/agentic/code/extensions/it/rules/it-dr-validation.md +4 -0
- package/agentic/code/extensions/it/rules/it-service-health.md +4 -0
- package/agentic/code/extensions/net/rules/net-change-blast-radius.md +4 -0
- package/agentic/code/extensions/net/rules/net-state-authority.md +4 -0
- package/agentic/code/extensions/net/rules/net-tunnel-safety.md +4 -0
- package/agentic/code/extensions/sec/rules/sec-access-audit-frequency.md +4 -0
- package/agentic/code/extensions/sec/rules/sec-cert-expiry-gates.md +4 -0
- package/agentic/code/extensions/sec/rules/sec-key-material-handling.md +4 -0
- package/agentic/code/extensions/sec/rules/sec-luks-dual-phase.md +4 -0
- package/agentic/code/extensions/stream/rules/stream-pipeline-gates.md +4 -0
- package/agentic/code/extensions/stream/rules/stream-safety.md +4 -0
- package/agentic/code/extensions/sys/rules/sys-hardware-safety.md +4 -0
- package/agentic/code/extensions/sys/rules/sys-host-independence.md +4 -0
- package/agentic/code/extensions/sys/rules/sys-immutable-base.md +5 -0
- package/agentic/code/extensions/sys/rules/sys-interactive-gate.md +4 -0
- package/agentic/code/frameworks/forensics-complete/rules/evidence-integrity.md +4 -0
- package/agentic/code/frameworks/forensics-complete/rules/non-destructive.md +4 -0
- package/agentic/code/frameworks/forensics-complete/rules/red-flag-escalation.md +4 -0
- package/agentic/code/frameworks/forensics-complete/rules/volatility-order.md +4 -0
- package/agentic/code/frameworks/ops-complete/rules/RULES-INDEX.md +4 -8
- package/agentic/code/frameworks/ops-complete/rules/ops-cross-repo.md +4 -0
- package/agentic/code/frameworks/ops-complete/rules/ops-documentation.md +4 -0
- package/agentic/code/frameworks/ops-complete/rules/ops-issue-tracking.md +4 -0
- package/agentic/code/frameworks/ops-complete/rules/ops-safety.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/flows/capabilities/release-doc-sync.yaml +3 -1
- package/agentic/code/frameworks/sdlc-complete/rules/README.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/RULES-INDEX.md +37 -74
- package/agentic/code/frameworks/sdlc-complete/rules/actionable-feedback.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/agent-fallback.md +34 -318
- package/agentic/code/frameworks/sdlc-complete/rules/agent-friendly-code.md +22 -274
- package/agentic/code/frameworks/sdlc-complete/rules/agent-generation-guardrails.md +20 -244
- package/agentic/code/frameworks/sdlc-complete/rules/anti-laziness.md +53 -796
- package/agentic/code/frameworks/sdlc-complete/rules/artifact-discovery.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/auto-reply-chains.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/best-output-selection.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/citation-policy.md +45 -443
- package/agentic/code/frameworks/sdlc-complete/rules/config-in-environment.md +2 -0
- package/agentic/code/frameworks/sdlc-complete/rules/conversable-agent-interface.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/criticality-panel-sizing.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/disposable-processes.md +2 -0
- package/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md +25 -304
- package/agentic/code/frameworks/sdlc-complete/rules/failure-mitigation.md +48 -247
- package/agentic/code/frameworks/sdlc-complete/rules/few-shot-examples.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/hitl-gates.md +31 -277
- package/agentic/code/frameworks/sdlc-complete/rules/hitl-patterns.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/human-gate-display.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/index-generation.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/logs-as-event-streams.md +2 -0
- package/agentic/code/frameworks/sdlc-complete/rules/mention-wiring.md +5 -0
- package/agentic/code/frameworks/sdlc-complete/rules/no-attribution.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/progressive-disclosure.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/provenance-tracking.md +39 -349
- package/agentic/code/frameworks/sdlc-complete/rules/qualified-references.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/reasoning-sections.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/reproducibility-validation.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/reproducibility.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/research-metadata.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/sdlc-orchestration.md +2 -0
- package/agentic/code/frameworks/sdlc-complete/rules/self-maintenance.md +5 -0
- package/agentic/code/frameworks/sdlc-complete/rules/stateless-processes.md +2 -0
- package/agentic/code/frameworks/sdlc-complete/rules/tao-loop.md +25 -274
- package/agentic/code/frameworks/sdlc-complete/rules/thought-protocol.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/token-security.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/versioning.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/skills/doc-sync/SKILL.md +95 -206
- package/agentic/code/frameworks/sdlc-complete/templates/openhuman/AGENTS.md.aiwg-template +5 -0
- package/agentic/code/frameworks/security-engineering/rules/RULES-INDEX.md +7 -19
- package/agentic/code/frameworks/security-engineering/rules/api-abi-stability.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/banned-apis.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md +4 -0
- package/agentic/code/frameworks/security-engineering/rules/committer-2fa-required.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/crypto-flag-verification.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/dependency-source-policy.md +4 -0
- package/agentic/code/frameworks/security-engineering/rules/no-adhoc-kdf.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/no-binary-blobs.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/no-confusable-unicode.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/no-key-reuse-across-purposes.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/no-unauthenticated-encryption.md +1 -0
- package/agentic/code/frameworks/security-engineering/rules/strict-toolchain.md +1 -0
- package/agentic/code/providers/capability-matrix.yaml +20 -0
- package/dist/src/mcp/elicitation.mjs +149 -0
- package/dist/src/mcp/server.mjs +7 -0
- package/dist/src/mcp/tools/interaction.mjs +87 -0
- package/dist/src/providers/capability-matrix.d.ts +27 -0
- package/dist/src/providers/capability-matrix.d.ts.map +1 -1
- package/dist/src/providers/capability-matrix.js.map +1 -1
- package/package.json +3 -1
- package/plugins/codex-sdlc/skills/doc-sync/SKILL.md +95 -187
- package/plugins/sdlc/skills/doc-sync/SKILL.md +95 -187
- package/plugins/utils/skills/doc-sync/SKILL.md +56 -354
- package/tools/agents/providers/base.mjs +145 -5
- package/tools/agents/providers/claude.mjs +10 -0
- package/tools/agents/providers/codex.mjs +13 -0
- package/tools/agents/providers/copilot.mjs +13 -0
- package/tools/agents/providers/cursor.mjs +13 -0
- package/tools/agents/providers/factory.mjs +13 -0
- package/tools/agents/providers/hermes.mjs +11 -1
- package/tools/agents/providers/openclaw.mjs +10 -0
- package/tools/agents/providers/opencode.mjs +14 -0
- package/tools/agents/providers/windsurf.mjs +13 -0
- package/tools/cli/doctor.mjs +50 -0
- package/tools/lint/claude-context-inventory.mjs +328 -0
- package/tools/migrations/add-rule-enforcement-frontmatter.mjs +204 -0
- package/tools/validation/claude-context-repro.mjs +322 -0
- package/tools/warp/setup-warp.mjs +14 -0
|
@@ -9,13 +9,11 @@ Safety and authoring rules for the `setup.aiwg.io/v1` SetupManifest language and
|
|
|
9
9
|
### HIGH
|
|
10
10
|
|
|
11
11
|
#### installer-safety
|
|
12
|
-
**Summary**: 7 mandatory safety behaviors for installer-agent and setup-run: show before run, confirm destructive operations, validate schema before execution, treat agentic steps as exception-handling only, collect all required params before execution
|
|
13
|
-
**When to apply**: Executing any SetupManifest, generating manifests, implementing setup-run or setup-validate skills, reviewing installer output for safety compliance
|
|
12
|
+
**Summary**: 7 mandatory safety behaviors for installer-agent and setup-run: show before run, confirm destructive operations, validate schema before execution, treat agentic steps as exception-handling only, collect all required params before execution…
|
|
14
13
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/agentic-installer/rules/installer-safety.md
|
|
15
14
|
|
|
16
15
|
#### installer-authoring
|
|
17
|
-
**Summary**: 5 authoring rules for SetupManifest files and script templates: script-first design (agentic steps are exception handling only), always source lib scripts in bash/PowerShell templates, manifests describe while scripts act, one manifest per
|
|
18
|
-
**When to apply**: Writing or reviewing setup.manifest.yaml files, generating script templates, authoring setup-generate skill output, code review of installer artifacts
|
|
16
|
+
**Summary**: 5 authoring rules for SetupManifest files and script templates: script-first design (agentic steps are exception handling only), always source lib scripts in bash/PowerShell templates, manifests describe while scripts act, one manifest per…
|
|
19
17
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/agentic-installer/rules/installer-authoring.md
|
|
20
18
|
|
|
21
19
|
---
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
enforcement: high
|
|
2
3
|
name: installer-authoring
|
|
3
4
|
description: Authoring rules for setup.aiwg.io/v1 SetupManifest files and script templates. Enforces script-first design, template reuse, and consistent manifest structure.
|
|
4
5
|
type: feedback
|
|
@@ -7,6 +8,7 @@ priority: HIGH
|
|
|
7
8
|
|
|
8
9
|
# Installer Authoring Rules
|
|
9
10
|
|
|
11
|
+
**Enforcement Level**: HIGH
|
|
10
12
|
Rules for writing `setup.aiwg.io/v1` SetupManifest files and their accompanying scripts.
|
|
11
13
|
|
|
12
14
|
## Rule 1: Script-First Design
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
enforcement: high
|
|
2
3
|
name: installer-safety
|
|
3
4
|
description: Mandatory safety behaviors for the installer-agent and setup-run skill. Prevents destructive actions, enforces user authorization, and protects against script injection.
|
|
4
5
|
type: feedback
|
|
@@ -7,6 +8,7 @@ priority: HIGH
|
|
|
7
8
|
|
|
8
9
|
# Installer Safety Rules
|
|
9
10
|
|
|
11
|
+
**Enforcement Level**: HIGH
|
|
10
12
|
Mandatory behaviors for all agents and skills operating on `setup.aiwg.io/v1` manifests.
|
|
11
13
|
|
|
12
14
|
## Rule 1: Show Before Run
|
|
@@ -9,140 +9,113 @@ Core meta-utility rules for agent coordination, context management, and platform
|
|
|
9
9
|
### HIGH
|
|
10
10
|
|
|
11
11
|
#### auto-compact-continue
|
|
12
|
-
**Summary**: The answer to "should I keep working?" is always YES — until the task's measurable completion criteria are met or the user redirects.
|
|
13
|
-
**When to apply**: Any long-running session; before context fills; after long tool outputs; when crossing iteration thresholds; when resuming after compaction; when tempted to ask the user permission to keep going
|
|
12
|
+
**Summary**: The answer to "should I keep working?" is always YES — until the task's measurable completion criteria are met or the user redirects.
|
|
14
13
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/auto-compact-continue.md
|
|
15
14
|
|
|
16
15
|
#### cli-secondary
|
|
17
|
-
**Summary**: AIWG is agentic-first.
|
|
18
|
-
**When to apply**: Before invoking any AIWG CLI command, before writing skill/agent docs that reference CLI commands, when updating quickrefs or routing tables, when filing pairings audits
|
|
16
|
+
**Summary**: AIWG is agentic-first.
|
|
19
17
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/cli-secondary.md
|
|
20
18
|
|
|
21
19
|
#### no-time-estimates
|
|
22
|
-
**Summary**: Never produce wall-clock time estimates in AI-assisted work contexts.
|
|
23
|
-
**When to apply**: Planning, task decomposition, sprint estimation, phase planning, completion reports, responding to "how long will this take?" questions
|
|
20
|
+
**Summary**: Never produce wall-clock time estimates in AI-assisted work contexts.
|
|
24
21
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/no-time-estimates.md
|
|
25
22
|
|
|
26
23
|
#### god-session
|
|
27
|
-
**Summary**: A single agent that tries to do everything — research, implement, test, document, deploy — is a god session.
|
|
28
|
-
**When to apply**: Agent definition creation, reviewing agent scope, mid-session scope creep detection, multi-domain task planning
|
|
24
|
+
**Summary**: A single agent that tries to do everything — research, implement, test, document, deploy — is a god session.
|
|
29
25
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md
|
|
30
26
|
|
|
31
27
|
#### vague-discretion
|
|
32
|
-
**Summary**: Loop termination conditions and quality gates must be concrete and measurable.
|
|
33
|
-
**When to apply**: Writing skill loop conditions, Ralph completion criteria, phase gate criteria, quality rubrics, any "done when" specification
|
|
28
|
+
**Summary**: Loop termination conditions and quality gates must be concrete and measurable.
|
|
34
29
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md
|
|
35
30
|
|
|
36
31
|
#### subagent-scoping
|
|
37
|
-
**Summary**: Each subagent gets ONE focused task with minimal context.
|
|
38
|
-
**When to apply**: Task delegation, subagent spawning, parallel dispatch, orchestrator fan-out, context budget planning
|
|
32
|
+
**Summary**: Each subagent gets ONE focused task with minimal context.
|
|
39
33
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md
|
|
40
34
|
|
|
41
35
|
#### instruction-comprehension
|
|
42
|
-
**Summary**: Fully parse and confirm understanding of all user instructions before acting.
|
|
43
|
-
**When to apply**: Every user request, multi-part tasks, specification compliance, instruction drift detection, correction handling
|
|
36
|
+
**Summary**: Fully parse and confirm understanding of all user instructions before acting.
|
|
44
37
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/instruction-comprehension.md
|
|
45
38
|
|
|
46
39
|
#### research-before-decision
|
|
47
|
-
**Summary**: Research codebase, docs, and sources before making technical decisions.
|
|
48
|
-
**When to apply**: Technical decision-making, API usage, configuration changes, dependency selection, error diagnosis, import resolution
|
|
40
|
+
**Summary**: Research codebase, docs, and sources before making technical decisions.
|
|
49
41
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md
|
|
50
42
|
|
|
51
43
|
#### escalation-discipline
|
|
52
|
-
**Summary**: Agents must summarize before moving above their declared default model tier, confirm Tier 3 explicitly, and never auto-escalate unattended bots to premium tiers.
|
|
53
|
-
**When to apply**: Model-tier routing, budget-sensitive agents, unattended bots, requests for deep/debug/thorough work, high-impact legal/financial/medical/security work, any recommendation to use a stronger or premium model
|
|
44
|
+
**Summary**: Agents must summarize before moving above their declared default model tier, confirm Tier 3 explicitly, and never auto-escalate unattended bots to premium tiers.
|
|
54
45
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/escalation-discipline.md
|
|
55
46
|
|
|
56
47
|
#### tool-quota
|
|
57
|
-
**Summary**: Tool-using agents must track per-session tool calls, stop repeating similar failed calls without progress, and honor `tool_quota` / `loop_detection` declarations when present.
|
|
58
|
-
**When to apply**: Tool-heavy sessions, unattended bots, repeated tool failures, external fetch loops, shell retry loops, agent definitions with `tool_quota` or `loop_detection`
|
|
48
|
+
**Summary**: Tool-using agents must track per-session tool calls, stop repeating similar failed calls without progress, and honor `tool_quota` / `loop_detection` declarations when present.
|
|
59
49
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/tool-quota.md
|
|
60
50
|
|
|
61
51
|
#### quiet-mode
|
|
62
|
-
**Summary**: Chat and bot agents in group rooms should respond only when mentioned, replied to, or invoked by a direct command.
|
|
63
|
-
**When to apply**: Telegram/group-chat bots, multi-bot rooms, DMs to business bots, scheduled chat agents, ambient room listeners, platforms without native behavior support
|
|
52
|
+
**Summary**: Chat and bot agents in group rooms should respond only when mentioned, replied to, or invoked by a direct command.
|
|
64
53
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/quiet-mode.md
|
|
65
54
|
|
|
66
55
|
#### respect-repo-access-manifest
|
|
67
|
-
**Summary**: Tool capability is not authorization.
|
|
68
|
-
**When to apply**: Multi-repo workspaces, adjacent repo handoffs, issue comments in sibling repos, commits/pushes, service actions, any work outside the current repo root
|
|
56
|
+
**Summary**: Tool capability is not authorization.
|
|
69
57
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/respect-repo-access-manifest.md
|
|
70
58
|
|
|
71
59
|
#### skill-discovery
|
|
72
|
-
**Summary**: Most AIWG skills are NOT loaded into your context — only the kernel set (framework quickrefs + core utilities).
|
|
73
|
-
**When to apply**: ANY query mentioning AIWG, a framework name, or a capability keyword (skill/agent/rule/command); before any filesystem search on provider artifact directories; before declining as out-of-scope; before improvising a custom workflow when an AIWG skill might exist
|
|
60
|
+
**Summary**: Most AIWG skills are NOT loaded into your context — only the kernel set (framework quickrefs + core utilities).
|
|
74
61
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/skill-discovery.md
|
|
75
62
|
|
|
76
63
|
#### native-ux-tools
|
|
77
|
-
**Summary**: Agents MUST prefer platform-native interaction tools (e.g., AskUserQuestion in Claude Code) over plain text output for interactive questions.
|
|
78
|
-
**When to apply**: Interactive commands (--interactive flag), decision gates, user confirmations, intake wizards, any agent question
|
|
64
|
+
**Summary**: Agents MUST prefer platform-native interaction tools (e.g., AskUserQuestion in Claude Code) over plain text output for interactive questions.
|
|
79
65
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/native-ux-tools.md
|
|
80
66
|
|
|
81
67
|
#### human-authorization
|
|
82
|
-
**Summary**: Agents must seek explicit human authorization before irreversible or high-stakes actions — especially when those actions are implied by findings rather than explicitly requested.
|
|
83
|
-
**When to apply**: Any action not explicitly stated in the task, removal of files/artifacts/components, scope expansion, closing issues, acting on review findings or recommendations, changes to shared resources
|
|
68
|
+
**Summary**: Agents must seek explicit human authorization before irreversible or high-stakes actions — especially when those actions are implied by findings rather than explicitly requested.
|
|
84
69
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md
|
|
85
70
|
|
|
86
71
|
#### delivery-policy
|
|
87
|
-
**Summary**: AIWG projects declare their git workflow in `.aiwg/aiwg.config` `delivery` block (`mode`: direct / feature-branch / pr-required, `default_branch`, `require_ci_green`, `force_push_policy`, `auto_close_issues`).
|
|
88
|
-
**When to apply**: Any branch creation, PR opening, push to default_branch, force-push, issue closure via commit message, interactive question about git workflow
|
|
72
|
+
**Summary**: AIWG projects declare their git workflow in `.aiwg/aiwg.config` `delivery` block (`mode`: direct / feature-branch / pr-required, `default_branch`, `require_ci_green`, `force_push_policy`, `auto_close_issues`).
|
|
89
73
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/delivery-policy.md
|
|
90
74
|
|
|
91
75
|
#### sdlc-right-sizing
|
|
92
|
-
**Summary**: Match SDLC artifacts to the actual scope of change.
|
|
93
|
-
**When to apply**: Before invoking intake-wizard, intake-start, or any SDLC flow command; whenever an agent is tempted to escalate a small change into formal SDLC pipeline work; when interpreting user requests for "features" / "planning" / "what would it take to..."
|
|
76
|
+
**Summary**: Match SDLC artifacts to the actual scope of change.
|
|
94
77
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/sdlc-right-sizing.md
|
|
95
78
|
|
|
96
79
|
### MEDIUM
|
|
97
80
|
|
|
98
81
|
#### context-bloat
|
|
99
|
-
**Summary**: Sub-agents should receive only the context directly relevant to their task.
|
|
100
|
-
**When to apply**: Sub-agent prompt construction, orchestrator fan-out, multi-agent chaining, cost optimization reviews
|
|
82
|
+
**Summary**: Sub-agents should receive only the context directly relevant to their task.
|
|
101
83
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/context-bloat.md
|
|
102
84
|
|
|
103
85
|
#### parallel-then-synthesize
|
|
104
|
-
**Summary**: Spawning parallel agents for *related* analytical work that feeds one conclusion often produces lower quality than a single focused agent — coordination overhead and context fragmentation outweigh parallelism benefits.
|
|
105
|
-
**When to apply**: Designing parallel dispatch patterns, analytical workflows, deciding when to parallelize vs. single-agent, RLM divide-conquer design
|
|
86
|
+
**Summary**: Spawning parallel agents for *related* analytical work that feeds one conclusion often produces lower quality than a single focused agent — coordination overhead and context fragmentation outweigh parallelism benefits.
|
|
106
87
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/parallel-then-synthesize.md
|
|
107
88
|
|
|
108
89
|
#### implicit-dependencies
|
|
109
|
-
**Summary**: Sub-agents must receive all required context explicitly — they have no access to the parent session's conversation, prior agent outputs, or any context not in their prompt.
|
|
110
|
-
**When to apply**: Sub-agent prompt construction, agent chaining, orchestrator fan-out, any time prior session knowledge needs to carry forward
|
|
90
|
+
**Summary**: Sub-agents must receive all required context explicitly — they have no access to the parent session's conversation, prior agent outputs, or any context not in their prompt.
|
|
111
91
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/implicit-dependencies.md
|
|
112
92
|
|
|
113
93
|
#### context-budget
|
|
114
|
-
**Summary**: When `AIWG_CONTEXT_WINDOW` is set in project context, agents must respect the declared context budget for parallel subagent spawning.
|
|
115
|
-
**When to apply**: Parallel subagent spawning, task scheduling, agent loop batching, orchestrator fan-out on constrained systems
|
|
94
|
+
**Summary**: When `AIWG_CONTEXT_WINDOW` is set in project context, agents must respect the declared context budget for parallel subagent spawning.
|
|
116
95
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/context-budget.md
|
|
117
96
|
|
|
118
97
|
#### diagram-generation
|
|
119
|
-
**Summary**: Diagram generation is a standard output alongside every major documentation artifact.
|
|
120
|
-
**When to apply**: Architecture documentation, threat modeling, API design, deployment planning, any artifact with visual communication needs
|
|
98
|
+
**Summary**: Diagram generation is a standard output alongside every major documentation artifact.
|
|
121
99
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/diagram-generation.md
|
|
122
100
|
|
|
123
101
|
#### agent-deployment
|
|
124
|
-
**Summary**: Rules for working with agent definitions and multi-provider deployment.
|
|
125
|
-
**When to apply**: Agent definition creation, multi-provider deployment, tool selection for agents, parallel agent execution
|
|
102
|
+
**Summary**: Rules for working with agent definitions and multi-provider deployment.
|
|
126
103
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/agent-deployment.md
|
|
127
104
|
|
|
128
105
|
#### activity-log
|
|
129
|
-
**Summary**: Agents must append a single-line entry to `.aiwg/activity.log` after completing any create, update, delete, ingest, deploy, archive, promote, lint, or actioned query operation on AIWG artifacts.
|
|
130
|
-
**When to apply**: Any agent that writes, removes, or promotes artifacts in `.aiwg/`; post-deploy steps; lint/validation passes; archive operations
|
|
106
|
+
**Summary**: Agents must append a single-line entry to `.aiwg/activity.log` after completing any create, update, delete, ingest, deploy, archive, promote, lint, or actioned query operation on AIWG artifacts.
|
|
131
107
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/activity-log.md
|
|
132
108
|
|
|
133
109
|
#### debug-source-not-output
|
|
134
|
-
**Summary**: When debugging in multi-project or monorepo contexts, agents must navigate to the originating source code rather than analyze build artifacts (minified JS, compiled bundles, vendored output).
|
|
135
|
-
**When to apply**: Debugging in monorepos, investigating issues in installed npm/cargo packages, tracing errors that surface in compiled artifacts
|
|
110
|
+
**Summary**: When debugging in multi-project or monorepo contexts, agents must navigate to the originating source code rather than analyze build artifacts (minified JS, compiled bundles, vendored output).
|
|
136
111
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/debug-source-not-output.md
|
|
137
112
|
|
|
138
113
|
#### post-commit-index-refresh
|
|
139
|
-
**Summary**: After a successful git commit, check whether artifact indices are configured (`.aiwg/index/`) and rebuild any indices whose source paths were touched by the commit.
|
|
140
|
-
**When to apply**: Any post-commit step in AIWG-managed projects; agent loops that touch artifact source paths and need fresh index reads downstream
|
|
114
|
+
**Summary**: After a successful git commit, check whether artifact indices are configured (`.aiwg/index/`) and rebuild any indices whose source paths were touched by the commit.
|
|
141
115
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/post-commit-index-refresh.md
|
|
142
116
|
|
|
143
117
|
#### soul-enforcement
|
|
144
|
-
**Summary**: When `SOUL.md` is present at project root, agents must read it fully and internalize the identity, worldview, and voice it defines before generating any content.
|
|
145
|
-
**When to apply**: Any content-generation task in a project with a SOUL.md file; voice/persona handoffs; multi-agent collaborations where consistent identity matters
|
|
118
|
+
**Summary**: When `SOUL.md` is present at project root, agents must read it fully and internalize the identity, worldview, and voice it defines before generating any content.
|
|
146
119
|
**Full rule**: @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/soul-enforcement.md
|
|
147
120
|
|
|
148
121
|
---
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
enforcement: high
|
|
2
3
|
paths:
|
|
3
4
|
- ".claude/agents/**"
|
|
4
5
|
- ".factory/droids/**"
|
|
@@ -10,6 +11,7 @@ paths:
|
|
|
10
11
|
|
|
11
12
|
# Agent Deployment Rules
|
|
12
13
|
|
|
14
|
+
**Enforcement Level**: HIGH
|
|
13
15
|
These rules apply when working with agent definitions and multi-provider deployment.
|
|
14
16
|
|
|
15
17
|
## Agent Ecosystem
|