laser-cutter 2.0.0 → 3.0.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.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/pages.yml +44 -0
  3. data/.gitignore +2 -0
  4. data/.openlanes/config.yml +106 -0
  5. data/.plans/002.00/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257lid-options/plan.md +45 -0
  6. data/.plans/003.00/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257ruby-api/plan.md +37 -0
  7. data/.plans/004.00/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows/spec.md +40 -0
  8. data/.plans/004.00/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows/state.json +337 -0
  9. data/.plans/004.01/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257sloped-box-panels/plan.md +91 -0
  10. data/.plans/decisions.md +11 -0
  11. data/CHANGELOG.md +134 -0
  12. data/CLAUDE.md +30 -5
  13. data/Gemfile +2 -1
  14. data/README.md +309 -31
  15. data/Rakefile +11 -7
  16. data/docs/badges/coverage_badge.svg +2 -2
  17. data/docs/decisions/decisions-on-angled-box.md +93 -0
  18. data/docs/decisions/stack.md +6 -0
  19. data/docs/images/box-3d.avif +0 -0
  20. data/docs/images/box-lid-back.avif +0 -0
  21. data/docs/images/box-lid-full.avif +0 -0
  22. data/docs/images/box-lid-plain.avif +0 -0
  23. data/docs/images/box-metric.avif +0 -0
  24. data/docs/images/box-sloped-3d.avif +0 -0
  25. data/docs/images/box-sloped.avif +0 -0
  26. data/docs/images/box-tray.avif +0 -0
  27. data/justfile +24 -8
  28. data/laser-cutter.gemspec +2 -1
  29. data/lib/laser/cutter/aggregator.rb +28 -0
  30. data/lib/laser/cutter/box.rb +192 -24
  31. data/lib/laser/cutter/box_factory.rb +15 -0
  32. data/lib/laser/cutter/cli/command.rb +27 -1
  33. data/lib/laser/cutter/cli/config_file.rb +2 -0
  34. data/lib/laser/cutter/cli/examples.rb +8 -0
  35. data/lib/laser/cutter/cli/generate.rb +41 -5
  36. data/lib/laser/cutter/cli/help.rb +4 -0
  37. data/lib/laser/cutter/cli/page_sizes.rb +3 -0
  38. data/lib/laser/cutter/cli/version.rb +2 -0
  39. data/lib/laser/cutter/cli.rb +23 -4
  40. data/lib/laser/cutter/configuration.rb +42 -2
  41. data/lib/laser/cutter/geometry/dimensions.rb +7 -0
  42. data/lib/laser/cutter/geometry/line.rb +42 -0
  43. data/lib/laser/cutter/geometry/loop.rb +138 -0
  44. data/lib/laser/cutter/geometry/point.rb +3 -0
  45. data/lib/laser/cutter/geometry/rect.rb +25 -0
  46. data/lib/laser/cutter/geometry/shape.rb +19 -1
  47. data/lib/laser/cutter/geometry/transform.rb +50 -0
  48. data/lib/laser/cutter/geometry/tuple.rb +47 -11
  49. data/lib/laser/cutter/invalid_option.rb +8 -0
  50. data/lib/laser/cutter/launcher.rb +14 -1
  51. data/lib/laser/cutter/missing_option.rb +2 -0
  52. data/lib/laser/cutter/notching/angled_edge.rb +67 -0
  53. data/lib/laser/cutter/notching/base.rb +8 -0
  54. data/lib/laser/cutter/notching/edge.rb +59 -4
  55. data/lib/laser/cutter/notching/infinite_iterator.rb +11 -1
  56. data/lib/laser/cutter/notching/path_generator.rb +86 -81
  57. data/lib/laser/cutter/notching/shift.rb +4 -0
  58. data/lib/laser/cutter/options.rb +175 -0
  59. data/lib/laser/cutter/page_manager.rb +12 -2
  60. data/lib/laser/cutter/renderer/base.rb +26 -4
  61. data/lib/laser/cutter/renderer/box_renderer.rb +14 -1
  62. data/lib/laser/cutter/renderer/layout_renderer.rb +13 -3
  63. data/lib/laser/cutter/renderer/line_renderer.rb +6 -0
  64. data/lib/laser/cutter/renderer/meta_renderer.rb +33 -9
  65. data/lib/laser/cutter/renderer/rect_renderer.rb +5 -0
  66. data/lib/laser/cutter/renderer/svg_renderer.rb +12 -4
  67. data/lib/laser/cutter/renderer.rb +2 -0
  68. data/lib/laser/cutter/sloped/box.rb +90 -0
  69. data/lib/laser/cutter/sloped/corners.rb +58 -0
  70. data/lib/laser/cutter/sloped/layout.rb +97 -0
  71. data/lib/laser/cutter/sloped/notcher.rb +53 -0
  72. data/lib/laser/cutter/sloped/panels.rb +121 -0
  73. data/lib/laser/cutter/sloped/placement.rb +36 -0
  74. data/lib/laser/cutter/sloped/profile.rb +176 -0
  75. data/lib/laser/cutter/sloped/request.rb +31 -0
  76. data/lib/laser/cutter/sloped/ring_panel.rb +120 -0
  77. data/lib/laser/cutter/sloped/side_panel.rb +89 -0
  78. data/lib/laser/cutter/types.rb +60 -0
  79. data/lib/laser/cutter/units_converter.rb +5 -0
  80. data/lib/laser/cutter/version.rb +2 -1
  81. data/lib/laser/cutter/zero_value_not_allowed.rb +2 -0
  82. data/lib/laser/cutter.rb +40 -0
  83. data/spec/laser/cutter/angled_edge_spec.rb +103 -0
  84. data/spec/laser/cutter/box_factory_spec.rb +19 -0
  85. data/spec/laser/cutter/box_lid_spec.rb +142 -0
  86. data/spec/laser/cutter/cli_spec.rb +114 -7
  87. data/spec/laser/cutter/configuration_spec.rb +54 -0
  88. data/spec/laser/cutter/loop_spec.rb +107 -0
  89. data/spec/laser/cutter/options_spec.rb +162 -0
  90. data/spec/laser/cutter/renderer/layout_renderer_spec.rb +21 -20
  91. data/spec/laser/cutter/renderer/meta_renderer_spec.rb +82 -0
  92. data/spec/laser/cutter/renderer/svg_renderer_spec.rb +34 -0
  93. data/spec/laser/cutter/sloped/assembly_spec.rb +78 -0
  94. data/spec/laser/cutter/sloped/box_spec.rb +151 -0
  95. data/spec/laser/cutter/sloped/corners_spec.rb +45 -0
  96. data/spec/laser/cutter/sloped/layout_spec.rb +77 -0
  97. data/spec/laser/cutter/sloped/notcher_spec.rb +57 -0
  98. data/spec/laser/cutter/sloped/panels_spec.rb +175 -0
  99. data/spec/laser/cutter/sloped/placement_spec.rb +50 -0
  100. data/spec/laser/cutter/sloped/request_spec.rb +48 -0
  101. data/spec/laser/cutter/sloped/ring_panel_spec.rb +102 -0
  102. data/spec/laser/cutter/sloped/side_panel_spec.rb +98 -0
  103. data/spec/laser/cutter/sloped_profile_spec.rb +156 -0
  104. data/spec/laser/cutter/transform_spec.rb +53 -0
  105. data/spec/laser/cutter_spec.rb +114 -0
  106. data/spec/spec_helper.rb +4 -0
  107. data/spec/support/loops.rb +106 -0
  108. data/spec/support/outline.rb +53 -0
  109. data/spec/support/sloped.rb +26 -0
  110. data/spec/support/solid.rb +95 -0
  111. data/spec/wishes/wish-tilted-box.png +0 -0
  112. metadata +81 -7
  113. /data/.plans/{001.00-dry-cli-migration/plan.md → 001.00/342/224/201/342/224/201/342/232/252/342/224/201/342/224/201/342/235/257dry-cli-migration/plan.md"} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cb71396bbb2f8c49f903912ebe28e43ccf2fa278f7fc390bb68f4002dd678a5
4
- data.tar.gz: 51bee7e480b3fd7578a6668a9f9c82ef3894e2f388bc3db336b76eefcff89098
3
+ metadata.gz: ea56314a7c96b711cec7b0c25c7182aae7a855c7bb36504799e4b5f62a6293ea
4
+ data.tar.gz: 444ab52937af2265898bc3b8264155c5f600f0823772593315e80a20368ab140
5
5
  SHA512:
6
- metadata.gz: a146752a70a7b9f73c6cf46c0472ec5a7456b50e2623188c7665e057c0cf98bd687d05946137c968995783b569a03fb7c99afca3528e084f712d46298e9ef261
7
- data.tar.gz: e8b3eecd4f8fe18078599f989f3a14e94bb9c4df0ff6504619f196849b1c016ebbcb48dad5153465e810cbcce38566cf00d5e2c67ce9bb8fbfca9aa4d80b0455
6
+ metadata.gz: e208b7a2c7f4fcc0182c103b469182e3cf42645638d44c06a1c791c5f1c84c539ffa4d64bfd82b14cafb8990b04a91dff01d2c0f7c473889648e0dfb99d59c36
7
+ data.tar.gz: 3f1899c3d1e350287ec7cda969dfce866b3b4a2c34187c5e962fdf79491c74845f46a3f18214de12d3356ab9e4660ab7b978418413b0ada2e0536f2a6eb27341
@@ -0,0 +1,44 @@
1
+ name: YARD Docs
2
+
3
+ # Builds the YARD documentation with `rake doc` and publishes it to GitHub
4
+ # Pages. The repository's Pages source must be set to "GitHub Actions".
5
+ on:
6
+ push:
7
+ branches: [master]
8
+ workflow_dispatch:
9
+
10
+ permissions:
11
+ contents: read
12
+ pages: write
13
+ id-token: write
14
+
15
+ concurrency:
16
+ group: pages
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: 4.0.6
27
+ bundler-cache: true
28
+ - name: Generate YARD docs
29
+ env:
30
+ CI: "true"
31
+ run: bundle exec rake doc
32
+ - uses: actions/upload-pages-artifact@v3
33
+ with:
34
+ path: doc
35
+
36
+ deploy:
37
+ needs: build
38
+ runs-on: ubuntu-latest
39
+ environment:
40
+ name: github-pages
41
+ url: ${{ steps.deployment.outputs.page_url }}
42
+ steps:
43
+ - id: deployment
44
+ uses: actions/deploy-pages@v4
data/.gitignore CHANGED
@@ -26,3 +26,5 @@ mkmf.log
26
26
  /coverage
27
27
  !docs/coverage/
28
28
  /doc
29
+ .plans/**/*.tmp
30
+ /log
@@ -0,0 +1,106 @@
1
+ project: laser-cutter
2
+ starts: research
3
+ frontend:
4
+ jobs:
5
+ adapter:
6
+ redis_url:
7
+ redis_outage_hours:
8
+ ci_pending_hours:
9
+ redis_backoff:
10
+ initial:
11
+ cap:
12
+ jitter:
13
+ desired_codebase_quality: high
14
+ merge:
15
+ by: human
16
+ max_rejections:
17
+ commands: {}
18
+ application:
19
+ name: laser-cutter
20
+ description:
21
+ current_phase:
22
+ commands:
23
+ setup:
24
+ before_start:
25
+ start: []
26
+ stop: []
27
+ after_stop:
28
+ backend_tests:
29
+ frontend_tests:
30
+ other_tests:
31
+ ci_tests:
32
+ app:
33
+ plans:
34
+ aging_since:
35
+ questions:
36
+ model:
37
+ coverage:
38
+ events:
39
+ enabled: false
40
+ dir:
41
+ ci:
42
+ provider:
43
+ config:
44
+ stack:
45
+ language:
46
+ frameworks:
47
+ front_end:
48
+ persistence:
49
+ caching:
50
+ logins:
51
+ deployment:
52
+ domain:
53
+ from:
54
+ to:
55
+ architecture_decisions:
56
+ version: 1
57
+ detail: low
58
+ current:
59
+ layout: library
60
+ languages:
61
+ - ruby
62
+ task_runners:
63
+ - just
64
+ - rake
65
+ secrets:
66
+ - sopsy
67
+ env_loading:
68
+ - direnv
69
+ ci:
70
+ - github_actions
71
+ deployment:
72
+ - gem
73
+ testing:
74
+ - rspec
75
+ target:
76
+ layout: library
77
+ languages:
78
+ - ruby
79
+ task_runners:
80
+ - just
81
+ - rake
82
+ secrets:
83
+ - sopsy
84
+ env_loading:
85
+ - direnv
86
+ ci:
87
+ - github_actions
88
+ deployment:
89
+ - gem
90
+ testing:
91
+ - rspec
92
+ review:
93
+ adapters:
94
+ refactor:
95
+ threshold:
96
+ lock_hours:
97
+ sizing:
98
+ chime:
99
+ budget:
100
+ plan_usd:
101
+ agents:
102
+ slack:
103
+ channel:
104
+ workspace:
105
+ operators:
106
+ poll_seconds:
@@ -0,0 +1,45 @@
1
+ # 002.00 Lid options: notched on one side, or plain
2
+
3
+ Branch `kig/add-lid-options`, off `master`; the PR targets `master`. Released as 2.0.1.
4
+
5
+ ## Goal
6
+
7
+ A box whose lid lifts off. Today the lid (the `top` panel) is notched on all four sides and can only be glued shut.
8
+
9
+ ## Decisions
10
+
11
+ Answered by Konstantin on 2026-09-30:
12
+
13
+ - The lid rests on top of the walls. Where a lid edge is plain, the wall edge under it is straight at the inner height `H`, and the lid reaches the outer footprint.
14
+ - The lid notched on one side joins the **back** wall, always.
15
+ - The option is `--lid full|back|plain`, `-L`, `full` by default. `full` draws exactly what 2.0.0 drew.
16
+
17
+ Decided without an answer (he had gone to bed), so worth a look in review:
18
+
19
+ - In `back` and `plain` the lid owns all four top corner squares, so no wall rises above `H` at a corner. In `back` the lid's two back corners are the feet either side of its notched edge.
20
+ - The internal height stays `H` in every mode: the underside of the lid is at `H`.
21
+ - The layout does not move. A wall without its tabs leaves its old space unused.
22
+
23
+ ## Geometry
24
+
25
+ Faces are laid out in a column (`top`, `front`, `bottom`, `back`) with `left` and `right` beside `front`. A `Rect`'s sides run 0 bottom, 1 right, 2 top, 3 left. The lid's joints:
26
+
27
+ | Lid side | Wall | Wall side |
28
+ | :------- | :------ | :-------- |
29
+ | 0 | `back` | 2 |
30
+ | 1 | `right` | 0 |
31
+ | 2 | `front` | 0 |
32
+ | 3 | `left` | 0 |
33
+
34
+ - A plain wall edge is the edge's **inside** line. The sides next to it lose the corner box, and its kerf fix-ups, at that end only.
35
+ - A plain lid edge is the edge's **outside** line.
36
+ - Kerf grows every outline by half the kerf, as it does for notches.
37
+
38
+ ## Work
39
+
40
+ - [x] `Configuration`: `lid`, default `full`, rejected by `validate!` when unknown
41
+ - [x] `Notching::Edge` and `PathGenerator`: a corner box per end, not per edge
42
+ - [x] `Box`: per-face outlines; plain and back lids; straight wall edges
43
+ - [x] `generate --lid`, README, CLAUDE.md
44
+ - [x] Specs: each outline against an independent even-odd oracle, with and without kerf
45
+ - [x] Version 2.0.1
@@ -0,0 +1,37 @@
1
+ # 003.00 A Ruby API for MakeABox.io
2
+
3
+ Branch `kig/add-ruby-api-facade`, off `master` once 002.00 had merged; the API carries the lid that plan added.
4
+
5
+ ## Goal
6
+
7
+ MakeABox.io, a Rails application, draws boxes in-process. It must not shell out to `laser-cutter`, and it must be able to ask for any lid.
8
+
9
+ ## What 2.0.0 already allowed
10
+
11
+ `Configuration.new(hash)`, `validate!`, `Renderer::LayoutRenderer.new(config).render` and `PageManager#page_size_values` are what the website calls today against 1.0.3, and all still work. Two things were missing:
12
+
13
+ - A renderer could only write to `config.file`. A controller wants the bytes.
14
+ - `validate!` demanded `file`, so a caller with no file had to invent one.
15
+ - `Configuration` is a Mash: it takes any key and any value, and says nothing until a renderer trips over it.
16
+
17
+ ## Decisions
18
+
19
+ - Asked for by Konstantin mid-way: the facade takes every option as a **typed class**. That is `Laser::Cutter::Options`, a strict `Dry::Struct` with its types in `Laser::Cutter::Types`. dry-struct becomes a runtime dependency.
20
+ - `Laser::Cutter.render(options)` returns the document as a String. No file is needed or written.
21
+ - `Laser::Cutter.write(options)` writes it to `options.file`. Without a format, the extension of the file decides.
22
+ - Both take an `Options`, or a Hash they turn into one, and pass a block through as the per-line callback.
23
+ - `Options` coerces Strings, reads a blank String as left out, and refuses unknown keys. A missing dimension raises `MissingOption`, with the message `Configuration#validate!` gives, since the website rewrites that message. Anything else raises `InvalidOption`.
24
+ - The `--box` shorthand is not an attribute: it is a way to type four options, not a fifth.
25
+ - Renderers answer `document`, the String; `render` writes it to `config.file` as before.
26
+ - `Configuration` also reads a blank lid as the default, for callers still building one by hand.
27
+ - "The two lid types (or none)" is read as `back`, `plain`, or no lid setting at all, which is `full`. A box with no lid panel is not part of this.
28
+ - Requiring the gem still loads dry-cli and the commands. Harmless in a Rails process; splitting the CLI out of the default require is left for later.
29
+ - The command line keeps building a `Configuration` itself; it is not moved onto `Options` here.
30
+
31
+ ## Work
32
+
33
+ - [x] `document` on both renderers
34
+ - [x] `Types` and `Options`
35
+ - [x] `Laser::Cutter.render` and `Laser::Cutter.write`
36
+ - [x] Specs, including Strings from a form and the calls the website makes today
37
+ - [x] README section, CLAUDE.md
@@ -0,0 +1,40 @@
1
+ ---
2
+ created: 2026-11-25
3
+ starts: research
4
+ ---
5
+
6
+ # Can We Create an Angled Box Where Angle Is Configurable Like in Spec Wishes Image Shows
7
+
8
+ ## What we are trying to achieve
9
+
10
+ Add an option that tilts the box's walls to a configurable angle, instead of the straight, right-angled box the gem draws today. The target look is the picture in `spec/wishes/wish-tilted-box.png`, which is the only record of the idea in the repo. The exact meaning of "angle" (wall slope, top tilt, or both) is not stated in the repo.
11
+
12
+
13
+ ## Why it matters
14
+
15
+ The README's Feature Wish List does not mention angled or tilted boxes. The closest entries are "Support more shapes than just box, such as prisms" and "Extensibility with various layout strategies", and the README says the gem should be extensible. The repo does not say why this matters to its users.
16
+
17
+ This is the first attempt at doing something other than just a box.
18
+
19
+
20
+ ## What already exists
21
+
22
+ - `spec/wishes/wish-tilted-box.png`: the wish image, staged in git (`A`). Look at it first.
23
+ - `lib/laser/cutter/box.rb`: `Box` builds the six faces as `Geometry::Rect`s in a fixed cross (`position_faces!`), with alignment set by the `conf` table. Every face is axis-aligned, so this is the main place a tilt would touch. The file is flagged "badly needs refactoring and tests".
24
+ - `lib/laser/cutter/notching/edge.rb`, `notching/path_generator.rb`: notches assume each side is a straight line. Tilted sides would need the notch geometry generalized.
25
+ - `lib/laser/cutter/aggregator.rb`: merges collinear lines by axis and offset (groups by axis, so it assumes axis-aligned lines). Relevant if tilted edges are not axis-aligned.
26
+ - `lib/laser/cutter/configuration.rb`, `options.rb`, `types.rb`: where a new option would go. A new `generate` option needs an attribute in `Options`.
27
+ - `lib/laser/cutter/renderer/base.rb`, `spec/support/outline.rb`: matched "angle/rotat" hits; not checked whether they relate to this.
28
+ - `.plans/001.00-dry-cli-migration`, `002.00-lid-options`, `003.00-ruby-api`: earlier plans, not read here. `002.00` (lid) is the nearest precedent for changing panel geometry.
29
+ - `.plans/decisions.md` and `docs/decisions/stack.md`: exist, not read here.
30
+
31
+
32
+ ## What research needs to settle
33
+
34
+ - What "angle" means in the wish image: which walls tilt, and whether the top and bottom stay parallel.
35
+ - Whether the angle is a single value or per-wall, and its allowed range.
36
+ - How the notch alignment (`valign`/`halign`) and the symmetric-notch rule work on a non-rectangular face.
37
+ - Whether the tilted panels can still be cut as flat sheets and snap together.
38
+ - Whether the Aggregator's axis-based sweep needs to change for non-axis-aligned edges.
39
+ - Whether the Ruby API (`Options`) and SVG output need changes to match.
40
+
@@ -0,0 +1,337 @@
1
+ {
2
+ "$schema": "https://github.com/kigster/openlanes/blob/main/schemas/plan-state.schema.json",
3
+ "version": 1,
4
+ "plan": {
5
+ "ordinal": "004.00",
6
+ "slug": "can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows"
7
+ },
8
+ "state": "new",
9
+ "updated_at": "2026-11-25T15:37:23-08:00",
10
+ "stages": [
11
+ {
12
+ "agent": "researcher",
13
+ "round": 1,
14
+ "status": "Interrupted",
15
+ "started_at": "2026-11-25T14:55:17-08:00",
16
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
17
+ "from": "new",
18
+ "state": "new",
19
+ "adapter": "claude",
20
+ "model": "haiku",
21
+ "effort": "medium",
22
+ "visit": 1,
23
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
24
+ "to": "new",
25
+ "finished_at": "2026-11-25T14:56:19-08:00",
26
+ "up": 495305,
27
+ "down": 8346,
28
+ "seconds": 60.0,
29
+ "note": "Interrupted; no rounds left",
30
+ "moves": 1
31
+ },
32
+ {
33
+ "agent": "researcher",
34
+ "round": 2,
35
+ "status": "Interrupted",
36
+ "started_at": "2026-11-25T14:56:30-08:00",
37
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
38
+ "from": "new",
39
+ "state": "new",
40
+ "adapter": "claude",
41
+ "model": "haiku",
42
+ "effort": "medium",
43
+ "visit": 1,
44
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
45
+ "to": "new",
46
+ "finished_at": "2026-11-25T14:56:57-08:00",
47
+ "up": 287311,
48
+ "down": 2063,
49
+ "seconds": 24.3,
50
+ "note": "Interrupted; no rounds left",
51
+ "moves": 1
52
+ },
53
+ {
54
+ "agent": "researcher",
55
+ "round": 3,
56
+ "status": "Blocked",
57
+ "started_at": "2026-11-25T14:57:07-08:00",
58
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
59
+ "from": "new",
60
+ "state": "new",
61
+ "adapter": "claude",
62
+ "model": "claude-opus-5-5",
63
+ "effort": "medium",
64
+ "visit": 1,
65
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
66
+ "to": "new",
67
+ "finished_at": "2026-11-25T14:57:53-08:00",
68
+ "up": 483423,
69
+ "down": 3043,
70
+ "seconds": 42.6,
71
+ "note": "ledger says Blocked but Technical Block requires `blocked.md`",
72
+ "moves": 1
73
+ },
74
+ {
75
+ "agent": "researcher",
76
+ "round": 4,
77
+ "status": "Blocked",
78
+ "started_at": "2026-11-25T15:08:14-08:00",
79
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
80
+ "from": "new",
81
+ "state": "new",
82
+ "adapter": "claude",
83
+ "model": "claude-opus-5-5",
84
+ "effort": "medium",
85
+ "visit": 1,
86
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
87
+ "to": "new",
88
+ "finished_at": "2026-11-25T15:08:37-08:00",
89
+ "up": 266789,
90
+ "down": 1139,
91
+ "seconds": 20.1,
92
+ "note": "ledger says Blocked but Technical Block requires `blocked.md`",
93
+ "moves": 1
94
+ },
95
+ {
96
+ "agent": "researcher",
97
+ "round": 5,
98
+ "status": "Blocked",
99
+ "started_at": "2026-11-25T15:19:49-08:00",
100
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
101
+ "from": "new",
102
+ "state": "new",
103
+ "adapter": "claude",
104
+ "model": "claude-opus-5-5",
105
+ "effort": "medium",
106
+ "visit": 1,
107
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
108
+ "to": "new",
109
+ "finished_at": "2026-11-25T15:20:11-08:00",
110
+ "up": 285423,
111
+ "down": 1195,
112
+ "seconds": 20.3,
113
+ "note": "ledger says Blocked but Technical Block requires `blocked.md`",
114
+ "moves": 1
115
+ },
116
+ {
117
+ "agent": "researcher",
118
+ "round": 5,
119
+ "status": "Blocked",
120
+ "started_at": "2026-11-25T15:37:03-08:00",
121
+ "cwd": "/Users/kig/github/kigster/laser-cutter.worktrees/004.00-can-we-create-an-angled-box-where-angle-is-configurable-like-in-spec-wishes-image-shows",
122
+ "from": "new",
123
+ "state": "new",
124
+ "adapter": "claude",
125
+ "model": "claude-opus-5-5",
126
+ "effort": "medium",
127
+ "visit": 1,
128
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
129
+ "to": "new",
130
+ "finished_at": "2026-11-25T15:37:23-08:00",
131
+ "up": 304445,
132
+ "down": 1082,
133
+ "seconds": 19.0,
134
+ "note": "ledger says Blocked but Technical Block requires `blocked.md`",
135
+ "moves": 1
136
+ }
137
+ ],
138
+ "signatures": [
139
+ {
140
+ "at": "2026-11-25T14:55:24-08:00",
141
+ "agent": "researcher",
142
+ "status": "Started",
143
+ "round": 1
144
+ },
145
+ {
146
+ "at": "2026-11-25T14:56:11-08:00",
147
+ "agent": "researcher",
148
+ "status": "Interrupted",
149
+ "round": 1,
150
+ "note": "technical"
151
+ },
152
+ {
153
+ "at": "2026-11-25T14:56:36-08:00",
154
+ "agent": "researcher",
155
+ "status": "Started",
156
+ "round": 2
157
+ },
158
+ {
159
+ "at": "2026-11-25T14:56:51-08:00",
160
+ "agent": "researcher",
161
+ "status": "Interrupted",
162
+ "round": 2,
163
+ "note": "technical"
164
+ },
165
+ {
166
+ "at": "2026-11-25T14:57:15-08:00",
167
+ "agent": "researcher",
168
+ "status": "Started",
169
+ "round": 3
170
+ },
171
+ {
172
+ "at": "2026-11-25T14:57:42-08:00",
173
+ "agent": "researcher",
174
+ "status": "Blocked",
175
+ "round": 3,
176
+ "note": "technical"
177
+ },
178
+ {
179
+ "at": "2026-11-25T15:08:23-08:00",
180
+ "agent": "researcher",
181
+ "status": "Started",
182
+ "round": 4
183
+ },
184
+ {
185
+ "at": "2026-11-25T15:08:30-08:00",
186
+ "agent": "researcher",
187
+ "status": "Blocked",
188
+ "round": 4,
189
+ "note": "technical"
190
+ },
191
+ {
192
+ "at": "2026-11-25T15:19:56-08:00",
193
+ "agent": "researcher",
194
+ "status": "Started",
195
+ "round": 5
196
+ },
197
+ {
198
+ "at": "2026-11-25T15:20:03-08:00",
199
+ "agent": "researcher",
200
+ "status": "Blocked",
201
+ "round": 5,
202
+ "note": "technical"
203
+ },
204
+ {
205
+ "at": "2026-11-25T15:37:11-08:00",
206
+ "agent": "researcher",
207
+ "status": "Started",
208
+ "round": 5
209
+ },
210
+ {
211
+ "at": "2026-11-25T15:37:18-08:00",
212
+ "agent": "researcher",
213
+ "status": "Blocked",
214
+ "round": 5,
215
+ "note": "technical"
216
+ }
217
+ ],
218
+ "messages": [],
219
+ "moves": 1,
220
+ "memory": {
221
+ "researcher": {
222
+ "rounds": {
223
+ "1": {
224
+ "round": 1,
225
+ "state": "new",
226
+ "entries": [
227
+ {
228
+ "kind": "note",
229
+ "text": "Wish image spec/wishes/wish-tilted-box.png is staged only in the main checkout, not in the worktree"
230
+ },
231
+ {
232
+ "kind": "decision",
233
+ "text": "Left spec.md unwritten: plan folder lock refused (openlanes harness holds it); did not write over it"
234
+ },
235
+ {
236
+ "kind": "question",
237
+ "text": "Is the openlanes lock on the plan folder mine to take over, or should it be released by a person?"
238
+ }
239
+ ]
240
+ },
241
+ "2": {
242
+ "round": 2,
243
+ "state": "new",
244
+ "entries": [
245
+ {
246
+ "kind": "question",
247
+ "text": "Round 2: the harness lock on the plan folder is still held by openlanes:81256 and refreshed; a person must release or re-scope it before the Research chapter can be written"
248
+ }
249
+ ]
250
+ },
251
+ "3": {
252
+ "round": 3,
253
+ "state": "new",
254
+ "entries": [
255
+ {
256
+ "kind": "note",
257
+ "text": "Lock holder 81256 is openlanes-engine, the grandparent of this researcher run; alock 3.1.0 does not treat it as my parent, so acquire on the plan folder always fails"
258
+ },
259
+ {
260
+ "kind": "decision",
261
+ "text": "Round 3: signed Blocked (technical) instead of Interrupted so the harness stops relaunching; did not write past the refused lock"
262
+ },
263
+ {
264
+ "kind": "question",
265
+ "text": "Should openlanes skip locking the plan folder or hand the lock to the agent, treat its lock as the agent's, or should a person release it and run openlanes unblock 004.00?"
266
+ }
267
+ ]
268
+ },
269
+ "4": {
270
+ "round": 4,
271
+ "state": "new",
272
+ "entries": [
273
+ {
274
+ "kind": "note",
275
+ "text": "Round 4: engine restarted as pid 84057 and re-locked the plan folder; acquire on spec.md still refused, no mail; signed Blocked (technical) again"
276
+ }
277
+ ]
278
+ },
279
+ "5": {
280
+ "round": 5,
281
+ "state": "new",
282
+ "entries": [
283
+ {
284
+ "kind": "note",
285
+ "text": "Round 5: engine pid 3740 re-locked the plan folder; still refused; harness relaunches about every 11 min despite Blocked, likely because no blocked.md exists; suggest ol stop until the lock is fixed"
286
+ }
287
+ ]
288
+ },
289
+ "6": {
290
+ "round": 5,
291
+ "state": "new",
292
+ "entries": [
293
+ {
294
+ "kind": "note",
295
+ "text": "Round 5 rerun: same lock by engine pid 3740 at 23:37:02, refused again, no mail; signed Blocked (technical). Needs ol stop plus a lock fix from a person"
296
+ }
297
+ ]
298
+ }
299
+ },
300
+ "held": {
301
+ "session": "1b4211b0-798f-4cc6-b5fd-ad159f0ca9ad",
302
+ "through": 10
303
+ }
304
+ }
305
+ },
306
+ "extensions": [
307
+ {
308
+ "number": 1,
309
+ "agent": "researcher",
310
+ "state": "new",
311
+ "round": 1,
312
+ "limit": "rounds",
313
+ "asked_at": "2026-11-25T14:56:19-08:00",
314
+ "moves": 1,
315
+ "answer": "a",
316
+ "by": "root",
317
+ "grant": "round",
318
+ "seconds": 0,
319
+ "settled_at": "2026-11-25T14:56:27-08:00"
320
+ },
321
+ {
322
+ "number": 2,
323
+ "agent": "researcher",
324
+ "state": "new",
325
+ "round": 2,
326
+ "limit": "rounds",
327
+ "asked_at": "2026-11-25T14:56:57-08:00",
328
+ "moves": 1,
329
+ "answer": "c",
330
+ "by": "root",
331
+ "grant": "round",
332
+ "seconds": 1200,
333
+ "settled_at": "2026-11-25T14:57:04-08:00",
334
+ "spent": true
335
+ }
336
+ ]
337
+ }