Repository navigation
Commit d9a1d0c
committed
📝 Reconcile the living target with the settled workflow contracts
The target described a `<Workflow>`/`<Sandbox>`/`<Stage>` spine over a sidecar
Git ledger at `refs/xmd/runs`, an implicit worktree, an implementor that edits
files, and a `<PullRequest>` handle carrying reviews, comments and checks. None
of that is the architecture any more, and three of those constructs were
rejected rather than deferred.
The command selects the environment: `xmd workflow start` creates the run and
its one retained Workspace, and the root document is the workflow. Named
`<Repository>` and `<Worktree>` compose the checkouts from ordinary root props,
so nothing resolves through a hidden alias and no single worktree is implied.
Agents are read-only under that host ceiling, so the implementor returns
constrained XMD that `<Expand>` admits and expands as ordinary durable effects,
and `<Git.Add>`, `<Git.Commit>`, an explicit `<Git.Push>` and `<PullRequest>`
follow in that order. Waiting for the user is a durable suspension that `resume`
continues, which is what `<Stage>` was reaching for.
Retention is no longer speculative. #291 and #365 are shipped foundation: the
run retains its filtered journal, Workspace roots, and metadata, and one
expansion publishes its mutation, logical root and journal result in one
transaction. `JournalProvenance` (#425) is what makes that history evidence
rather than storage, and it is named where the documents discuss retained
evidence. Every remaining capability is marked as target behavior against
#218's dependency order.
Two gaps are now stated rather than assumed away. #295 moved reviews, comments
and checks out of the creation result, and no issue owns the forge read that
returns them to a network-denied reviewer; and the journal records which run
and expansion produced a decision but not which person answered.
Props are namespaced throughout (#305), `<Content />` projects at any depth
(#328), and the obsolete asymmetry notes are gone.1 parent 7945240 commit d9a1d0c
11 files changed
Lines changed: 1597 additions & 1047 deletions
File tree
- specs
- workflows/adversarial-implementation
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
267 | 272 | | |
268 | | - | |
| 273 | + | |
269 | 274 | | |
270 | 275 | | |
271 | | - | |
| 276 | + | |
272 | 277 | | |
273 | 278 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
283 | 293 | | |
284 | 294 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
289 | 299 | | |
290 | 300 | | |
291 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
66 | | - | |
| 76 | + | |
0 commit comments