@daochild/agents-config 1.2.0 → 2.1.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.
Files changed (116) hide show
  1. package/.agents/skills/security-audit/AI-AND-LLM.md +83 -0
  2. package/.agents/skills/security-audit/ATTACK-CLASSES.md +130 -0
  3. package/.agents/skills/security-audit/CLIENT-SIDE.md +83 -0
  4. package/.agents/skills/security-audit/CLOUD-AND-DEPLOYMENT.md +86 -0
  5. package/.agents/skills/security-audit/DATA-ISOLATION-AND-LIFECYCLE.md +84 -0
  6. package/.agents/skills/security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md +89 -0
  7. package/.agents/skills/security-audit/HUNTING.md +251 -0
  8. package/.agents/skills/security-audit/MEMORY-SAFETY-AND-BINARY.md +101 -0
  9. package/.agents/skills/security-audit/PROTOCOLS-RPC-AND-MESSAGING.md +81 -0
  10. package/.agents/skills/security-audit/RECONNAISSANCE.md +156 -0
  11. package/.agents/skills/security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md +78 -0
  12. package/.agents/skills/security-audit/SKILL.md +192 -0
  13. package/.agents/skills/security-audit/SUPPLY-CHAIN-AND-RELEASE.md +73 -0
  14. package/.agents/skills/security-audit/VALIDATION-AND-REPORTING.md +186 -0
  15. package/.agents/skills/security-audit/WEB-PROTOCOL-AND-AUTH.md +105 -0
  16. package/.agents/skills/security-audit/report-schema.json +461 -0
  17. package/.agents/skills/security-audit/validate-coverage-ledger.cjs +872 -0
  18. package/.agents/skills/security-audit/validate-coverage-ledger.test.cjs +740 -0
  19. package/.agents/skills/security-audit/validate-findings.cjs +773 -0
  20. package/.agents/skills/security-audit/validate-findings.test.cjs +652 -0
  21. package/.aiignore +2 -0
  22. package/.github/copilot-instructions.md +18 -0
  23. package/AGENTS.md +39 -67
  24. package/ARCHITECTURE.md +37 -52
  25. package/CLAUDE.md +1 -0
  26. package/CONTRIBUTING.md +24 -24
  27. package/README.md +75 -3
  28. package/SECURITY.md +8 -0
  29. package/docs/BUSINESS_LOGIC.md +7 -1
  30. package/docs/IMPLEMENTATION.md +37 -13
  31. package/docs/adr/0003-document-external-skill.md +29 -0
  32. package/docs/stories/harness-engineering-assumptions.md +44 -0
  33. package/docs/stories/harness-engineering-implementation-plan.md +151 -0
  34. package/instructions/agent/docs.md +17 -0
  35. package/instructions/agent/harness-orchestrator.md +60 -0
  36. package/instructions/agent/harness-verifier.md +30 -0
  37. package/{.agents/agents → instructions/agent}/sdlc-orchestrator.md +8 -0
  38. package/instructions/command/harness.md +13 -0
  39. package/instructions/rules/harness-engineering.md +19 -0
  40. package/{.claude → instructions}/rules/sdlc-gates.md +1 -1
  41. package/instructions/skills/harness-engineering/SKILL.md +76 -0
  42. package/opencode.json +77 -19
  43. package/package.json +16 -9
  44. package/scripts/postinstall.js +1 -1
  45. package/scripts/sdlc-session-check.js +526 -0
  46. package/skills-lock.json +11 -0
  47. package/.agents/agents/.gitkeep +0 -0
  48. package/.agents/commands/.gitkeep +0 -0
  49. package/.agents/rules/.gitkeep +0 -0
  50. package/.agents/rules/sdlc-gates.md +0 -45
  51. package/.agents/skills/.gitkeep +0 -0
  52. package/.agents/skills/agents-config/SKILL.md +0 -32
  53. package/.claude/.gitkeep +0 -0
  54. package/.claude/CLAUDE.md +0 -19
  55. package/.claude/agents/.gitkeep +0 -0
  56. package/.claude/agents/docs.md +0 -15
  57. package/.claude/agents/sdlc-analyst.md +0 -29
  58. package/.claude/agents/sdlc-architect.md +0 -31
  59. package/.claude/agents/sdlc-auditor.md +0 -44
  60. package/.claude/agents/sdlc-dev.md +0 -33
  61. package/.claude/agents/sdlc-orchestrator.md +0 -69
  62. package/.claude/agents/sdlc-pm.md +0 -32
  63. package/.claude/agents/sdlc-qa.md +0 -33
  64. package/.claude/agents/sdlc-reviewer.md +0 -31
  65. package/.claude/agents/sdlc-security.md +0 -36
  66. package/.claude/agents/sdlc-sm.md +0 -31
  67. package/.claude/commands/.gitkeep +0 -0
  68. package/.claude/commands/sdlc.md +0 -18
  69. package/.claude/rules/.gitkeep +0 -0
  70. package/.claude/rules/programming-best-practices.md +0 -18
  71. package/.claude/skills/.gitkeep +0 -0
  72. package/.claude/skills/README.md +0 -3
  73. package/.claude/skills/sdlc-regulatory/SKILL.md +0 -515
  74. package/.opencode/.gitkeep +0 -0
  75. package/.opencode/AGENTS.md +0 -34
  76. package/.opencode/agent/.gitkeep +0 -0
  77. package/.opencode/agent/docs.md +0 -15
  78. package/.opencode/agent/sdlc-analyst.md +0 -30
  79. package/.opencode/agent/sdlc-architect.md +0 -32
  80. package/.opencode/agent/sdlc-auditor.md +0 -45
  81. package/.opencode/agent/sdlc-dev.md +0 -34
  82. package/.opencode/agent/sdlc-orchestrator.md +0 -70
  83. package/.opencode/agent/sdlc-pm.md +0 -33
  84. package/.opencode/agent/sdlc-qa.md +0 -34
  85. package/.opencode/agent/sdlc-reviewer.md +0 -32
  86. package/.opencode/agent/sdlc-security.md +0 -37
  87. package/.opencode/agent/sdlc-sm.md +0 -32
  88. package/.opencode/command/.gitkeep +0 -0
  89. package/.opencode/command/sdlc.md +0 -18
  90. package/.opencode/plugin/.gitkeep +0 -0
  91. package/.opencode/skill/.gitkeep +0 -0
  92. package/.opencode/skill/sdlc-regulatory/SKILL.md +0 -515
  93. package/docs/adr/0001-triple-mirror.md +0 -81
  94. package/docs/adr/0002-zero-edit-install.md +0 -237
  95. /package/{.agents → docs/adr}/.gitkeep +0 -0
  96. /package/{.agents/agents → instructions/agent}/sdlc-analyst.md +0 -0
  97. /package/{.agents/agents → instructions/agent}/sdlc-architect.md +0 -0
  98. /package/{.agents/agents → instructions/agent}/sdlc-auditor.md +0 -0
  99. /package/{.agents/agents → instructions/agent}/sdlc-dev.md +0 -0
  100. /package/{.agents/agents → instructions/agent}/sdlc-pm.md +0 -0
  101. /package/{.agents/agents → instructions/agent}/sdlc-qa.md +0 -0
  102. /package/{.agents/agents → instructions/agent}/sdlc-reviewer.md +0 -0
  103. /package/{.agents/agents → instructions/agent}/sdlc-security.md +0 -0
  104. /package/{.agents/agents → instructions/agent}/sdlc-sm.md +0 -0
  105. /package/{.agents/commands → instructions/command}/sdlc.md +0 -0
  106. /package/{.opencode/skill → instructions/skills}/archivarius/SKILL.md +0 -0
  107. /package/{.opencode/skill → instructions/skills}/data-engineer/SKILL.md +0 -0
  108. /package/{.opencode/skill → instructions/skills}/find-skills/SKILL.md +0 -0
  109. /package/{.opencode/skill → instructions/skills}/frontend-design/SKILL.md +0 -0
  110. /package/{.agents → instructions}/skills/sdlc-regulatory/SKILL.md +0 -0
  111. /package/{.opencode/skill → instructions/skills}/senior-bitcoin-auditor/SKILL.md +0 -0
  112. /package/{.opencode/skill → instructions/skills}/senior-frontend-dev/SKILL.md +0 -0
  113. /package/{.opencode/skill → instructions/skills}/senior-qa/SKILL.md +0 -0
  114. /package/{.opencode/skill → instructions/skills}/senior-software-developer/SKILL.md +0 -0
  115. /package/{.opencode/skill → instructions/skills}/senior-solidity-auditor/SKILL.md +0 -0
  116. /package/{.opencode/skill → instructions/skills}/senior-ux-ui-designer/SKILL.md +0 -0
