@rudderhq/agent-runtime-codex-local 0.1.0-canary.70 → 0.1.0-canary.71
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudderhq/agent-runtime-codex-local",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.71",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"homepage": "https://github.com/Undertone0809/rudder",
|
|
6
6
|
"bugs": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"probe:quota": "pnpm exec tsx src/cli/quota-probe.ts --json"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@rudderhq/agent-runtime-utils": "0.1.0-canary.
|
|
55
|
+
"@rudderhq/agent-runtime-utils": "0.1.0-canary.71",
|
|
56
56
|
"picocolors": "^1.1.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -88,11 +88,21 @@ Required thinking:
|
|
|
88
88
|
- optional `desiredSkills` from the organization skill library
|
|
89
89
|
- adapter and runtime config aligned to this environment
|
|
90
90
|
- capabilities
|
|
91
|
-
- role/persona instructions for the new agent (`promptTemplate` when the CLI payload is the available surface; Rudder materializes this as `SOUL.md`)
|
|
91
|
+
- structured role/persona instructions for the new agent (`promptTemplate` when the CLI payload is the available surface; Rudder materializes this as `SOUL.md`)
|
|
92
92
|
- source issue linkage (`sourceIssueId` or `sourceIssueIds`) when this hire came from an issue
|
|
93
93
|
|
|
94
94
|
Do not copy Rudder's shared filesystem, memory, language, or safety contract into the hire prompt. Rudder injects that operating contract from runtime code for supported local runtimes. The hire-specific prompt should only define the new agent's role, identity, scope, tone, and durable responsibilities.
|
|
95
95
|
|
|
96
|
+
Draft `promptTemplate` as a durable SOUL document, not a one-line command. Use these sections when the role is not trivial:
|
|
97
|
+
|
|
98
|
+
- Opening: one sentence that captures who the agent is
|
|
99
|
+
- Mission: the outcome this agent owns
|
|
100
|
+
- Responsibilities: durable duties and ownership boundaries
|
|
101
|
+
- Boundaries: what the agent should not do or should escalate
|
|
102
|
+
- Decision Principles: role-specific judgment rules
|
|
103
|
+
- Voice: how the agent should communicate
|
|
104
|
+
- Continuity: what should become memory or explicit instruction updates over time
|
|
105
|
+
|
|
96
106
|
8. Submit the canonical hire request.
|
|
97
107
|
|
|
98
108
|
```sh
|
|
@@ -107,7 +117,7 @@ rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
|
|
|
107
117
|
"agentRuntimeConfig": {
|
|
108
118
|
"cwd": "/abs/path/to/repo",
|
|
109
119
|
"model": "o4-mini",
|
|
110
|
-
"promptTemplate": "
|
|
120
|
+
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
111
121
|
},
|
|
112
122
|
"runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
|
|
113
123
|
"sourceIssueId": "<issue-id>"
|
|
@@ -159,7 +169,8 @@ Before sending a hire request:
|
|
|
159
169
|
- set a concrete `icon` from `rudder agent icons` so the new hire is identifiable in org and task views
|
|
160
170
|
- avoid secrets in plain text unless required by adapter behavior
|
|
161
171
|
- ensure the reporting line is correct and in-org
|
|
162
|
-
- ensure the prompt is role-specific
|
|
172
|
+
- ensure the prompt is role-specific, operationally scoped, and structured enough to become the agent's durable `SOUL.md`
|
|
173
|
+
- include mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority
|
|
163
174
|
- prefer `sourceIssueId` or `sourceIssueIds` in the hire payload instead of manual approval linking
|
|
164
175
|
- if board requests revision, update the payload and resubmit through the approval flow
|
|
165
176
|
- do not report success unless `rudder agent hire` itself succeeded and you can cite the returned `agent.id` or `approval.id`
|
|
@@ -90,7 +90,7 @@ Request body:
|
|
|
90
90
|
"agentRuntimeConfig": {
|
|
91
91
|
"cwd": "/absolute/path",
|
|
92
92
|
"model": "o4-mini",
|
|
93
|
-
"promptTemplate": "
|
|
93
|
+
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
94
94
|
},
|
|
95
95
|
"runtimeConfig": {
|
|
96
96
|
"heartbeat": {
|
|
@@ -141,7 +141,8 @@ Important notes:
|
|
|
141
141
|
|
|
142
142
|
- `name` is optional; if omitted or blank, Rudder assigns a distinct first name automatically
|
|
143
143
|
- `desiredSkills` accepts organization skill ids, canonical keys, or a unique slug; the server resolves and stores canonical organization skill keys
|
|
144
|
-
- `agentRuntimeConfig.promptTemplate`, when present for local runtimes, is role/persona content that Rudder materializes as managed `SOUL.md`
|
|
144
|
+
- `agentRuntimeConfig.promptTemplate`, when present for local runtimes during hire, is role/persona content that Rudder materializes as managed `SOUL.md`
|
|
145
|
+
- write hire-time `promptTemplate` as a durable SOUL document with mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority
|
|
145
146
|
- do not put Rudder's shared operating contract in `promptTemplate`; supported local runtimes inject that contract from code
|
|
146
147
|
- `sourceIssueId` and `sourceIssueIds` are the canonical way to link the hire back to originating issues
|
|
147
148
|
- this route is preferred over creating `hire_agent` approvals manually because it preserves the organization's approval policy
|
|
@@ -65,7 +65,7 @@ rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
|
|
|
65
65
|
"agentRuntimeConfig": {
|
|
66
66
|
"cwd": "/abs/path/to/repo",
|
|
67
67
|
"model": "o4-mini",
|
|
68
|
-
"promptTemplate": "
|
|
68
|
+
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
69
69
|
},
|
|
70
70
|
"runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
|
|
71
71
|
"sourceIssueId": "<issue-id>"
|
|
@@ -80,7 +80,7 @@ Canonical semantics:
|
|
|
80
80
|
|
|
81
81
|
Do not use `rudder approval create --type hire_agent` as a replacement for `agent hire` during normal skill execution. That is a lower-level compatibility surface and does not preserve the canonical direct-create behavior.
|
|
82
82
|
|
|
83
|
-
`agentRuntimeConfig.promptTemplate`, when used, is for role/persona content. Rudder materializes it as the managed instruction bundle's `SOUL.md`. Do not include Rudder's shared operating contract in this field; supported local runtimes inject that contract from code.
|
|
83
|
+
`agentRuntimeConfig.promptTemplate`, when used during hire, is for role/persona content. Rudder materializes it as the managed instruction bundle's `SOUL.md`. Write it as a durable SOUL document with mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority. Do not include Rudder's shared operating contract in this field; supported local runtimes inject that contract from code.
|
|
84
84
|
|
|
85
85
|
### Approval follow-up
|
|
86
86
|
|