UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

337 lines (336 loc) 10.2 kB
{ "$schema": "https://aiwg.io/schemas/rules-manifest.json", "version": "2.0.0", "description": "AIWG SDLC framework rules - deployable enforcement policies", "consolidation": { "strategy": "index-with-links", "indexFile": "RULES-INDEX.md", "deployIndexOnly": true, "fullRulesLocation": "agentic/code/frameworks/sdlc-complete/rules/", "rationale": "Deploy ~500-line index instead of 9,321-line bulk to reduce context waste by ~95%" }, "deployment": { "platforms": { "claude-code": { "target": ".claude/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "cursor": { "target": ".cursor/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "copilot": { "target": ".github/copilot-instructions.md", "mechanism": "content-injection", "supported": true }, "codex": { "target": ".codex/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "warp": { "target": ".warp/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "factory": { "target": ".factory/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "opencode": { "target": ".opencode/rule/RULES-INDEX.md", "mechanism": "file-copy", "supported": true }, "windsurf": { "target": ".windsurf/rules/RULES-INDEX.md", "mechanism": "file-copy", "supported": true } } }, "tiers": { "core": { "description": "Universal rules deployed to ALL platforms. Non-negotiable defaults every AIWG user can count on.", "deploy": "always" }, "sdlc": { "description": "Rules specific to SDLC workflow enforcement. Deployed with `aiwg use sdlc`.", "deploy": "with-framework" }, "research": { "description": "Rules for research corpus management. Deployed when research features are active.", "deploy": "optional" } }, "rules": [ { "name": "no-attribution", "file": "no-attribution.md", "enforcement": "critical", "tier": "core", "description": "Zero AI attribution in commits, PRs, docs, and code across all platforms", "issue": "#295" }, { "name": "token-security", "file": "token-security.md", "enforcement": "critical", "tier": "core", "description": "Secure token handling - never hardcode, log, or expose tokens", "issue": "#18" }, { "name": "versioning", "file": "versioning.md", "enforcement": "critical", "tier": "core", "description": "CalVer format enforcement - no leading zeros", "issue": null }, { "name": "citation-policy", "file": "citation-policy.md", "enforcement": "critical", "tier": "core", "description": "Never fabricate citations, DOIs, URLs, or page numbers", "issue": "#100" }, { "name": "anti-laziness", "file": "anti-laziness.md", "enforcement": "high", "tier": "core", "description": "Prevent test deletion, feature removal, and premature task abandonment", "issue": "#264" }, { "name": "executable-feedback", "file": "executable-feedback.md", "enforcement": "high", "tier": "core", "description": "Execute tests before returning code - MetaGPT feedback loop", "issue": "#101" }, { "name": "actionable-feedback", "file": "actionable-feedback.md", "enforcement": "high", "tier": "sdlc", "description": "Structured feedback with location, action, and rationale", "issue": "#95" }, { "name": "mention-wiring", "file": "mention-wiring.md", "enforcement": "high", "tier": "sdlc", "description": "Wire @-mentions during artifact creation for traceability", "issue": null }, { "name": "hitl-gates", "file": "hitl-gates.md", "enforcement": "high", "tier": "sdlc", "description": "Human-in-the-loop gates at SDLC phase transitions", "issue": "#96" }, { "name": "hitl-patterns", "file": "hitl-patterns.md", "enforcement": "medium", "tier": "sdlc", "description": "Draft-then-edit workflow and human gate interaction patterns", "issue": "#199" }, { "name": "human-gate-display", "file": "human-gate-display.md", "enforcement": "medium", "tier": "sdlc", "description": "Rich display format for human approval gates", "issue": "#139" }, { "name": "failure-mitigation", "file": "failure-mitigation.md", "enforcement": "high", "tier": "core", "description": "Mitigation strategies for LLM failure archetypes", "issue": "#140" }, { "name": "agent-fallback", "file": "agent-fallback.md", "enforcement": "high", "tier": "sdlc", "description": "Graceful degradation when agents fail or are unavailable", "issue": "#141" }, { "name": "provenance-tracking", "file": "provenance-tracking.md", "enforcement": "high", "tier": "sdlc", "description": "W3C PROV-compliant provenance for all artifacts", "issue": "#104" }, { "name": "tao-loop", "file": "tao-loop.md", "enforcement": "high", "tier": "sdlc", "description": "Thought-Action-Observation loop standardization", "issue": "#162" }, { "name": "thought-protocol", "file": "thought-protocol.md", "enforcement": "medium", "tier": "sdlc", "description": "Seven thought types for enhanced reasoning transparency (includes Research)", "issue": "#158" }, { "name": "reasoning-sections", "file": "reasoning-sections.md", "enforcement": "medium", "tier": "sdlc", "description": "Explicit reasoning sections in artifact templates", "issue": "#157" }, { "name": "few-shot-examples", "file": "few-shot-examples.md", "enforcement": "medium", "tier": "sdlc", "description": "2-3 concrete examples in every agent system prompt", "issue": "#193" }, { "name": "best-output-selection", "file": "best-output-selection.md", "enforcement": "medium", "tier": "sdlc", "description": "Select best iteration output, not just the final one", "issue": "#168" }, { "name": "reproducibility", "file": "reproducibility.md", "enforcement": "medium", "tier": "sdlc", "description": "Reproducibility practices for agentic workflows", "issue": "#112" }, { "name": "reproducibility-validation", "file": "reproducibility-validation.md", "enforcement": "high", "tier": "sdlc", "description": "Validate workflow reproducibility and detect non-determinism", "issue": "#125" }, { "name": "progressive-disclosure", "file": "progressive-disclosure.md", "enforcement": "medium", "tier": "sdlc", "description": "Incremental artifact section revelation to reduce cognitive load", "issue": "#188" }, { "name": "conversable-agent-interface", "file": "conversable-agent-interface.md", "enforcement": "medium", "tier": "sdlc", "description": "Standardized send/receive/reply agent interface", "issue": "#174" }, { "name": "auto-reply-chains", "file": "auto-reply-chains.md", "enforcement": "medium", "tier": "sdlc", "description": "Decentralized auto-reply conversation patterns", "issue": "#183" }, { "name": "criticality-panel-sizing", "file": "criticality-panel-sizing.md", "enforcement": "medium", "tier": "sdlc", "description": "Task criticality determines ensemble review panel size", "issue": "#161" }, { "name": "qualified-references", "file": "qualified-references.md", "enforcement": "medium", "tier": "sdlc", "description": "Semantic relationship qualifiers for @-mentions", "issue": "#116" }, { "name": "research-metadata", "file": "research-metadata.md", "enforcement": "high", "tier": "research", "description": "FAIR-compliant metadata for research documents", "issue": "#105" }, { "name": "index-generation", "file": "index-generation.md", "enforcement": "medium", "tier": "research", "description": "Auto-generate INDEX.md from YAML frontmatter", "issue": "#136" }, { "name": "sdlc-orchestration", "file": "sdlc-orchestration.md", "enforcement": "high", "tier": "sdlc", "description": "SDLC workflow orchestration patterns and natural language command translation", "issue": null }, { "name": "agent-friendly-code", "file": "agent-friendly-code.md", "enforcement": "high", "tier": "sdlc", "description": "Quantitative thresholds and qualitative patterns for agent-processable code structure", "issue": "#402" }, { "name": "agent-generation-guardrails", "file": "agent-generation-guardrails.md", "enforcement": "high", "tier": "sdlc", "description": "Runtime guardrails preventing agents from creating or enlarging files beyond agent-friendly limits", "issue": "#405" }, { "name": "artifact-discovery", "file": "artifact-discovery.md", "enforcement": "high", "tier": "sdlc", "description": "Agent protocol for using aiwg index CLI as self-service artifact discovery tool", "issue": "#419" }, { "name": "self-maintenance", "file": "self-maintenance.md", "enforcement": "high", "tier": "sdlc", "description": "Use AIWG CLI commands for all maintenance; pre-flight checks before long sessions; delegate to Steward agent", "issue": "#484" } ] }