valent-pipeline 0.3.0 → 0.3.2
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/package.json +1 -1
- package/pipeline/providers/codex/codex-project-files/.codex/agents/code-worker.toml +7 -5
- package/pipeline/providers/codex/codex-project-files/.codex/agents/knowledge-service.toml +7 -2
- package/pipeline/providers/codex/codex-project-files/.codex/agents/review-explorer.toml +8 -6
- package/pipeline/providers/codex/codex-project-files/.codex/agents/spec-explorer.toml +7 -2
- package/pipeline/providers/codex/codex-project-files/.codex/agents/test-worker.toml +7 -6
- package/pipeline/providers/codex/codex-project-files/.codex/config.toml +1 -0
- package/src/commands/init.js +10 -6
package/package.json
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
# Write production code, run builds, install dependencies.
|
|
4
4
|
# Model is set at spawn time by Lead from pipeline-config.yaml model tiers.
|
|
5
5
|
|
|
6
|
-
[agent]
|
|
7
6
|
name = "code-worker"
|
|
8
|
-
|
|
7
|
+
description = "Write production code, run builds, and install dependencies. Used by implementation agents (BEND, FEND, IAC, MOBILE, DATA, MCP-DEV, LIBDEV, DOCGEN, UXA)."
|
|
9
8
|
sandbox_mode = "workspace-write"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
You are a pipeline worker agent. Follow the step instructions provided at spawn time exactly.
|
|
11
|
+
Read your assigned story spec and implement code changes as directed.
|
|
12
|
+
Run builds and tests to validate your work before handing off.
|
|
13
|
+
"""
|
|
14
|
+
nickname_candidates = ["Forge", "Anvil", "Spark", "Bolt", "Rivet", "Lathe"]
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
# Reactive service agent. Reads knowledge base, writes query responses.
|
|
4
4
|
# Model is set at spawn time by Lead from pipeline-config.yaml model tiers.
|
|
5
5
|
|
|
6
|
-
[agent]
|
|
7
6
|
name = "knowledge-service"
|
|
8
|
-
|
|
7
|
+
description = "Query and maintain the project knowledge base. Used by the Knowledge agent."
|
|
9
8
|
sandbox_mode = "workspace-write"
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
You are a pipeline knowledge service agent. Follow the step instructions provided at spawn time exactly.
|
|
11
|
+
Read the knowledge base, curated files, and correction directives to answer queries from other agents.
|
|
12
|
+
Write knowledge index updates as directed.
|
|
13
|
+
"""
|
|
14
|
+
nickname_candidates = ["Index", "Archive", "Codex", "Library", "Vault", "Ledger"]
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Valent Pipeline — Review Explorer Agent Type
|
|
2
2
|
# Used by: CRITIC, JUDGE
|
|
3
|
-
#
|
|
3
|
+
# Code review agents. Only write to story output directory.
|
|
4
4
|
# Model is set at spawn time by Lead from pipeline-config.yaml model tiers.
|
|
5
5
|
|
|
6
|
-
[agent]
|
|
7
6
|
name = "review-explorer"
|
|
8
|
-
|
|
7
|
+
description = "Review code changes and produce verdicts. Used by review agents (CRITIC, JUDGE)."
|
|
9
8
|
sandbox_mode = "read-only"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
You are a pipeline review agent. Follow the step instructions provided at spawn time exactly.
|
|
11
|
+
Read code diffs, test results, and story specs to produce your review verdict.
|
|
12
|
+
Write output only to the story output directory as directed.
|
|
13
|
+
"""
|
|
14
|
+
nickname_candidates = ["Raven", "Sage", "Arbiter", "Oracle", "Vigil", "Sentry"]
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
# Read-heavy agents that analyze inputs and produce specification documents.
|
|
4
4
|
# Model is set at spawn time by Lead from pipeline-config.yaml model tiers.
|
|
5
5
|
|
|
6
|
-
[agent]
|
|
7
6
|
name = "spec-explorer"
|
|
8
|
-
|
|
7
|
+
description = "Analyze inputs and produce specification documents. Used by read-heavy agents (REQS, QA-A, READINESS)."
|
|
9
8
|
sandbox_mode = "workspace-write"
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
You are a pipeline explorer agent. Follow the step instructions provided at spawn time exactly.
|
|
11
|
+
Read project inputs, specs, and context files to produce your deliverable.
|
|
12
|
+
Write output documents to the story output directory as directed.
|
|
13
|
+
"""
|
|
14
|
+
nickname_candidates = ["Scout", "Lens", "Prism", "Beacon", "Compass", "Atlas"]
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
# Run test suites, start local servers, capture screenshots.
|
|
4
4
|
# Model is set at spawn time by Lead from pipeline-config.yaml model tiers.
|
|
5
5
|
|
|
6
|
-
[agent]
|
|
7
6
|
name = "test-worker"
|
|
8
|
-
|
|
7
|
+
description = "Run test suites, start local servers, and validate quality. Used by test agents (QA-B, PMCP)."
|
|
9
8
|
sandbox_mode = "workspace-write"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
You are a pipeline test worker agent. Follow the step instructions provided at spawn time exactly.
|
|
11
|
+
Execute test suites, capture results, file bugs, and produce test reports.
|
|
12
|
+
You may start local servers and bind to localhost ports as needed for E2E testing.
|
|
13
|
+
"""
|
|
14
|
+
nickname_candidates = ["Probe", "Gauge", "Litmus", "Assay", "Crucible", "Tester"]
|
package/src/commands/init.js
CHANGED
|
@@ -59,12 +59,18 @@ export async function init(options = {}) {
|
|
|
59
59
|
console.log(' Created pipeline-backlog.yaml');
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
// 4. Install skills
|
|
62
|
+
// 4. Install skills (platform-specific paths)
|
|
63
63
|
const skillsSrc = join(PACKAGE_ROOT, 'skills');
|
|
64
|
-
const
|
|
64
|
+
const providers = config.runtime?.providers || [config.runtime?.provider || 'claude-code'];
|
|
65
65
|
if (existsSync(skillsSrc)) {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
if (providers.includes('claude-code')) {
|
|
67
|
+
copyDir(skillsSrc, join(projectRoot, '.claude', 'skills'));
|
|
68
|
+
console.log(' Installed skills to .claude/skills/ (Claude Code)');
|
|
69
|
+
}
|
|
70
|
+
if (providers.includes('codex')) {
|
|
71
|
+
copyDir(skillsSrc, join(projectRoot, '.agents', 'skills'));
|
|
72
|
+
console.log(' Installed skills to .agents/skills/ (Codex)');
|
|
73
|
+
}
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
// 5. Create knowledge directories
|
|
@@ -138,8 +144,6 @@ export async function init(options = {}) {
|
|
|
138
144
|
}
|
|
139
145
|
|
|
140
146
|
// 8. Configure runtime-specific project files
|
|
141
|
-
const providers = config.runtime?.providers || [config.runtime?.provider || 'claude-code'];
|
|
142
|
-
|
|
143
147
|
if (providers.includes('claude-code')) {
|
|
144
148
|
// 8a. Configure Claude Code settings (agent teams)
|
|
145
149
|
const claudeSettingsPath = join(projectRoot, '.claude', 'settings.json');
|