@odla-ai/cli 0.43.0 → 0.43.1
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/README.md +10 -4
- package/dist/bin.cjs +275 -148
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-WDWJ7HC7.js → chunk-T4OPSRME.js} +272 -145
- package/dist/chunk-T4OPSRME.js.map +1 -0
- package/dist/{cli-OITEPXW4.js → cli-3JOB4OUV.js} +2 -2
- package/dist/index.cjs +271 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla/SKILL.md +10 -3
- package/skills/odla/references/pm-work-intake.md +33 -11
- package/skills/odla/references/pm.md +23 -12
- package/dist/chunk-WDWJ7HC7.js.map +0 -1
- /package/dist/{cli-OITEPXW4.js.map → cli-3JOB4OUV.js.map} +0 -0
package/README.md
CHANGED
|
@@ -126,15 +126,21 @@ Before project-mutating work, match the request to an open goal. If it is not
|
|
|
126
126
|
aligned, discuss that with the user before creating an outcome or implementing.
|
|
127
127
|
Refine a Backlog task with `--goal` (or an accepted
|
|
128
128
|
`--alignment-decision`), `--description`, and `--acceptance`, then mark it Ready
|
|
129
|
-
and
|
|
129
|
+
and start it:
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
132
|
npx --yes @odla-ai/cli@latest pm task ready <id> --expected-revision <n>
|
|
133
|
-
npx --yes @odla-ai/cli@latest pm
|
|
133
|
+
npx --yes @odla-ai/cli@latest pm start --app <appId>
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
Ready is stored as `todo` for API compatibility.
|
|
137
|
-
the
|
|
136
|
+
Ready is stored as `todo` for API compatibility. `pm start` claims the
|
|
137
|
+
top-ranked Ready task (or the one you name) in a single call: it reads the
|
|
138
|
+
current revision, compare-and-swaps against it server-side, and reloads once if
|
|
139
|
+
the task moved, returning the task, its goal, and the acceptance criteria. It
|
|
140
|
+
cannot mark work Ready, so an agent cannot authorize its own work. Claims are
|
|
141
|
+
atomic and assign the authenticated principal; stale or concurrent claims fail.
|
|
142
|
+
`pm task claim <id> --expected-revision <n>` remains for a caller that has
|
|
143
|
+
already read the revision. Use `pm task
|
|
138
144
|
release` for an explicit recovery handoff instead of leaving Doing as a vague
|
|
139
145
|
status. The complete runbook is installed as
|
|
140
146
|
`references/pm-work-intake.md` by `odla-ai skill install`.
|