@open-tomato/rafa 0.32.0 → 0.33.0
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 +109 -4
- package/dist/bundled/agents/build-error-resolver.md +22 -14
- package/dist/bundled/agents/code-reviewer.md +22 -14
- package/dist/bundled/agents/loop-implementer.md +22 -8
- package/dist/bundled/agents/tdd-guide.md +23 -15
- package/dist/bundled/operators/agents/rafa-stretch-engineer.md +172 -0
- package/dist/bundled/operators/agents/rafa-stretch-watchtower.md +91 -0
- package/dist/bundled/operators/skills/rafa-stretch-gap-log/SKILL.md +72 -0
- package/dist/bundled/operators/skills/rafa-stretch-pit-stop/SKILL.md +71 -0
- package/dist/bundled/operators/skills/rafa-stretch-sweep/SKILL.md +111 -0
- package/dist/bundled/skills/dev-planner/SKILL.md +19 -1
- package/dist/cli.js +3019 -1128
- package/dist/{describe-d31jy6dk.js → describe-5hqfwbjc.js} +3 -3
- package/dist/effort/store/index.js +24 -4
- package/dist/{index-22stnzde.js → index-13caphhp.js} +450 -1119
- package/dist/{index-mt6hpsry.js → index-3mzw3kzh.js} +2 -2
- package/dist/{index-9aph6ft9.js → index-dv0ycmp8.js} +127 -5
- package/dist/{index-rs79dq9e.js → index-fzhd3d4y.js} +22 -4
- package/dist/{index-5tftj69y.js → index-k6sd4ym5.js} +2 -2
- package/dist/{index-wvm2s4pr.js → index-kz7e4gtt.js} +593 -80
- package/dist/{index-qgayjcym.js → index-w3vyb08t.js} +6141 -4087
- package/dist/{index-pbeyv281.js → index-zn08ywsv.js} +2 -2
- package/dist/index.js +27 -7
- package/dist/plan/index.js +3 -3
- package/dist/plan-prompt.md +12 -0
- package/package.json +5 -2
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
activeOutput,
|
|
4
4
|
isStampableStub,
|
|
5
5
|
readRafaBlocks
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-dv0ycmp8.js";
|
|
7
7
|
import {
|
|
8
8
|
messageOf,
|
|
9
9
|
parseTaskDeclaration
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-fzhd3d4y.js";
|
|
11
11
|
// src/preflight/prerequisites-md.ts
|
|
12
12
|
import { basename, dirname, join } from "path";
|
|
13
13
|
var SECTION_AUTO_RE = /\[auto\]/i;
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
start,
|
|
11
11
|
usage,
|
|
12
12
|
validateManifest
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-w3vyb08t.js";
|
|
14
14
|
import {
|
|
15
15
|
PLAN_BLOCK_KINDS,
|
|
16
16
|
PLAN_HEADER_FIELDS,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
renderInjection,
|
|
25
25
|
runPreflight,
|
|
26
26
|
runShellProbe
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-zn08ywsv.js";
|
|
28
28
|
import {
|
|
29
29
|
CORE_ADAPTER_REGISTRY,
|
|
30
30
|
DISK_FILE_SYSTEM,
|
|
@@ -33,9 +33,19 @@ import {
|
|
|
33
33
|
PORT_VERSIONS,
|
|
34
34
|
SCOPE_DIR,
|
|
35
35
|
ScopeError,
|
|
36
|
+
TRUSTED_PERMISSIONS,
|
|
37
|
+
WIRE_FORMAT,
|
|
38
|
+
WIRE_VERSION,
|
|
39
|
+
WireExportRefusal,
|
|
40
|
+
WireFormatError,
|
|
36
41
|
createAdapterRegistry,
|
|
42
|
+
decodeWirePayload,
|
|
43
|
+
encodeWirePayload,
|
|
44
|
+
exportWirePayload,
|
|
37
45
|
initHint,
|
|
38
46
|
loadConfig,
|
|
47
|
+
materialiseWirePayload,
|
|
48
|
+
mergeStore,
|
|
39
49
|
openNdjsonStore,
|
|
40
50
|
openSqliteStore,
|
|
41
51
|
readConfigFile,
|
|
@@ -43,7 +53,7 @@ import {
|
|
|
43
53
|
scopeAt,
|
|
44
54
|
selectEffortStore,
|
|
45
55
|
selfAndAncestors
|
|
46
|
-
} from "./index-
|
|
56
|
+
} from "./index-kz7e4gtt.js";
|
|
47
57
|
import {
|
|
48
58
|
CONFIG_DEFAULTS,
|
|
49
59
|
CONFIG_FILE,
|
|
@@ -60,10 +70,10 @@ import {
|
|
|
60
70
|
parseReport,
|
|
61
71
|
readRafaBlocks,
|
|
62
72
|
resolveConfig
|
|
63
|
-
} from "./index-
|
|
73
|
+
} from "./index-dv0ycmp8.js";
|
|
64
74
|
import"./index-d6d0942q.js";
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
75
|
+
import"./index-k6sd4ym5.js";
|
|
76
|
+
import"./index-3mzw3kzh.js";
|
|
67
77
|
import {
|
|
68
78
|
BOARD_RELATIONSHIP_MODES,
|
|
69
79
|
CLAUDE_SETTING_SOURCES,
|
|
@@ -74,7 +84,7 @@ import {
|
|
|
74
84
|
RELEASE_AUTO,
|
|
75
85
|
STORE_BACKENDS,
|
|
76
86
|
SYNC_STRATEGIES
|
|
77
|
-
} from "./index-
|
|
87
|
+
} from "./index-fzhd3d4y.js";
|
|
78
88
|
import"./index-wp8c28fd.js";
|
|
79
89
|
export {
|
|
80
90
|
validateManifest,
|
|
@@ -99,15 +109,25 @@ export {
|
|
|
99
109
|
parseConfigText,
|
|
100
110
|
openSqliteStore,
|
|
101
111
|
openNdjsonStore,
|
|
112
|
+
mergeStore,
|
|
102
113
|
mergePlanPrerequisites,
|
|
114
|
+
materialiseWirePayload,
|
|
103
115
|
loadPlanPrerequisites,
|
|
104
116
|
loadConfig,
|
|
105
117
|
isRafaBlockKind,
|
|
106
118
|
initHint,
|
|
119
|
+
exportWirePayload,
|
|
120
|
+
encodeWirePayload,
|
|
107
121
|
report as effortReportCommand,
|
|
108
122
|
collect as effortCollectCommand,
|
|
123
|
+
decodeWirePayload,
|
|
109
124
|
createAdapterRegistry,
|
|
110
125
|
configFilePath,
|
|
126
|
+
WireFormatError,
|
|
127
|
+
WireExportRefusal,
|
|
128
|
+
WIRE_VERSION,
|
|
129
|
+
WIRE_FORMAT,
|
|
130
|
+
TRUSTED_PERMISSIONS,
|
|
111
131
|
ScopeError,
|
|
112
132
|
SYNC_STRATEGIES,
|
|
113
133
|
STORE_BACKENDS,
|
package/dist/plan/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
renderInjection,
|
|
13
13
|
runPreflight,
|
|
14
14
|
runShellProbe
|
|
15
|
-
} from "../index-
|
|
15
|
+
} from "../index-zn08ywsv.js";
|
|
16
16
|
import {
|
|
17
17
|
FINDING_KINDS,
|
|
18
18
|
FINDING_SIGNALS,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
isRafaBlockKind,
|
|
22
22
|
parseReport,
|
|
23
23
|
readRafaBlocks
|
|
24
|
-
} from "../index-
|
|
24
|
+
} from "../index-dv0ycmp8.js";
|
|
25
25
|
import {
|
|
26
26
|
INJECT_MODES
|
|
27
|
-
} from "../index-
|
|
27
|
+
} from "../index-fzhd3d4y.js";
|
|
28
28
|
import"../index-wp8c28fd.js";
|
|
29
29
|
export {
|
|
30
30
|
runShellProbe,
|
package/dist/plan-prompt.md
CHANGED
|
@@ -24,6 +24,18 @@ on the `open-tomato/rafa` board.
|
|
|
24
24
|
`RafaCommand` — see the dev-planner skill's "Command-development rule" for
|
|
25
25
|
guidance.
|
|
26
26
|
|
|
27
|
+
* Size each task's suite run with the `tests=` declaration key (the
|
|
28
|
+
dev-planner skill's `tests=` section). Leave it off where the task's
|
|
29
|
+
own diff reaches the tests that could break, which the `affected`
|
|
30
|
+
default covers. Write `tests=module` on a task whose change other
|
|
31
|
+
modules consume through their own tests: an integration or spawned
|
|
32
|
+
test task, a change to a shared type, a reader or a module many
|
|
33
|
+
callers import. Write `tests=full` on a task whose change can break a
|
|
34
|
+
test that imports none of its files: test preloads, `bunfig.toml`,
|
|
35
|
+
`tsconfig*.json`, `package.json` or the lockfile, global state or
|
|
36
|
+
environment every test inherits, and a stage's closing cross-module
|
|
37
|
+
test task.
|
|
38
|
+
|
|
27
39
|
* Before planning, review the spec as written, and report that review at the
|
|
28
40
|
END of your final message as a `rafa:spec-review` block carrying
|
|
29
41
|
`verdict: ready` or `verdict: not-ready`, with empty `gaps:` for ready, or a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tomato/rafa",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Alpha. Runs a plan through the ralph loop: one Claude Code session per task, one commit per task, then a pull request and a CI wait.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"author": "Marcos Tomatti <marcos@opentomato.io>",
|
|
29
29
|
"packageManager": "bun@1.3.14",
|
|
30
30
|
"type": "module",
|
|
31
|
+
"workspaces": [
|
|
32
|
+
"packages/*"
|
|
33
|
+
],
|
|
31
34
|
"module": "./dist/index.js",
|
|
32
35
|
"bin": {
|
|
33
36
|
"rafa": "./dist/cli.js"
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"prepack": "bun run build",
|
|
53
56
|
"test": "bun test",
|
|
54
57
|
"lint": "eslint .",
|
|
55
|
-
"check-types": "tsc --noEmit",
|
|
58
|
+
"check-types": "tsc --noEmit && bun run --filter './packages/*' check-types",
|
|
56
59
|
"gate:control-bytes": "bun scripts/control-byte-gate/control-byte-gate.ts",
|
|
57
60
|
"snapshot": "bun scripts/snapshot-runtime.ts"
|
|
58
61
|
},
|