@open-tomato/rafa 0.31.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.
@@ -3,11 +3,11 @@ import {
3
3
  activeOutput,
4
4
  isStampableStub,
5
5
  readRafaBlocks
6
- } from "./index-t6q4k1tq.js";
6
+ } from "./index-dv0ycmp8.js";
7
7
  import {
8
8
  messageOf,
9
9
  parseTaskDeclaration
10
- } from "./index-dnwcx1cs.js";
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-szgyrz6j.js";
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-89j1m0f6.js";
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,13 +53,15 @@ import {
43
53
  scopeAt,
44
54
  selectEffortStore,
45
55
  selfAndAncestors
46
- } from "./index-13wzpgc1.js";
56
+ } from "./index-kz7e4gtt.js";
47
57
  import {
48
58
  CONFIG_DEFAULTS,
49
59
  CONFIG_FILE,
50
60
  ConfigError,
51
61
  FINDING_KINDS,
52
62
  FINDING_SIGNALS,
63
+ MODULE_SOURCE_KINDS,
64
+ PREREQUISITE_KINDS,
53
65
  RAFA_BLOCK_KINDS,
54
66
  REPORT_STATUSES,
55
67
  configFilePath,
@@ -58,22 +70,21 @@ import {
58
70
  parseReport,
59
71
  readRafaBlocks,
60
72
  resolveConfig
61
- } from "./index-t6q4k1tq.js";
73
+ } from "./index-dv0ycmp8.js";
62
74
  import"./index-d6d0942q.js";
63
- import"./index-p0njjkjj.js";
64
- import"./index-e10rwa4g.js";
75
+ import"./index-k6sd4ym5.js";
76
+ import"./index-3mzw3kzh.js";
65
77
  import {
78
+ BOARD_RELATIONSHIP_MODES,
66
79
  CLAUDE_SETTING_SOURCES,
67
80
  CONFIG_VERSIONS,
68
81
  INJECT_MODES,
69
- MODULE_SOURCE_KINDS,
70
82
  OUTPUT_MODES,
71
- PREREQUISITE_KINDS,
72
83
  PR_PROVIDERS,
73
84
  RELEASE_AUTO,
74
85
  STORE_BACKENDS,
75
86
  SYNC_STRATEGIES
76
- } from "./index-dnwcx1cs.js";
87
+ } from "./index-fzhd3d4y.js";
77
88
  import"./index-wp8c28fd.js";
78
89
  export {
79
90
  validateManifest,
@@ -98,15 +109,25 @@ export {
98
109
  parseConfigText,
99
110
  openSqliteStore,
100
111
  openNdjsonStore,
112
+ mergeStore,
101
113
  mergePlanPrerequisites,
114
+ materialiseWirePayload,
102
115
  loadPlanPrerequisites,
103
116
  loadConfig,
104
117
  isRafaBlockKind,
105
118
  initHint,
119
+ exportWirePayload,
120
+ encodeWirePayload,
106
121
  report as effortReportCommand,
107
122
  collect as effortCollectCommand,
123
+ decodeWirePayload,
108
124
  createAdapterRegistry,
109
125
  configFilePath,
126
+ WireFormatError,
127
+ WireExportRefusal,
128
+ WIRE_VERSION,
129
+ WIRE_FORMAT,
130
+ TRUSTED_PERMISSIONS,
110
131
  ScopeError,
111
132
  SYNC_STRATEGIES,
112
133
  STORE_BACKENDS,
@@ -137,5 +158,6 @@ export {
137
158
  CONFIG_VERSIONS,
138
159
  CONFIG_FILE,
139
160
  CONFIG_DEFAULTS,
140
- CLAUDE_SETTING_SOURCES
161
+ CLAUDE_SETTING_SOURCES,
162
+ BOARD_RELATIONSHIP_MODES
141
163
  };
@@ -12,7 +12,7 @@ import {
12
12
  renderInjection,
13
13
  runPreflight,
14
14
  runShellProbe
15
- } from "../index-89j1m0f6.js";
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-t6q4k1tq.js";
24
+ } from "../index-dv0ycmp8.js";
25
25
  import {
26
26
  INJECT_MODES
27
- } from "../index-dnwcx1cs.js";
27
+ } from "../index-fzhd3d4y.js";
28
28
  import"../index-wp8c28fd.js";
29
29
  export {
30
30
  runShellProbe,
@@ -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.31.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
  },