Commit Graph

1314 Commits

Author SHA1 Message Date
ec7949744f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 06:49:30 +02:00
4bd071ba7b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 06:34:52 +02:00
cc5d6e7daf chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 06:20:20 +02:00
46ae3f3ed3 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 06:05:48 +02:00
a9710bc3bd chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 05:51:17 +02:00
649c43d2b2 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 05:36:43 +02:00
a5e3234235 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 05:22:10 +02:00
166379f35c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 05:07:35 +02:00
3aaf14b4ec chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 04:53:02 +02:00
dbccacd431 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 04:38:29 +02:00
08c1f1ae6c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 04:23:51 +02:00
12585704ff chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 04:09:17 +02:00
7bb749c35c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 03:54:39 +02:00
d394a324a1 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 03:40:03 +02:00
c72d004b75 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 03:25:28 +02:00
c25ce87cf2 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 03:10:48 +02:00
453ec06ba1 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 02:56:08 +02:00
9ddced36b5 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 02:41:32 +02:00
6124b2ea78 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 02:27:31 +02:00
ba2addf924 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-21:
  - update .custodian-brief.md for the-custodian
2026-04-21 02:13:28 +02:00
e410d44959 feat(consistency): T04 push seal — closed-loop writeback for automated commits
Root cause of the 501-commit pile-up in inter-hub: fix_repo() created
git commits (brief updates, T03 writebacks) but never pushed them, so
the 15-minute timer accumulated local commits indefinitely. Once real
development landed on remote the repos diverged with no self-healing path.

Changes
-------
repo_sync.py (new module)
  Extracts all git lifecycle primitives: pull_ff, push_ff,
  count_remote_ahead (C-16 input), count_local_ahead (C-17/T04 input).
  Module docstring documents the push-seal invariant and stable state.

consistency_check.py
  - Imports primitives from repo_sync; thin _detect_behind_remote wrapper
    preserves backward compat for existing callers and tests.
  - C-17 backlog guard: if local has unpushed commits from a prior failed
    push, retry before making more; skip all writes if push still fails.
  - T04 push seal: unconditional push_ff() at end of every fix_repo() run.
  - _report_needs_action: ahead_of_remote param so repos with unpushed
    backlogs are not silently skipped as "clean" by fix_all_remote().
  - Domain-slug fallback: brief no longer degrades to "(unknown)" when all
    workplans are completed — falls back to any workstream for domain context.
  - Service switched from --all --fix to --remote --all (pulls before
    fixing, skips already-clean repos).

push-seal.md (new)
  Capability documentation: the problem, the invariant, all three checks
  (C-16/C-17/T04), stable-state description, API reference, and test map.

test_repo_sync.py (new, 32 tests)
  Full coverage of all four primitives via real git repos (tmp_path).
  Includes C-17 scenario, push-seal invariant, and four end-to-end
  loop-stability tests.

test_consistency_check.py
  Four new _report_needs_action cases for the ahead_of_remote parameter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 01:43:40 +02:00
b64fadb810 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 15:24:14 +02:00
f09fbfd63f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 15:09:21 +02:00
95ba50e7be chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 14:53:52 +02:00
281d5525eb chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 14:38:50 +02:00
5f3e1f6c14 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 14:10:36 +02:00
9760b3396f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 13:55:49 +02:00
7d0ca3d201 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 13:40:56 +02:00
0adbea61e7 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 13:25:58 +02:00
5f3d288f15 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 13:10:53 +02:00
65d29c33b1 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 12:55:53 +02:00
e274238d92 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 12:40:23 +02:00
188442d650 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 12:25:16 +02:00
6a676d255b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 12:10:09 +02:00
339b03fe84 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 12:01:55 +02:00
9bc761c2b5 feat(railiance): implement CUST-WP-0032 Haskell build machine infra
Packer build definition, cloud-init autoinstall, GHCup toolchain script,
boot-time registration agent (state-hub + autossh dual tunnel), systemd
unit, key injection, remote-build Makefile, smoke test, and deployment
README. All 15 tasks complete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 12:01:30 +02:00
67b990170d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 02:39:19 +02:00
42b98e99f5 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 02:23:22 +02:00
1fa946e6e5 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 02:07:17 +02:00
014a276c5c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:51:22 +02:00
1c2d15c091 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:35:17 +02:00
d26ebf924f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:19:22 +02:00
1eab9a5dc2 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:12:39 +02:00
155c267e37 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:05:58 +02:00
efe1387ede refine(CUST-WP-0032): incorporate all four architecture decisions
- Packer uses NAT during build; setup-vm.sh does post-import bridged config
- Bake GHC 9.8.4 (primary) + 9.6.6 (LTS coverage); drop Stack + HLS
- state-hub always via forward tunnel port 18000 (CoulombCore pattern)
- autossh opens -R (reverse SSH) + -L 18000 (state-hub forward) together
- Decisions section replaces Open Questions; all four resolved 2026-04-20

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 01:05:28 +02:00
62198b39a2 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:03:26 +02:00
32aa4f41f8 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:00:56 +02:00
f432b76613 feat(railiance): add CUST-WP-0032 Haskell build machine workplan
15-task plan across 5 phases: Packer VirtualBox image, boot-time
registration agent (POST /capability-catalog/), autossh SSH bridge
integration (ports 12221-12230), state-hub capability bootstrap,
and remote build Makefile workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 01:00:26 +02:00
11708617fc chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 01:00:01 +02:00
1b0da43c77 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-04-20:
  - update .custodian-brief.md for the-custodian
2026-04-20 00:47:16 +02:00