-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathto-do.json
More file actions
4024 lines (4024 loc) · 151 KB
/
to-do.json
File metadata and controls
4024 lines (4024 loc) · 151 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"schema_version": 1,
"source_files": [
"README.md",
"AI_CLI_COMPARISON.md",
"SPECS_v1.md",
"SPECS_v2.md"
],
"tasks": [
{
"id": "T001",
"title": "Define core domain structs and shared constants",
"priority": 1,
"status": "done",
"details": "Create canonical Go structs for task, iteration, verification, loop state, proof events, config, and CLI payloads.",
"steps": [
"Define JSON tags matching schema contracts",
"Keep status/result/enums as constants",
"Add lightweight constructors for zero-value safety"
],
"updated_at": "2026-02-13T00:18:14Z",
"files": [
"internal/domain/types.go",
"to-do.json"
]
},
{
"id": "T002",
"title": "Implement config loading with precedence and schema support",
"priority": 1,
"status": "done",
"details": "Load `.bare/config.json` with validation and precedence: flags > env > config file > defaults.",
"depends_on": [
"T001"
],
"steps": [
"Parse defaults and config file",
"Merge explicit flags and environment overrides",
"Expose effective config object to commands"
],
"updated_at": "2026-02-13T00:19:47Z",
"files": [
"internal/domain/config.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T003",
"title": "Implement atomic file write helper",
"priority": 1,
"status": "done",
"details": "Create safe write pattern helper using temp file, fsync on file+parent directory, and atomic rename.",
"depends_on": [
"T001"
],
"steps": [
"Write temp file in same directory",
"Fsync file and parent directory",
"Atomically rename temp -> target"
],
"updated_at": "2026-02-13T00:20:19Z",
"files": [
"internal/storage/atomic.go",
"to-do.json"
]
},
{
"id": "T004",
"title": "Build filesystem-backed task store and CRUD helpers",
"priority": 1,
"status": "done",
"details": "Implement read/write of `.bare/state/todo.json`, validation, and deterministic ID/title/status handling.",
"depends_on": [
"T003",
"T001"
],
"steps": [
"Load and validate task list",
"Support add/update/list/get by id",
"Persist with atomic writer"
],
"updated_at": "2026-02-13T00:20:57Z",
"files": [
"internal/storage/task_store.go",
"to-do.json"
]
},
{
"id": "T005",
"title": "Implement dependency-aware deterministic task selector",
"priority": 1,
"status": "done",
"details": "Select next task by smallest priority, then lexicographically smallest id; skip blocked or waiting on missing dependencies.",
"depends_on": [
"T004",
"T001"
],
"steps": [
"Filter runnable status states",
"Validate depends_on completion",
"Stable sort by priority then id"
],
"updated_at": "2026-02-13T00:35:00Z",
"files": [
"internal/storage/task_store.go"
]
},
{
"id": "T006",
"title": "Implement O_CREATE|O_EXCL lock lifecycle",
"priority": 1,
"status": "done",
"details": "Create `.bare/state/lock.json` lock with pid/host/start time, exclusive creation, and stale-lock detection.",
"depends_on": [
"T003",
"T001"
],
"steps": [
"Create lock acquisition path",
"Detect stale lock via PID check",
"Release lock on exit and on fatal error"
],
"updated_at": "2026-02-13T00:22:16Z",
"files": [
"internal/storage/lock.go",
"to-do.json"
]
},
{
"id": "T007",
"title": "Create `.bare` bootstrap skeleton command",
"priority": 1,
"status": "done",
"details": "Implement `bare init` to create directory structure and starter files, with safe overwrite behavior using `--force`.",
"depends_on": [
"T002",
"T003"
],
"steps": [
"Create .bare directories and required placeholder files",
"Write default config",
"Create default verify/script hook templates"
],
"updated_at": "2026-02-13T00:23:13Z",
"files": [
"/home/niko/bare/cmd/bare/main.go",
"/home/niko/bare/go.mod",
"/home/niko/bare/internal/bootstrap/bootstrap.go",
"/home/niko/bare/to-do.json",
"cmd/bare/main.go",
"go.mod",
"internal/bootstrap/bootstrap.go"
]
},
{
"id": "T008",
"title": "Implement shell command execution engine",
"priority": 1,
"status": "done",
"details": "Implemented shell command execution engine with timeout handling, stdout/stderr capture paths, cwd resolution, and persisted execution records.",
"depends_on": [
"T001",
"T003"
],
"steps": [
"Capture stdout/stderr paths",
"Apply command timeout",
"Persist execution metadata to run artifacts"
],
"updated_at": "2026-02-13T00:24:02Z",
"files": [
"internal/domain/types.go",
"internal/execution/executor.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T009",
"title": "Implement model adapter with retries and token reporting",
"priority": 1,
"status": "done",
"details": "Build stdlib HTTP provider client for prompt/send, backoff retries, cache hints, and usage parsing.",
"depends_on": [
"T002",
"T001"
],
"steps": [
"Support timeout and retry budget",
"Parse response and command extraction",
"Surface model/tokens in iteration record"
],
"updated_at": "2026-02-13T00:24:51Z",
"files": [
"internal/model/model.go",
"internal/domain/types.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T010",
"title": "Implement `bare tick` deterministic work cycle",
"priority": 1,
"status": "done",
"details": "Execute selection, model call, command execution, persistence, verification, and status transition in one deterministic loop body. Executed deterministic tick loop with CLI tick command, model turns, lock-aware no_task/idle handling, status transitions, and run artifacts (iteration/events).",
"depends_on": [
"T002",
"T004",
"T005",
"T006",
"T007",
"T008",
"T009",
"T011",
"T014"
],
"steps": [
"Respect --task and --max-model-turns",
"Emit run artifacts (iteration + events)",
"Handle no_task/idle and lock outcomes deterministically"
],
"updated_at": "2026-02-13T00:26:49Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T011",
"title": "Create proof append-only log primitives",
"priority": 1,
"status": "done",
"details": "Implement `proof.jsonl` event writing, immutable append behavior, sequence numbering, prev_hash chain, and hashing.",
"depends_on": [
"T001",
"T003"
],
"steps": [
"Define event types",
"Implement canonical JSON + sha256 chaining",
"Persist per-task proof files"
],
"updated_at": "2026-02-13T00:27:44Z",
"files": [
"internal/proof/proof.go",
"to-do.json"
]
},
{
"id": "T012",
"title": "Implement verification pipeline with blocking semantics",
"priority": 1,
"status": "done",
"details": "Discover and run `.bare/verify.d` scripts lexicographically, capture outputs, and aggregate blocking failures. | implemented blocking metadata parsing, fail-fast support, and verify.json persistence",
"depends_on": [
"T003",
"T001",
"T008"
],
"steps": [
"Implement # bare:blocking=false parsing",
"Support fail-fast mode",
"Persist `.bare/state/verify.json`"
],
"updated_at": "2026-02-13T00:28:43Z",
"files": [
"cmd/bare/tick.go"
],
"blockers": []
},
{
"id": "T013",
"title": "Implement hook execution and environment contract",
"priority": 1,
"status": "done",
"details": "Run configured shell hooks with required env vars, capture output, and enforce require_success behavior.",
"depends_on": [
"T006",
"T001",
"T003"
],
"steps": [
"Build common hook env map",
"Handle optional hook absence safely",
"Record hook success/failure in iteration log"
],
"updated_at": "2026-02-13T00:30:32Z",
"files": [
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T014",
"title": "Build stable command dispatch and global flag parser",
"priority": 1,
"status": "done",
"details": "Implement CLI entrypoint and subcommands with stdlib flags, including --json/non-interactive/quiet/no-color/emit-progress with shared global flag parser and stable dispatch to typed handlers.",
"depends_on": [
"T002",
"T001"
],
"steps": [
"Parse global flags first",
"Route subcommands to typed handlers",
"Keep output format consistent across commands"
],
"updated_at": "2026-02-13T00:31:35Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T015",
"title": "Implement `bare run` loop controller",
"priority": 1,
"status": "done",
"details": "Wrap tick with scheduler-safe stop conditions and optional resume/max-tokens/timeout constraints. Implemented run command wrapper in cmd/bare/main.go and new cmd/bare/run.go.",
"depends_on": [
"T010",
"T006",
"T001",
"T014"
],
"steps": [
"Honor --max-iterations, --timeout, --until-done",
"Propagate no-task/idle and token budget outcomes",
"Reuse tick selection and persistence semantics"
],
"updated_at": "2026-02-13T00:32:45Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/run.go",
"to-do.json"
]
},
{
"id": "T016",
"title": "Implement task command set: list/next/add/set-status",
"priority": 1,
"status": "done",
"details": "Create CLI UX for task operations with JSON and filtering.",
"depends_on": [
"T004",
"T005",
"T014"
],
"steps": [
"List by status and/or all",
"Add with explicit id/title/priority",
"Transition status with validation"
],
"updated_at": "2026-02-13T00:33:52Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/task.go",
"to-do.json"
]
},
{
"id": "T017",
"title": "Implement bare proof command subcommands",
"priority": 1,
"status": "done",
"details": "Expose `proof init/note/exec/decision/error/done/render` and integrate with run loop where appropriate.",
"depends_on": [
"T011",
"T014"
],
"steps": [
"Append typed events from CLI",
"Record outputs and resolutions",
"Render markdown artifact from proof chain"
],
"updated_at": "2026-02-13T00:36:03Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/proof.go",
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T018",
"title": "Implement verify command",
"priority": 1,
"status": "done",
"details": "Expose manual `bare verify --only --fail-fast` to reuse the same verification runner as tick.",
"depends_on": [
"T012",
"T014"
],
"steps": [
"Support pattern filtering",
"Return deterministic pass/fail summary",
"Persist verify state"
],
"updated_at": "2026-02-13T00:36:43Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/tick.go",
"cmd/bare/verify.go",
"to-do.json"
]
},
{
"id": "T019",
"title": "Implement state command and validation",
"priority": 1,
"status": "done",
"details": "Build `bare state show` for human-readable and JSON snapshots, and `state validate` consistency checks.",
"depends_on": [
"T004",
"T012",
"T014",
"T001"
],
"steps": [
"Include lock/task/progress/verify snapshots",
"Check file-level invariants",
"Report actionable validation errors"
],
"updated_at": "2026-02-13T00:38:11Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/state.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T020",
"title": "Implement stable machine-readable output envelope",
"priority": 1,
"status": "done",
"details": "Implemented stable machine-readable JSON envelope behavior with deterministic result/message normalization and non-JSON-proof-output guard in proof render.",
"depends_on": [
"T014",
"T001",
"T024"
],
"steps": [
"Define envelope fields",
"Emit ok/code/result/message consistently",
"Keep non-zero codes deterministic"
],
"updated_at": "2026-02-13T00:47:02Z",
"files": [
"cmd/bare/proof.go",
"cmd/bare/tick.go",
"internal/domain/types.go",
"to-do.json"
]
},
{
"id": "T021",
"title": "Implement error taxonomy and documented exit-code mapping",
"priority": 1,
"status": "done",
"details": "Map domain errors to required exit codes including 10/11 informational scheduler outcomes.",
"depends_on": [
"T001",
"T020"
],
"steps": [
"Define custom error types",
"Centralize code translation",
"Cover lock contention and token timeout paths"
],
"updated_at": "2026-02-13T00:45:50Z",
"files": [
"cmd/bare/run.go",
"cmd/bare/tick.go",
"cmd/bare/verify.go",
"internal/domain/errors.go",
"to-do.json"
]
},
{
"id": "T022",
"title": "Add lock semantics for tick with fail-on-lock support",
"priority": 1,
"status": "done",
"details": "Implement branch where --fail-on-lock returns exit 4 immediately, else returns exit 11 no-op.",
"depends_on": [
"T006",
"T021",
"T010",
"T014"
],
"steps": [
"Differentiate lock-owned and stale-lock replacement",
"Record no-op and exit semantics in result"
],
"updated_at": "2026-02-13T00:47:50Z",
"files": [
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T023",
"title": "Implement run/tick iteration artifacts",
"priority": 1,
"status": "done",
"details": "Persist loop artifacts under `.bare/outputs/runs/<run_id>/` including iteration JSON, events log, and run log path references.",
"depends_on": [
"T003",
"T010",
"T008"
],
"steps": [
"Create per-run directories",
"Append iteration record",
"Write structured run.log and event stream"
],
"updated_at": "2026-02-13T00:49:04Z",
"files": [
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T024",
"title": "Persist current loop state and progress tracking",
"priority": 2,
"details": "Persisted resumable loop state across iterations into loop.json/current.json plus verify.json/metrics.jsonl with atomic writes at deterministic checkpoints.",
"status": "done",
"depends_on": [
"T003",
"T001",
"T023"
],
"steps": [
"Define progress schema",
"Update at predictable checkpoints",
"Keep writes atomic"
],
"updated_at": "2026-02-13T00:50:35Z",
"blockers": [],
"files": [
"internal/domain/types.go",
"cmd/bare/tick.go",
"cmd/bare/state.go"
]
},
{
"id": "T025",
"title": "Implement crash recovery and stale lock handling",
"priority": 2,
"status": "done",
"details": "On startup and before run loops, detect stale lock and recover from interrupted iterations safely.",
"depends_on": [
"T006",
"T024",
"T010"
],
"steps": [
"Check lock freshness",
"Load latest run artifact and loop state",
"Require operator acknowledgement when ambiguous"
],
"updated_at": "2026-02-13T00:51:57Z",
"files": [
"cmd/bare/tick.go"
]
},
{
"id": "T026",
"title": "Implement proof hash-chain verification in render",
"priority": 2,
"status": "done",
"details": "`bare proof render` must verify hash chain integrity before markdown generation.",
"depends_on": [
"T011",
"T017"
],
"steps": [
"Validate prev_hash/hash order",
"Fail if chain breaks",
"Generate deterministic demo.md"
],
"updated_at": "2026-02-13T00:52:54Z",
"files": [
"cmd/bare/proof.go"
]
},
{
"id": "T027",
"title": "Implement optional source control commit path",
"priority": 2,
"status": "done",
"details": "Support `--commit` in tick/run and config-driven commit_on_verify_pass behavior.",
"depends_on": [
"T010",
"T013",
"T020"
],
"steps": [
"Run git add/commit when allowed",
"Protect against empty commit",
"Surface failures in deterministic result"
],
"updated_at": "2026-02-13T00:54:33Z",
"files": [
"cmd/bare/tick.go",
"cmd/bare/run.go",
"cmd/bare/main.go",
"to-do.json"
]
},
{
"id": "T028",
"title": "Implement metrics and structured run log events",
"priority": 2,
"status": "done",
"details": "Write `.bare/state/metrics.jsonl` and include timing/token model metrics in iteration artifacts.",
"depends_on": [
"T023",
"T021",
"T009"
],
"steps": [
"Emit per-iteration metrics",
"Enable append-only JSONL semantics",
"Keep schemas stable"
],
"updated_at": "2026-02-13T00:56:53Z",
"files": [
"cmd/bare/tick.go",
"internal/domain/types.go",
"to-do.json"
]
},
{
"id": "T029",
"title": "Implement task repair gate and repeat behavior",
"priority": 2,
"status": "done",
"details": "When verify fails, drive repair cycles up to configured max_repair_cycles and then block task if unresolved.",
"depends_on": [
"T010",
"T012",
"T021"
],
"steps": [
"Track repair count per iteration",
"Reuse selected task for retries",
"Set task blocked on exhausted repair budget"
],
"updated_at": "2026-02-13T00:57:56Z",
"files": [
"cmd/bare/tick.go",
"to-do.json"
]
},
{
"id": "T030",
"title": "Create deterministic ordering and status transition tests",
"priority": 3,
"status": "done",
"details": "Add unit tests for comparator ordering, deterministic selection, and state transitions.",
"depends_on": [
"T005",
"T004",
"T021"
],
"steps": [
"Test tie-breakers by id",
"Test depends_on and blocked resolution",
"Test no-op transitions are deterministic"
],
"updated_at": "2026-02-13T01:03:48Z",
"files": [
"cmd/bare/tick.go",
"cmd/bare/tick_status_test.go",
"internal/storage/task_store_test.go",
"to-do.json"
]
},
{
"id": "T031",
"title": "Add CLI envelope and exit-code golden tests",
"priority": 3,
"status": "done",
"details": "Verify `--json` output shape and exit code mapping for command outcomes.",
"depends_on": [
"T020",
"T021",
"T014"
],
"steps": [
"Add table-driven CLI tests",
"Cover no_task/idle and lock outcomes",
"Ensure envelope fields stable"
],
"updated_at": "2026-02-13T01:05:07Z",
"files": [
"cmd/bare/cli_envelope_golden_test.go",
"cmd/bare/testdata/cli/tick-lock-fail.golden",
"cmd/bare/testdata/cli/tick-lock-idle.golden",
"cmd/bare/testdata/cli/tick-no-task.golden",
"to-do.json"
]
},
{
"id": "T032",
"title": "Build end-to-end tick/run integration tests",
"priority": 3,
"status": "done",
"details": "Create fixture repositories with `.bare/verify.d` and validate behavior for tick, run, lock contention, and no_task cases.",
"depends_on": [
"T010",
"T018",
"T022",
"T025"
],
"steps": [
"Test with temporary repos",
"Assert artifact paths and proof records",
"Assert deterministic JSON output"
],
"updated_at": "2026-02-13T01:06:49Z",
"files": [
"cmd/bare/integration_test.go",
"to-do.json"
]
},
{
"id": "T033",
"title": "Implement determinism tests for verify and JSON payloads",
"priority": 3,
"status": "done",
"details": "Prove reproducible ordering and payload stability across repeated runs with the same state.",
"depends_on": [
"T012",
"T020",
"T010"
],
"steps": [
"Sort verify scripts by filename",
"Stabilize command iteration ordering",
"Golden-check serialized JSON"
],
"updated_at": "2026-02-13T01:08:23Z",
"files": [
"cmd/bare/testdata/cli/verify-pass.golden",
"cmd/bare/verify_determinism_test.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T034",
"title": "Enforce zero external dependencies policy",
"priority": 3,
"status": "done",
"details": "Enforce zero external dependencies by standardizing docs, adding a zero-dependency verify script template, and requiring a dependency check in contributing guidance.",
"depends_on": [
"T001",
"T014"
],
"steps": [
"Audit go.mod dependencies",
"Block accidental additions in contributing docs",
"Run static check for imported third-party packages"
],
"updated_at": "2026-02-13T01:09:24Z",
"files": [
"CONTRIBUTING.md",
"SPECS_v1.md",
"internal/bootstrap/bootstrap.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T035",
"title": "Add hook config and default template generation",
"priority": 2,
"status": "done",
"details": "Generate default `.agents/hooks/*.sh` files in init and parse per-hook require_success and timeout settings.",
"depends_on": [
"T007",
"T013",
"T002"
],
"steps": [
"Template include env var exports",
"Store hook config in config.json",
"Support disable/enable behavior"
],
"updated_at": "2026-02-13T00:58:34Z",
"files": [
"internal/bootstrap/bootstrap.go",
"internal/domain/types.go",
"to-do.json"
],
"blockers": []
},
{
"id": "T036",
"title": "Add deterministic proof rendering markdown",
"priority": 2,
"status": "done",
"details": "Generate task-readable demo markdown from proof chain with command and decision sections.",
"depends_on": [
"T011",
"T026"
],
"steps": [
"Format events in stable order",
"Render errors and decisions",
"Reference output artifacts"
],
"updated_at": "2026-02-13T00:59:38Z",
"files": [
"cmd/bare/proof.go",
"to-do.json"
]
},
{
"id": "T037",
"title": "Prepare default verification scripts and docs",
"priority": 3,
"status": "done",
"details": "Ship starter `.bare/verify.d/01-tests.sh` and `02-types.sh` templates and document editable behavior.",
"depends_on": [
"T007",
"T012",
"T034"
],
"steps": [
"Create scripts with executable bits",
"Document required exit codes",
"Include optional non-blocking header usage"
],
"updated_at": "2026-02-13T01:10:03Z",
"files": [
"CONTRIBUTING.md",
"internal/bootstrap/bootstrap.go",
"to-do.json"
]
},
{
"id": "T038",
"title": "Add project docs for bootstrap and command usage",
"priority": 3,
"status": "done",
"details": "Added README.md with bootstrap/install guidance, command usage, deterministic behavior, exit codes, and machine-readable examples for tick/task/proof/verify.",
"depends_on": [
"T007",
"T014",
"T010",
"T017",
"T019",
"T020"
],
"steps": [
"Describe deterministic behavior",
"Document exit codes and statuses",
"Include examples for machine-readable mode"
],
"updated_at": "2026-02-13T01:10:44Z",
"files": [
"README.md",
"to-do.json"
]
},
{
"id": "T039",
"title": "Track token budget and stop-on-limit behavior",
"priority": 2,
"status": "done",
"details": "Implement token accounting in loops with exit code 13 and clear recovery messages.",
"depends_on": [
"T009",
"T015",
"T021"
],
"steps": [
"Parse token usage from model response",
"Sum across model turns",
"Stop loop before violating config limit"
],
"updated_at": "2026-02-13T01:00:26Z",
"files": [
"cmd/bare/run.go",
"to-do.json"
]
},
{
"id": "T040",
"title": "Implement timeout budget and enforcement in tick/run",
"priority": 2,
"status": "done",
"details": "Respect command-level and loop-level timeout budgets and emit timeout exceeded exit code 12.",
"depends_on": [
"T008",
"T015",
"T010",
"T021"
],
"steps": [
"Per-command timeout from config/flag",
"Aggregate elapsed loop time",
"Report where timeout occurred"
],
"updated_at": "2026-02-13T01:02:57Z",
"files": [
"cmd/bare/main.go",
"cmd/bare/run.go",
"cmd/bare/tick.go",
"cmd/bare/verify.go",
"to-do.json"
]
},
{
"id": "T041",
"title": "Build v2 skill runtime scaffold (manual invoke)",
"priority": 4,
"status": "done",
"details": "Create optional markdown-defined runtime that can list/validate/invoke skills outside core loop.",
"depends_on": [
"T014",
"T001"
],
"steps": [
"Parse skill front-matter metadata",
"Expose bare skill commands",
"Store produced artifacts deterministically"
],
"updated_at": "2026-02-13T01:13:04Z",
"files": [
"README.md",
"cmd/bare/main.go",
"cmd/bare/skill.go",
"internal/bootstrap/bootstrap.go",
"internal/skill/skill.go",
"to-do.json"
]
},
{
"id": "T042",
"title": "Design branch execution primitives for v2",
"priority": 4,
"status": "done",
"details": "Plan branch state/worktree model and compare-result persistence for speculative parallel execution. Added v2 branch ID/layout/result primitives in internal/branch/branch.go.",
"depends_on": [
"T041",
"T024"
],
"steps": [
"Model branch IDs and state layout",
"Define isolation directories",
"Define branch result schema"
],
"updated_at": "2026-02-13T01:13:35Z",
"files": [
"internal/branch/branch.go",
"to-do.json"
]
},
{
"id": "T043",
"title": "Add heartbeat and cron helper commands for v2",
"priority": 5,
"status": "done",
"details": "Implement optional `heartbeat` and `cron` commands for scheduled execution ergonomics.",
"depends_on": [
"T015",
"T024"
],
"steps": [
"Add heartbeat status/state",
"Generate sample cron commands",
"Persist heartbeat health state"
],
"updated_at": "2026-02-13T01:22:23Z",
"files": [
"cmd/bare/cron.go",
"cmd/bare/heartbeat.go",
"cmd/bare/main.go",
"internal/bootstrap/bootstrap.go",
"internal/domain/types.go",
"to-do.json"
]
},
{
"id": "T044",
"title": "Build trace management and archival tools",
"priority": 5,
"status": "done",
"details": "Implement trace management and archival command tools with retention/summary/search/restore support.",
"depends_on": [