Repository navigation
Commit 52257b7
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 59d3bdb commit 52257b7
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 | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
202 | 207 | | |
203 | | - | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | | - | |
| 211 | + | |
207 | 212 | | |
208 | 213 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
218 | 228 | | |
219 | 229 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
224 | 234 | | |
225 | 235 | | |
226 | 236 | | |
| |||
| 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