devrites 7.3.5 → 7.3.7
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/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/docs/adr/0040-early-preparation-admission.md +76 -0
- package/docs/adr/README.md +1 -0
- package/docs/engine/commands.md +48 -6
- package/engine/internal/lib/context.go +50 -2
- package/engine/internal/lib/continuation.go +2 -0
- package/engine/internal/lib/dispatch.go +75 -20
- package/engine/internal/lib/frontier.go +40 -16
- package/engine/internal/lib/frontier_controller.go +53 -38
- package/engine/internal/lib/frontier_preparation.go +210 -0
- package/engine/internal/lib/next.go +5 -2
- package/engine/internal/lib/regression.go +21 -7
- package/engine/internal/lib/taskgraph.go +2 -2
- package/engine/internal/lib/triggers.go +9 -0
- package/pack/.claude/skills/devrites-lib/SKILL.md +2 -0
- package/pack/.claude/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/.claude/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/.claude/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/claude/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/claude/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/claude/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/claude/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/codex/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/codex/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/codex/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/codex/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/devin/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/devin/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/devin/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/devin/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/dsh/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/dsh/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/dsh/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/dsh/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/omp/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/omp/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/omp/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/omp/skills/rite-autocomplete/reference/loop.md +55 -42
- package/pack/generated/pi/skills/devrites-lib/SKILL.md +2 -0
- package/pack/generated/pi/skills/devrites-lib/reference/parallel-workspaces.md +12 -10
- package/pack/generated/pi/skills/rite-autocomplete/SKILL.md +7 -5
- package/pack/generated/pi/skills/rite-autocomplete/reference/loop.md +55 -42
- package/package.json +1 -1
|
@@ -41,18 +41,41 @@ remaining. AFK configuration itself stays unchanged.
|
|
|
41
41
|
|
|
42
42
|
### Admit each unattended cycle
|
|
43
43
|
|
|
44
|
-
Before each phase
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
44
|
+
Before each phase/fan-out/recovery/writer, check readiness/overlap and apply early
|
|
45
|
+
admission and the global pass below; local readiness is insufficient. Count every leaf.
|
|
46
|
+
Explicit activation resets only activation-local counters, not durable recovery.
|
|
47
|
+
Pass resolved `--parallel N` to [Build](../../rite-build/reference/output.md#caller-owned-continuation).
|
|
48
|
+
Legacy or invented execution ceilings never stop this controller; human limits bind.
|
|
49
|
+
Resolve ranked validating/blocking picks via `devrites-engine state resolve`, not
|
|
50
|
+
a user handoff. Escalating, irreversible-risk, access, unrecommended blocking picks
|
|
51
|
+
and Seal judgment (`slice: seal`) still pause.
|
|
52
|
+
|
|
53
|
+
## Early preparation admission
|
|
54
|
+
|
|
55
|
+
Internal exclusive `context`/`dispatch open` flags:
|
|
56
|
+
- `--prepare-for <parent-source>`: permitted native non-Build preparation roles
|
|
57
|
+
(only controlling-root context may be roleless), exact existing immediate
|
|
58
|
+
successor/parent agreeing on canonical identity, binding, adjacency and chain.
|
|
59
|
+
Exempts the child's successor gate, never product writes.
|
|
60
|
+
- `--sequence-research`: only canonical `evidence-scout`, Spec/Clarify/Temper/Define/
|
|
61
|
+
Plan/Vet, exact existing source and normal path/role/ledger constraints. Exempts
|
|
62
|
+
authority/successor admission solely to investigate broken authority read-only:
|
|
63
|
+
no acceptance, scope/approval/phase advance, successor creation, writers,
|
|
64
|
+
readiness or preparation credit.
|
|
65
|
+
|
|
66
|
+
Context (`--skill rite-<phase>` too) checks before writes; no account required.
|
|
67
|
+
Use context → packet → open → native launch → `dispatch start` actual handles
|
|
68
|
+
before parent admission; openings alone do not count.
|
|
69
|
+
|
|
70
|
+
Derive preparatory-only B before any marked wave from nonterminal parent A:
|
|
71
|
+
until ordinary unmarked B Temper/Define/Plan/Vet or Build-wright admission
|
|
72
|
+
(checking C first), A becoming terminal or ordered handoff to B, C waits—even
|
|
73
|
+
explicit C `next`/`check continuation`. No C creation/rerouting before A's eligible
|
|
74
|
+
phase. Completed B history retains this bound; Spec/Clarify/research/read-only
|
|
75
|
+
Build do not release it. Independent work stays visible; all global-pass gates bind.
|
|
76
|
+
|
|
77
|
+
Shared registry edits alone do not serialize disjoint modules. Isolate their
|
|
78
|
+
writer; refusal-only tests never replace positive requirements or defer their band.
|
|
56
79
|
|
|
57
80
|
## Phase arc
|
|
58
81
|
|
|
@@ -72,12 +95,10 @@ Workspace files, not chat, carry state. Read/execute each phase skill:
|
|
|
72
95
|
| 10 | `/rite-seal` | GO/NO-GO; no Git |
|
|
73
96
|
| 11 | `/rite-ship` | only after GO; `--ship` never authorizes Git; stop at literal-GO/native approval |
|
|
74
97
|
|
|
75
|
-
At phase entry, before
|
|
98
|
+
At phase entry, before recovery/waits, execute the
|
|
76
99
|
[global pass](../../devrites-lib/reference/parallel-workspaces.md#continuous-global-frontier).
|
|
77
|
-
Consume
|
|
78
|
-
|
|
79
|
-
authorized preparation/selection, preserving pending handles, local cursors and
|
|
80
|
-
protected validation windows. Reporting or creating a placeholder is not progress.
|
|
100
|
+
Consume persisted return frontiers; rerun after landing/artifact/capacity changes.
|
|
101
|
+
Execute authorized routes, retaining handles, cursors and protected proof windows.
|
|
81
102
|
|
|
82
103
|
Check [stop-conditions.md](stop-conditions.md) before advancing. Discard stale
|
|
83
104
|
pass evidence after source edits. Re-read the selected source before each phase per [phase target binding](../../devrites-lib/reference/parallel-workspaces.md#phase-target-binding). On a cold resume or
|
|
@@ -90,14 +111,12 @@ floor; `--update` never excuses an unreconciled regression.
|
|
|
90
111
|
|
|
91
112
|
## Sequence continuation
|
|
92
113
|
|
|
93
|
-
With a recorded successor,
|
|
94
|
-
leave the owner sealed/unshipped with `/rite-ship
|
|
95
|
-
or
|
|
96
|
-
[shared grammar](../../devrites-lib/reference/workspace-artifact-schema.md#what-each-file-owns)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Reuse the child's durable cursor and controller. ACTIVE changes only at normal
|
|
100
|
-
ordered handoff; early planning or isolated independent Build does not advance it.
|
|
114
|
+
With a recorded successor, budget and no opt-out, Seal GO stays internal:
|
|
115
|
+
leave the owner sealed/unshipped with `/rite-ship`; resume the child's cursor/
|
|
116
|
+
controller or authorized native Spec. Use the
|
|
117
|
+
[shared grammar](../../devrites-lib/reference/workspace-artifact-schema.md#what-each-file-owns).
|
|
118
|
+
Charge once; pipeline only immediate successors. ACTIVE changes at ordered handoff,
|
|
119
|
+
not early planning or isolated independent Build.
|
|
101
120
|
|
|
102
121
|
Before invoking a continuation, require durable `state.md`
|
|
103
122
|
`sequence_workspaces_remaining > 0`; if absent, first write
|
|
@@ -151,20 +170,14 @@ and park it after three escalations while independent work continues.
|
|
|
151
170
|
|
|
152
171
|
## Continuous caller obligation
|
|
153
172
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
A distinct invariant is progress, not exhaustion; repeated failed resolver calls
|
|
166
|
-
without correction are not progress.
|
|
167
|
-
|
|
168
|
-
The number of completed repair/Vet cycles, context pressure, compaction, session
|
|
169
|
-
duration, and nested completion never turn checkpoints into handoffs. Persist and
|
|
170
|
-
resume to the requested rest point or shared human/safety/access/parked-recovery stop.
|
|
173
|
+
Execute each green slice/phase's `next_action` internally. Before replying, run
|
|
174
|
+
`devrites-engine check continuation`: consume `required`'s `invoke:`; only `clear`
|
|
175
|
+
permits reply. Controller normalization/preparation/foreign work precedes local
|
|
176
|
+
Build; local repair/picks/reconciliation/discharged deferrals keep their phase,
|
|
177
|
+
not recursive Autocomplete. Route agent-owned NEEDS_REPLAN, budgeted Critical/Important recovery,
|
|
178
|
+
independent work and recommended blocking answers internally; invoke repair or
|
|
179
|
+
`state resolve` unless the [resolver-failure stop](stop-conditions.md#other-stop-classes)
|
|
180
|
+
applies. Distinct invariants are progress; unchanged resolver retries are not.
|
|
181
|
+
Cycles, context pressure, compaction, duration and nested completion never create
|
|
182
|
+
handoffs. Persist/resume until requested completion or a shared human/safety/
|
|
183
|
+
access/parked-recovery stop.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devrites",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.7",
|
|
4
4
|
"description": "DevRites: a disciplined senior-engineer workflow pack for Claude Code, Codex, omp, pi, and Devin CLI",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://github.com/ViktorsBaikers/DevRites#readme",
|