package/opencode.json CHANGED
@@ -1,74 +1,132 @@
1
1
  {
2
2
  "$schema": "https://opencode.ai/config.json",
3
+ "experimental": {
4
+ "subagent_depth": 3
5
+ },
3
6
  "instructions": [
4
7
  "AGENTS.md",
5
- ".opencode/AGENTS.md",
6
- ".claude/rules/programming-best-practices.md",
7
- ".claude/rules/sdlc-gates.md"
8
+ "instructions/rules/sdlc-gates.md",
9
+ "instructions/rules/harness-engineering.md"
8
10
  ],
9
11
  "skills": {
10
12
  "paths": [
11
- ".agents/skills",
12
- ".opencode/skill",
13
- ".opencode/skills",
14
- ".claude/skills"
13
+ "instructions/skills"
15
14
  ]
16
15
  },
16
+ "command": {
17
+ "sdlc": {
18
+ "description": "Run the SDLC flow for a requirement or change",
19
+ "agent": "sdlc-orchestrator",
20
+ "subtask": true,
21
+ "template": "{file:./instructions/command/sdlc.md}\n\nRequirement: $ARGUMENTS"
22
+ },
23
+ "harness": {
24
+ "description": "Run a bounded harness flow with independent verification",
25
+ "agent": "harness-orchestrator",
26
+ "subtask": true,
27
+ "template": "{file:./instructions/command/harness.md}\n\nTask: $ARGUMENTS"
28
+ }
29
+ },
17
30
  "agent": {
31
+ "harness-orchestrator": {
32
+ "description": "Coordinates context, host policy checks, bounded execution, independent verification, and feedback without bypassing SDLC gates.",
33
+ "mode": "subagent",
34
+ "prompt": "{file:./instructions/agent/harness-orchestrator.md}",
35
+ "permission": {
36
+ "*": "deny",
37
+ "read": {
38
+ "*": "allow",
39
+ ".env": "deny",
40
+ ".env.*": "deny",
41
+ "**/.env": "deny",
42
+ "**/.env.*": "deny",
43
+ "**/secrets/**": "deny"
44
+ },
45
+ "glob": "allow",
46
+ "grep": "allow",
47
+ "skill": "allow",
48
+ "question": "allow",
49
+ "task": {
50
+ "*": "deny",
51
+ "general": "allow",
52
+ "sdlc-orchestrator": "allow",
53
+ "harness-verifier": "allow"
54
+ }
55
+ }
56
+ },
57
+ "harness-verifier": {
58
+ "description": "Read-only independent verifier of harness acceptance criteria and resulting artifacts; never executes or repairs the task.",
59
+ "mode": "subagent",
60
+ "prompt": "{file:./instructions/agent/harness-verifier.md}",
61
+ "permission": {
62
+ "*": "deny",
63
+ "read": {
64
+ "*": "allow",
65
+ ".env": "deny",
66
+ ".env.*": "deny",
67
+ "**/.env": "deny",
68
+ "**/.env.*": "deny",
69
+ "**/secrets/**": "deny"
70
+ },
71
+ "glob": "allow",
72
+ "grep": "allow",
73
+ "skill": "allow"
74
+ }
75
+ },
18
76
  "docs": {
19
- "description": "Answers questions about this agents-config repo layout and how .claude/ and .opencode/ link together.",
77
+ "description": "Answers questions about this agents-config repo layout and how instruction sources are registered for agent clients.",
20
78
  "mode": "subagent",
21
- "prompt": "{file:./.opencode/agent/docs.md}"
79
+ "prompt": "{file:./instructions/agent/docs.md}"
22
80
  },
23
81
  "sdlc-orchestrator": {
24
82
  "description": "Orchestrates the AI-driven SDLC by routing a product requirement through the BMad-style role subagents (analyst -> pm -> architect -> sm -> dev -> qa -> security -> reviewer -> auditor). Use as the single entry point for any feature/change that touches multiple modules or is medium/high risk.",
25
83
  "mode": "subagent",
26
- "prompt": "{file:./.opencode/agent/sdlc-orchestrator.md}"
84
+ "prompt": "{file:./instructions/agent/sdlc-orchestrator.md}"
27
85
  },
28
86
  "sdlc-analyst": {
29
87
  "description": "Requirements analyst for the AI-driven SDLC. Translates a raw product idea or change request into a market/context analysis and confirms the requirement is well-formed. First role in the BMad-style chain.",
30
88
  "mode": "subagent",
31
- "prompt": "{file:./.opencode/agent/sdlc-analyst.md}"
89
+ "prompt": "{file:./instructions/agent/sdlc-analyst.md}"
32
90
  },
33
91
  "sdlc-pm": {
34
92
  "description": "Product Manager for the AI-driven SDLC. Turns the analyst's output into a PRD with acceptance criteria and edge cases. Completes the Requirement Gate.",
35
93
  "mode": "subagent",
36
- "prompt": "{file:./.opencode/agent/sdlc-pm.md}"
94
+ "prompt": "{file:./instructions/agent/sdlc-pm.md}"
37
95
  },
38
96
  "sdlc-architect": {
39
97
  "description": "Architect for the AI-driven SDLC. Analyzes existing architecture, identifies impacted modules and dependencies, proposes a solution, and creates/updates the ADR. Owns the Architecture Gate.",
40
98
  "mode": "subagent",
41
- "prompt": "{file:./.opencode/agent/sdlc-architect.md}"
99
+ "prompt": "{file:./instructions/agent/sdlc-architect.md}"
42
100
  },
43
101
  "sdlc-sm": {
44
102
  "description": "Scrum Master / planner for the AI-driven SDLC. Breaks the architecture into implementable stories, classifies each story's risk, and assigns an AI autonomy cap. Completes the Architecture Gate and seeds traceability.",
45
103
  "mode": "subagent",
46
- "prompt": "{file:./.opencode/agent/sdlc-sm.md}"
104
+ "prompt": "{file:./instructions/agent/sdlc-sm.md}"
47
105
  },
48
106
  "sdlc-dev": {
49
107
  "description": "Developer for the AI-driven SDLC. Implements stories following project patterns, documents AI assumptions, and stays in scope. Owns the Implementation Gate.",
50
108
  "mode": "subagent",
51
- "prompt": "{file:./.opencode/agent/sdlc-dev.md}"
109
+ "prompt": "{file:./instructions/agent/sdlc-dev.md}"
52
110
  },
53
111
  "sdlc-qa": {
54
112
  "description": "QA engineer for the AI-driven SDLC. Designs the test plan, writes unit/integration/regression/edge-case tests, and runs the existing suite. Owns the Testing Gate. Uses the senior-qa skill for methodology.",
55
113
  "mode": "subagent",
56
- "prompt": "{file:./.opencode/agent/sdlc-qa.md}"
114
+ "prompt": "{file:./instructions/agent/sdlc-qa.md}"
57
115
  },
58
116
  "sdlc-security": {
59
117
  "description": "Security reviewer for the AI-driven SDLC. Runs SAST, dependency and secrets scanning, and a security-focused AI review; validates authN/Z where applicable. Owns the Security Gate. Uses domain-specific senior-*-auditor skills when relevant.",
60
118
  "mode": "subagent",
61
- "prompt": "{file:./.opencode/agent/sdlc-security.md}"
119
+ "prompt": "{file:./instructions/agent/sdlc-security.md}"
62
120
  },
63
121
  "sdlc-reviewer": {
64
122
  "description": "Code reviewer for the AI-driven SDLC. Performs the AI technical code review and aggregates the human engineering review. Owns the Code Review Gate.",
65
123
  "mode": "subagent",
66
- "prompt": "{file:./.opencode/agent/sdlc-reviewer.md}"
124
+ "prompt": "{file:./instructions/agent/sdlc-reviewer.md}"
67
125
  },
68
126
  "sdlc-auditor": {
69
127
  "description": "Auditor for the AI-driven SDLC. Verifies the Definition of Done across all prior gates, confirms traceability, and produces the final audit artifact. Owns the DoD Gate. Must be a different agent from those who produced the work.",
70
128
  "mode": "subagent",
71
- "prompt": "{file:./.opencode/agent/sdlc-auditor.md}"
129
+ "prompt": "{file:./instructions/agent/sdlc-auditor.md}"
72
130
  }
73
131
  }
74
132
  }
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "@daochild/agents-config",
3
- "version": "1.2.0",
4
- "description": "Shared, version-controlled configuration for AI coding agents (opencode and Claude Code): layout, skills, subagents, commands, rules, and an always-on AI-driven SDLC governance framework.",
3
+ "version": "2.1.0",
4
+ "description": "Shared, version-controlled configuration for AI coding agents: layout, skills, subagents, commands, rules, and an always-on AI-driven SDLC governance framework.",
5
5
  "keywords": [
6
- "agent",
7
- "AI",
6
+ "ai-agents",
7
+ "agent-configuration",
8
+ "agent-skills",
9
+ "coding-assistant",
10
+ "developer-tools",
8
11
  "instructions",
9
- "pipeline",
10
- "no-code",
11
- "less-code",
12
+ "subagents",
13
+ "automation",
12
14
  "sdlc",
13
15
  "governance",
14
16
  "compliance",
15
- "gates",
17
+ "workflow",
16
18
  "opencode",
17
19
  "claude-code"
18
20
  ],
@@ -29,10 +31,15 @@
29
31
  "type": "commonjs",
30
32
  "main": "index.js",
31
33
  "scripts": {
32
- "test": "echo \"Error: no test specified\" && exit 1",
34
+ "test": "node --test",
35
+ "sdlc:check": "node scripts/sdlc-session-check.js",
33
36
  "postinstall": "node scripts/postinstall.js"
34
37
  },
35
38
  "dependencies": {
36
39
  "@opencode-ai/plugin": "^1.18.18"
40
+ },
41
+ "overrides": {
42
+ "zod": "^4.6.6",
43
+ "toml": "^5.0.1"
37
44
  }
38
45
  }
@@ -5,7 +5,7 @@ const path = require('node:path');
5
5
  const process = require('node:process');
6
6
 
7
7
  const PACKAGE_NAME = '@daochild/agents-config';
8
- const POINTER_LINE = 'Primary instructions: node_modules/@daochild/agents-config/AGENTS.md — follow unless overridden below.';
8
+ const POINTER_LINE = 'Primary instructions: node_modules/@daochild/agents-config/AGENTS.md — read in full and follow unless overridden below.';
9
9
 
10
10
  function notice(msg) {
11
11
  process.stdout.write(msg + '\n');