@irisrun/bundle-coding 0.1.0 → 0.2.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 ADDED
@@ -0,0 +1,35 @@
1
+ # @irisrun/bundle-coding
2
+
3
+ **The first domain tactic bundle — proof the harness is pluggable.** A
4
+ coding-specialized bundle composed entirely from `@irisrun/core`'s exported
5
+ tactic primitives, returning the **same** `{tacticPerformer, invariants}` shape
6
+ as the default bundle — so core stays byte-untouched and the replay quarantine
7
+ applies unchanged. `@irisrun/core` is the only dependency; this is not a
8
+ host/transport package.
9
+
10
+ ## What it is
11
+
12
+ `codingBundle(opts)` assembles the five harness seams the way a coding agent
13
+ wants them: read-only / codebase-search tools (`read_file`, `search`, `list`,
14
+ `grep`, `glob`) are a safe **allow**, while writes (`write_file`), shell
15
+ (`run_shell`), and anything unknown are gated to **ask** (HITL) — the
16
+ gate-irreversible-by-default floor, implemented in `codingGate`. `codingDecideNext`
17
+ delegates verbatim to core's proven ReAct tool-loop (a distinct factory kept so a
18
+ future coding heuristic can layer in without touching core). Window-compaction and
19
+ tool-repair are reused from core as-is. The journaled `{seam, tacticId, choice}`
20
+ outcome rides the `tactic` effect exactly like `defaultBundle`, so replay folds the
21
+ recorded choice and never re-invokes the tactic. `BUNDLE_ID` (`iris/coding`) is the
22
+ stable id pinned into `Lock.tactics.bundle`.
23
+
24
+ ## Use it
25
+
26
+ ```yaml
27
+ # agent.yaml
28
+ harness:
29
+ bundle: iris/coding
30
+ ```
31
+
32
+ See **[docs/The harness](../../docs/harness.md)**.
33
+
34
+ ---
35
+ Part of [Iris](../../README.md) — own, portable, verifiable state.
package/dist/coding.js CHANGED
@@ -5,7 +5,7 @@
5
5
  // `defaultBundle()` — a pure `tacticPerformer` (a Performer answering a
6
6
  // {seam, payload} request with {seam, tacticId:"iris/coding", choice}) plus the
7
7
  // kernel invariant caps. The journaled {seam, tacticId, choice} outcome rides the
8
- // `tactic` effect's result value exactly like the default bundle, so the ADR-0007
8
+ // `tactic` effect's result value exactly like the default bundle, so the replay
9
9
  // quarantine (replay folds the journaled choice, never re-invokes a tactic)
10
10
  // applies to this external bundle unchanged.
11
11
  //
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@irisrun/bundle-coding",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
- "description": "Iris first domain tactic bundle — coding-specialized seam tactics (read-only tools allow / writes+shell gated to ask, a tool-loop decideNext, window-compaction + tool-repair) composed HOST-SIDE from @irisrun/core's exported primitives. Produces the defaultBundle shape {tacticPerformer, invariants}; journaled {seam, tacticId, choice} outcomes inherit the ADR-0007 replay quarantine. @irisrun/core dependency only; core stays byte-untouched.",
5
+ "description": "Iris first domain tactic bundle — coding-specialized seam tactics (read-only tools allow / writes+shell gated to ask, a tool-loop decideNext, window-compaction + tool-repair) composed HOST-SIDE from @irisrun/core's exported primitives. Produces the defaultBundle shape {tacticPerformer, invariants}; journaled {seam, tacticId, choice} outcomes inherit the replay quarantine. @irisrun/core dependency only; core stays byte-untouched.",
6
6
  "exports": {
7
7
  ".": {
8
8
  "iris-src": "./src/index.ts",
@@ -11,7 +11,7 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@irisrun/core": "^0.1.0"
14
+ "@irisrun/core": "^0.2.0"
15
15
  },
16
16
  "license": "MIT",
17
17
  "engines": {