Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(docs): refresh the README board captures [I11,I13]

Corey Olsonf98e7d55cb20
diff --git a/docs/demo/api/v1/boards/demo-board/events.json b/docs/demo/api/v1/boards/demo-board/events.json
index 82154c12..089a912f 100644
--- a/docs/demo/api/v1/boards/demo-board/events.json
+++ b/docs/demo/api/v1/boards/demo-board/events.json
@@ -1 +1 @@
-{"version":1,"events":[{"event_id":1,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"coordinator\",\"model\":\"Demo coordinator\"}"},{"event_id":2,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":1,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":3,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":2,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":4,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":3,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":5,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":4,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":6,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":5,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":7,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":6,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":8,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"withdraw","item_id":6,"event_detail":"{\"reason\":\"this example was dropped\",\"model\":\"Demo coordinator\"}"},{"event_id":9,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"app\",\"model\":\"Demo builder\"}"},{"event_id":10,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"codex\",\"model\":\"Demo builder\"}"},{"event_id":11,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"review\",\"model\":\"Demo reviewer\"}"},{"event_id":12,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"claude\",\"model\":\"Demo reviewer\"}"},{"event_id":13,"event_at":"2026-10-06T12:01:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:01:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":14,"event_at":"2026-10-06T12:02:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"tree\":\"16fb55cb349917959f935976600f7bc009d17bec\",\"policyCommit\":\"75ccb8d8ce8be604d248f88aafae71527b3ee97d\",\"model\":\"Demo builder\"}"},{"event_id":15,"event_at":"2026-10-06T12:03:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:33:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":16,"event_at":"2026-10-06T12:04:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"model\":\"Demo reviewer\"}"},{"event_id":17,"event_at":"2026-10-06T12:05:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:05:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":18,"event_at":"2026-10-06T12:06:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"tree\":\"9996ab07a09fe406ce3d40cae7f22fb1351ec3b0\",\"policyCommit\":\"75ccb8d8ce8be604d248f88aafae71527b3ee97d\",\"model\":\"Demo builder\"}"},{"event_id":19,"event_at":"2026-10-06T12:12:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:42:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":20,"event_at":"2026-10-06T12:13:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":21,"event_at":"2026-10-06T12:14:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"model\":\"Demo coordinator\"}"},{"event_id":22,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"063a4b40298153c4374cbdbc09331bf37865d0b0\",\"tree\":\"82aab36c81983e282c4a055c440f3e21cbb8426d\",\"policyCommit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"model\":\"Demo builder\"}"},{"event_id":24,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"0c317be3420b78b86c2d584736b18ec93b80ffa5dcdf24af0763cea8baec330b\",\"model\":\"Demo builder\"}"},{"event_id":25,"event_at":"2026-10-06T12:14:00.000Z","event_by":"review-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":1,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo reviewer\"}"},{"event_id":26,"event_at":"2026-10-06T13:15:00.000Z","event_by":"app-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":2,\"to\":\"coordinator\",\"decision\":true,\"request\":false,\"answers\":null,\"model\":\"Demo builder\"}"},{"event_id":27,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"Demo coordinator\"}"},{"event_id":28,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":4,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":3,\"channel\":\"terminal\"}"},{"event_id":29,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":5,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":2,\"channel\":\"terminal\"}"},{"event_id":30,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":6,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo coordinator\"}"},{"event_id":31,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"Demo coordinator\"}"}],"eventLogVersion":1}
+{"version":1,"events":[{"event_id":1,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"coordinator\",\"model\":\"Demo coordinator\"}"},{"event_id":2,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":1,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":3,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":2,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":4,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":3,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":5,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":4,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":6,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":5,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":7,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":6,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":8,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"withdraw","item_id":6,"event_detail":"{\"reason\":\"this example was dropped\",\"model\":\"Demo coordinator\"}"},{"event_id":9,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"app\",\"model\":\"Demo builder\"}"},{"event_id":10,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"codex\",\"model\":\"Demo builder\"}"},{"event_id":11,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"review\",\"model\":\"Demo reviewer\"}"},{"event_id":12,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"claude\",\"model\":\"Demo reviewer\"}"},{"event_id":13,"event_at":"2026-10-06T12:01:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:01:00.000Z\",\"digest\":\"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136\",\"model\":\"Demo builder\"}"},{"event_id":14,"event_at":"2026-10-06T12:02:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"fc10f1f82286128837b1dcfbeeb746cb085d0e67\",\"tree\":\"3304bca878fe12490eceebd297238abace8bb54f\",\"policyCommit\":\"b74621c7437824c109d32328ba9631bbedb06b8a\",\"model\":\"Demo builder\"}"},{"event_id":15,"event_at":"2026-10-06T12:03:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:33:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":16,"event_at":"2026-10-06T12:04:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"fc10f1f82286128837b1dcfbeeb746cb085d0e67\",\"model\":\"Demo reviewer\"}"},{"event_id":17,"event_at":"2026-10-06T12:05:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:05:00.000Z\",\"digest\":\"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136\",\"model\":\"Demo builder\"}"},{"event_id":18,"event_at":"2026-10-06T12:06:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"tree\":\"24231a5bf42a6d80f59186e10b542b7eb09c545d\",\"policyCommit\":\"b74621c7437824c109d32328ba9631bbedb06b8a\",\"model\":\"Demo builder\"}"},{"event_id":19,"event_at":"2026-10-06T12:12:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:42:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":20,"event_at":"2026-10-06T12:13:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":21,"event_at":"2026-10-06T12:14:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"model\":\"Demo coordinator\"}"},{"event_id":22,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"46d9a01fec6bb0b3f4447a72703a55edee9702f32c30750c391a8208e0fe118c\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"0f3f96cc328ea513845fe3fe04eae8a3b9e7d81e\",\"tree\":\"20cacf0d7d99b3938b5e8e0b0fdf0922516fa673\",\"policyCommit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"model\":\"Demo builder\"}"},{"event_id":24,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"12667b0bee050513e34b14d87a0f9555af16749a3f5c77ca78d6fe568f45044f\",\"model\":\"Demo builder\"}"},{"event_id":25,"event_at":"2026-10-06T12:14:00.000Z","event_by":"review-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":1,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo reviewer\"}"},{"event_id":26,"event_at":"2026-10-06T13:15:00.000Z","event_by":"app-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":2,\"to\":\"coordinator\",\"decision\":true,\"request\":false,\"answers\":null,\"model\":\"Demo builder\"}"},{"event_id":27,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"Demo coordinator\"}"},{"event_id":28,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":4,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":3,\"channel\":\"terminal\"}"},{"event_id":29,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":5,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":2,\"channel\":\"terminal\"}"},{"event_id":30,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":6,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo coordinator\"}"},{"event_id":31,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"Demo coordinator\"}"}],"eventLogVersion":1}
diff --git a/docs/demo/api/v1/boards/demo-board/state.json b/docs/demo/api/v1/boards/demo-board/state.json
index 29e6b2b1..58a58661 100644
--- a/docs/demo/api/v1/boards/demo-board/state.json
+++ b/docs/demo/api/v1/boards/demo-board/state.json
@@ -1 +1 @@
-{"version":1,"state":{"root":"demo-board","rowAgesAt":{"SPEC.md":"58301a9614355777cb1aee49eeac690b92701246","DOCTRINE.md":"58301a9614355777cb1aee49eeac690b92701246"},"lanes":["coordinator","app","review"],"owning":["app"],"items":[{"id":6,"title":"Withdrawn example","lane":"app","status":"withdrawn","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The demo includes withdrawn work.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"withdraw","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":7,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":8,"kind":"withdraw","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"this example was dropped","model":"Demo coordinator"}}]},{"id":5,"title":"Decision follow-up","lane":"app","status":"open","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The board keeps a follow-up visible after the person answers.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":6,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}}]},{"id":4,"title":"Claimed for work","lane":"app","status":"claimed","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The demo item is being worked on.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":5,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":24,"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"leaseUntil":"2026-10-06T14:14:00.000Z","digest":"0c317be3420b78b86c2d584736b18ec93b80ffa5dcdf24af0763cea8baec330b","model":"Demo builder"}}]},{"id":3,"title":"Ready for review","lane":"app","status":"submitted","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":null,"builtBy":"app-1","verifiedBy":null,"specs":["G1"],"criterion":"The demo item is submitted for review.","brief":"","commit":"063a4b40298153c4374cbdbc09331bf37865d0b0","merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":4,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":22,"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"leaseUntil":"2026-10-06T14:14:00.000Z","digest":"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3","model":"Demo builder"}},{"type":"move","eventId":23,"kind":"submit","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"commit":"063a4b40298153c4374cbdbc09331bf37865d0b0","tree":"82aab36c81983e282c4a055c440f3e21cbb8426d","policyCommit":"58301a9614355777cb1aee49eeac690b92701246","model":"Demo builder"}}]},{"id":2,"title":"Future work","lane":"app","status":"open","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The board keeps another item open for later work.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":3,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}}]},{"id":1,"title":"Reviewed and accepted","lane":"app","status":"verified","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":"2026-10-06T12:42:00.000Z","builtBy":"app-1","verifiedBy":"review-1","specs":["G1"],"criterion":"The demo item is accepted after review.","brief":"","commit":"58301a9614355777cb1aee49eeac690b92701246","merged":"58301a9614355777cb1aee49eeac690b92701246","blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":{"decision":"ACCEPT","reason":"CRITERION_MET","note":"Tried the edge that failed before; the revised demo passes.","by":"review-1","at":"2026-10-06T12:13:00.000Z","commit":"58301a9614355777cb1aee49eeac690b92701246"},"verdicts":[{"decision":"REJECT","reason":"BEHAVIOR_MISMATCH","note":"The example skipped an edge; revise it before merging.","by":"review-1","at":"2026-10-06T12:04:00.000Z","commit":"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee"},{"decision":"ACCEPT","reason":"CRITERION_MET","note":"Tried the edge that failed before; the revised demo passes.","by":"review-1","at":"2026-10-06T12:13:00.000Z","commit":"58301a9614355777cb1aee49eeac690b92701246"}],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:01:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:02:00.000Z"},{"kind":"reserve","by":"review-1","at":"2026-10-06T12:03:00.000Z"},{"kind":"reject","by":"review-1","at":"2026-10-06T12:04:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:05:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:06:00.000Z"},{"kind":"reserve","by":"review-1","at":"2026-10-06T12:12:00.000Z"},{"kind":"accept","by":"review-1","at":"2026-10-06T12:13:00.000Z"},{"kind":"merged","by":"coordinator","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":2,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":13,"kind":"claim","by":"app-1","at":"2026-10-06T12:01:00.000Z","detail":{"leaseUntil":"2026-10-06T14:01:00.000Z","digest":"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c","model":"Demo builder"}},{"type":"move","eventId":14,"kind":"submit","by":"app-1","at":"2026-10-06T12:02:00.000Z","detail":{"commit":"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee","tree":"16fb55cb349917959f935976600f7bc009d17bec","policyCommit":"75ccb8d8ce8be604d248f88aafae71527b3ee97d","model":"Demo builder"}},{"type":"move","eventId":15,"kind":"reserve","by":"review-1","at":"2026-10-06T12:03:00.000Z","detail":{"until":"2026-10-06T12:33:00.000Z","model":"Demo reviewer"}},{"type":"move","eventId":16,"kind":"reject","by":"review-1","at":"2026-10-06T12:04:00.000Z","detail":{"reason":"BEHAVIOR_MISMATCH","commit":"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee","model":"Demo reviewer"}},{"type":"move","eventId":17,"kind":"claim","by":"app-1","at":"2026-10-06T12:05:00.000Z","detail":{"leaseUntil":"2026-10-06T14:05:00.000Z","digest":"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c","model":"Demo builder"}},{"type":"move","eventId":18,"kind":"submit","by":"app-1","at":"2026-10-06T12:06:00.000Z","detail":{"commit":"58301a9614355777cb1aee49eeac690b92701246","tree":"9996ab07a09fe406ce3d40cae7f22fb1351ec3b0","policyCommit":"75ccb8d8ce8be604d248f88aafae71527b3ee97d","model":"Demo builder"}},{"type":"move","eventId":19,"kind":"reserve","by":"review-1","at":"2026-10-06T12:12:00.000Z","detail":{"until":"2026-10-06T12:42:00.000Z","model":"Demo reviewer"}},{"type":"move","eventId":20,"kind":"accept","by":"review-1","at":"2026-10-06T12:13:00.000Z","detail":{"reason":"CRITERION_MET","commit":"58301a9614355777cb1aee49eeac690b92701246","check":"none","model":"Demo reviewer"}},{"type":"move","eventId":21,"kind":"merged","by":"coordinator","at":"2026-10-06T12:14:00.000Z","detail":{"commit":"58301a9614355777cb1aee49eeac690b92701246","model":"Demo coordinator"}}]}],"shouts":[{"shout_id":6,"shout_from":"coordinator","shout_to":"app-1","shout_text":"#4 can continue while #3 waits for review.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":null,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":5,"shout_from":"person","shout_to":"app-1","shout_text":"Person answered #3: Proceed with the verified change.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":2,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":4,"shout_from":"person","shout_to":"coordinator","shout_text":"Proceed with the verified change.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":3,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":3,"shout_from":"coordinator","shout_to":"person","shout_text":"Passed up from app-1: The review is complete. May the verified change proceed?\nCoordinator note: The review passed; ask the person before proceeding.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":1,"shout_answers":2,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":2,"shout_from":"app-1","shout_to":"coordinator","shout_text":"The review is complete. May the verified change proceed?","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":1,"shout_answers":null,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":1,"shout_from":"review-1","shout_to":"coordinator","shout_text":"#1 passes the edge that failed before. The fix is in src/demo.js:1@58301a9614355777cb1aee49eeac690b92701246.","shout_at":"2026-10-06T12:14:00.000Z","shout_decision":0,"shout_answers":null,"shout_evidence_kind":"receipt","shout_evidence_outcome":"edge passes","shout_evidence_item":1,"shout_evidence_commit":"58301a9614355777cb1aee49eeac690b92701246","shout_request":0,"shout_request_outcome":""}],"decisions":[],"asked":[],"events":[{"event_id":31,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"Demo coordinator\"}"},{"event_id":30,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":6,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo coordinator\"}"},{"event_id":29,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":5,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":2,\"channel\":\"terminal\"}"},{"event_id":28,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":4,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":3,\"channel\":\"terminal\"}"},{"event_id":27,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"Demo coordinator\"}"},{"event_id":26,"event_at":"2026-10-06T13:15:00.000Z","event_by":"app-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":2,\"to\":\"coordinator\",\"decision\":true,\"request\":false,\"answers\":null,\"model\":\"Demo builder\"}"},{"event_id":25,"event_at":"2026-10-06T12:14:00.000Z","event_by":"review-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":1,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo reviewer\"}"},{"event_id":24,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"0c317be3420b78b86c2d584736b18ec93b80ffa5dcdf24af0763cea8baec330b\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"063a4b40298153c4374cbdbc09331bf37865d0b0\",\"tree\":\"82aab36c81983e282c4a055c440f3e21cbb8426d\",\"policyCommit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"model\":\"Demo builder\"}"},{"event_id":22,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:14:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"model\":\"Demo coordinator\"}"},{"event_id":20,"event_at":"2026-10-06T12:13:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":19,"event_at":"2026-10-06T12:12:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:42:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":18,"event_at":"2026-10-06T12:06:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"tree\":\"9996ab07a09fe406ce3d40cae7f22fb1351ec3b0\",\"policyCommit\":\"75ccb8d8ce8be604d248f88aafae71527b3ee97d\",\"model\":\"Demo builder\"}"},{"event_id":17,"event_at":"2026-10-06T12:05:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:05:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":16,"event_at":"2026-10-06T12:04:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"model\":\"Demo reviewer\"}"},{"event_id":15,"event_at":"2026-10-06T12:03:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:33:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":14,"event_at":"2026-10-06T12:02:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"tree\":\"16fb55cb349917959f935976600f7bc009d17bec\",\"policyCommit\":\"75ccb8d8ce8be604d248f88aafae71527b3ee97d\",\"model\":\"Demo builder\"}"},{"event_id":13,"event_at":"2026-10-06T12:01:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:01:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":12,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"claude\",\"model\":\"Demo reviewer\"}"},{"event_id":11,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"review\",\"model\":\"Demo reviewer\"}"},{"event_id":10,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"codex\",\"model\":\"Demo builder\"}"},{"event_id":9,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"app\",\"model\":\"Demo builder\"}"},{"event_id":8,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"withdraw","item_id":6,"event_detail":"{\"reason\":\"this example was dropped\",\"model\":\"Demo coordinator\"}"},{"event_id":7,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":6,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":6,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":5,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":5,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":4,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":4,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":3,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":3,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":2,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":2,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":1,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":1,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"coordinator\",\"model\":\"Demo coordinator\"}"}],"agents":[{"agent_id":"coordinator","agent_lane":"coordinator","agent_path":"demo-board","agent_last_shout_id":4,"agent_route":"strong","agent_family":null,"agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo coordinator","model":"Demo coordinator","displayName":"coordinator (Demo coordinator)","lastMoveAt":"2026-10-06T13:15:00.000Z"},{"agent_id":"app-1","agent_lane":"app","agent_path":"../demo-board-app-1","agent_last_shout_id":5,"agent_route":"strong","agent_family":"codex","agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo builder","model":"Demo builder","displayName":"app-1 (Demo builder)","lastMoveAt":"2026-10-06T13:15:00.000Z"},{"agent_id":"review-1","agent_lane":"review","agent_path":"../demo-board-review-1","agent_last_shout_id":0,"agent_route":"strong","agent_family":"claude","agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo reviewer","model":"Demo reviewer","displayName":"review-1 (Demo reviewer)","lastMoveAt":"2026-10-06T12:14:00.000Z"}],"holds":[{"hold_lane":"review","hold_reason":"Waiting for the next demo item.","hold_by":"coordinator","hold_at":"2026-10-06T13:15:00.000Z"}],"spec":[{"id":"G1","status":"approved","tier":"must","text":"A demo item exists to show the board.","gate":"none","serves":[],"section":"G · Goals","added":1},{"id":"G2","status":"approved","tier":"must","text":"The verified item shows its review history.","gate":"none","serves":[],"section":"G · Goals","added":1}],"practice":[{"id":"PB1","status":"approved","tier":"must","text":"Ask, don't guess: a decision only the person can make waits for them.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB2","status":"approved","tier":"must","text":"Destructive or irreversible actions wait for the person's OK.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB3","status":"approved","tier":"must","text":"Claims come with evidence: say what ran and what it showed, never \"should work\".","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB4","status":"approved","tier":"must","text":"A test must be able to fail: see it fail on broken code before trusting it.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB5","status":"approved","tier":"must","text":"Never weaken a test or a check to make it pass; fix the code.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB6","status":"approved","tier":"must","text":"Tests pass before a change merges.","gate":"the project's gate","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB7","status":"pending","tier":"aim","text":"Tests touch nothing outside a temporary sandbox.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB8","status":"approved","tier":"must","text":"No secrets or sensitive info in the repo; test data is synthetic.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB9","status":"approved","tier":"must","text":"Headers: type(scope): subject [ids], 72 characters at most. A body only for a non-obvious why, three sentences at most.","gate":"commit-msg hook, review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB10","status":"approved","tier":"must","text":"Comments explain why, not what; no commented-out code.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB11","status":"approved","tier":"must","text":"A new dependency states why it is needed and what it pulls in.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB12","status":"approved","tier":"must","text":"Questions go on the board, one step up the chain, and the asker keeps working on what it can meanwhile.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null}],"unseen":null,"products":[],"board":"demo-board","proofStats":{"since":null,"submissions":3,"rejections":1,"rejectionShare":0.3333333333333333,"merged":1,"mergedWithoutAccept":0,"firstEventAt":"2026-10-06T12:00:00.000Z","lastEventAt":"2026-10-06T13:15:00.000Z","agentCount":3,"familyCount":3,"agents":[{"id":"app-1","moves":10,"families":["codex","unknown"]},{"id":"coordinator","moves":12,"families":["unknown"]},{"id":"review-1","moves":7,"families":["claude","unknown"]}],"families":[{"name":"claude","agents":1,"moves":6},{"name":"codex","agents":1,"moves":9},{"name":"unknown","agents":3,"moves":14}],"flow":{"asOf":"2026-10-06T13:15:00.000Z","stages":{"build":{"count":2,"totalMinutes":5,"averageMinutes":2.5,"medianMinutes":2.5,"unmeasuredCompleted":0},"reviewWait":{"count":1,"totalMinutes":6,"averageMinutes":6,"medianMinutes":6,"unmeasuredCompleted":0},"review":{"count":1,"totalMinutes":1,"averageMinutes":1,"medianMinutes":1,"unmeasuredCompleted":0},"mergeWait":{"count":1,"totalMinutes":1,"averageMinutes":1,"medianMinutes":1,"unmeasuredCompleted":0}},"queues":{"open":{"size":2,"oldest":{"id":2,"since":"2026-10-06T12:00:00.000Z","ageMinutes":75}},"claimed":{"size":1,"oldest":{"id":4,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"submitted":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"accepted":{"size":0,"oldest":null}},"unreviewed":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"daily":[{"date":"2026-10-06","added":6,"merged":1}],"submitsPerMerged":3,"activeAgents":{"total":2,"agents":[{"id":"app-1","lane":"app","role":"builder"},{"id":"coordinator","lane":"coordinator","role":"coordinator"}],"roles":{"builder":1,"verifier":0,"coordinator":1,"unknown":0},"lanes":{"app":1,"coordinator":1}},"bottleneck":{"stage":"reviewWait","share":0.46153846153846156,"completedItems":1,"fullyMeasuredCycles":1,"totalCycleMinutes":13,"lowConfidence":false,"message":"review wait has the largest share of cycle time; bottleneck from 1 fully measured cycles of 1","recommendation":"add a verifier"}}},"requests":[],"personRequests":[],"milestones":[]},"eventLogVersion":1}
+{"version":1,"state":{"root":"demo-board","rowAgesAt":{"SPEC.md":"97f25104de797e53bc2813deebbb66562b24b094","DOCTRINE.md":"97f25104de797e53bc2813deebbb66562b24b094"},"lanes":["coordinator","app","review"],"owning":["app"],"items":[{"id":6,"title":"Withdrawn example","lane":"app","status":"withdrawn","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The demo includes withdrawn work.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"withdraw","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":7,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":8,"kind":"withdraw","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"this example was dropped","model":"Demo coordinator"}}]},{"id":5,"title":"Decision follow-up","lane":"app","status":"open","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The board keeps a follow-up visible after the person answers.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":6,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}}]},{"id":4,"title":"Claimed for work","lane":"app","status":"claimed","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The demo item is being worked on.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":5,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":24,"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"leaseUntil":"2026-10-06T14:14:00.000Z","digest":"12667b0bee050513e34b14d87a0f9555af16749a3f5c77ca78d6fe568f45044f","model":"Demo builder"}}]},{"id":3,"title":"Ready for review","lane":"app","status":"submitted","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":null,"builtBy":"app-1","verifiedBy":null,"specs":["G1"],"criterion":"The demo item is submitted for review.","brief":"","commit":"0f3f96cc328ea513845fe3fe04eae8a3b9e7d81e","merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":4,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":22,"kind":"claim","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"leaseUntil":"2026-10-06T14:14:00.000Z","digest":"46d9a01fec6bb0b3f4447a72703a55edee9702f32c30750c391a8208e0fe118c","model":"Demo builder"}},{"type":"move","eventId":23,"kind":"submit","by":"app-1","at":"2026-10-06T12:14:00.000Z","detail":{"commit":"0f3f96cc328ea513845fe3fe04eae8a3b9e7d81e","tree":"20cacf0d7d99b3938b5e8e0b0fdf0922516fa673","policyCommit":"97f25104de797e53bc2813deebbb66562b24b094","model":"Demo builder"}}]},{"id":2,"title":"Future work","lane":"app","status":"open","route":"strong","owner":null,"reviewer":null,"reviewUntil":null,"builtBy":null,"verifiedBy":null,"specs":["G1"],"criterion":"The board keeps another item open for later work.","brief":"","commit":null,"merged":null,"blockedBy":[],"updatedAt":"2026-10-06T12:00:00.000Z","verdict":null,"verdicts":[],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"}],"check":"","thread":[{"type":"move","eventId":3,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}}]},{"id":1,"title":"Reviewed and accepted","lane":"app","status":"verified","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":"2026-10-06T12:42:00.000Z","builtBy":"app-1","verifiedBy":"review-1","specs":["G1"],"criterion":"The demo item is accepted after review.","brief":"","commit":"97f25104de797e53bc2813deebbb66562b24b094","merged":"97f25104de797e53bc2813deebbb66562b24b094","blockedBy":[],"updatedAt":"2026-10-06T12:14:00.000Z","verdict":{"decision":"ACCEPT","reason":"CRITERION_MET","note":"Tried the edge that failed before; the revised demo passes.","by":"review-1","at":"2026-10-06T12:13:00.000Z","commit":"97f25104de797e53bc2813deebbb66562b24b094"},"verdicts":[{"decision":"REJECT","reason":"BEHAVIOR_MISMATCH","note":"The example skipped an edge; revise it before merging.","by":"review-1","at":"2026-10-06T12:04:00.000Z","commit":"fc10f1f82286128837b1dcfbeeb746cb085d0e67"},{"decision":"ACCEPT","reason":"CRITERION_MET","note":"Tried the edge that failed before; the revised demo passes.","by":"review-1","at":"2026-10-06T12:13:00.000Z","commit":"97f25104de797e53bc2813deebbb66562b24b094"}],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:01:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:02:00.000Z"},{"kind":"reserve","by":"review-1","at":"2026-10-06T12:03:00.000Z"},{"kind":"reject","by":"review-1","at":"2026-10-06T12:04:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:05:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:06:00.000Z"},{"kind":"reserve","by":"review-1","at":"2026-10-06T12:12:00.000Z"},{"kind":"accept","by":"review-1","at":"2026-10-06T12:13:00.000Z"},{"kind":"merged","by":"coordinator","at":"2026-10-06T12:14:00.000Z"}],"check":"","thread":[{"type":"move","eventId":2,"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"lane":"app","specIds":["G1"],"after":[],"route":"strong","model":"Demo coordinator"}},{"type":"move","eventId":13,"kind":"claim","by":"app-1","at":"2026-10-06T12:01:00.000Z","detail":{"leaseUntil":"2026-10-06T14:01:00.000Z","digest":"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136","model":"Demo builder"}},{"type":"move","eventId":14,"kind":"submit","by":"app-1","at":"2026-10-06T12:02:00.000Z","detail":{"commit":"fc10f1f82286128837b1dcfbeeb746cb085d0e67","tree":"3304bca878fe12490eceebd297238abace8bb54f","policyCommit":"b74621c7437824c109d32328ba9631bbedb06b8a","model":"Demo builder"}},{"type":"move","eventId":15,"kind":"reserve","by":"review-1","at":"2026-10-06T12:03:00.000Z","detail":{"until":"2026-10-06T12:33:00.000Z","model":"Demo reviewer"}},{"type":"move","eventId":16,"kind":"reject","by":"review-1","at":"2026-10-06T12:04:00.000Z","detail":{"reason":"BEHAVIOR_MISMATCH","commit":"fc10f1f82286128837b1dcfbeeb746cb085d0e67","model":"Demo reviewer"}},{"type":"move","eventId":17,"kind":"claim","by":"app-1","at":"2026-10-06T12:05:00.000Z","detail":{"leaseUntil":"2026-10-06T14:05:00.000Z","digest":"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136","model":"Demo builder"}},{"type":"move","eventId":18,"kind":"submit","by":"app-1","at":"2026-10-06T12:06:00.000Z","detail":{"commit":"97f25104de797e53bc2813deebbb66562b24b094","tree":"24231a5bf42a6d80f59186e10b542b7eb09c545d","policyCommit":"b74621c7437824c109d32328ba9631bbedb06b8a","model":"Demo builder"}},{"type":"move","eventId":19,"kind":"reserve","by":"review-1","at":"2026-10-06T12:12:00.000Z","detail":{"until":"2026-10-06T12:42:00.000Z","model":"Demo reviewer"}},{"type":"move","eventId":20,"kind":"accept","by":"review-1","at":"2026-10-06T12:13:00.000Z","detail":{"reason":"CRITERION_MET","commit":"97f25104de797e53bc2813deebbb66562b24b094","check":"none","model":"Demo reviewer"}},{"type":"move","eventId":21,"kind":"merged","by":"coordinator","at":"2026-10-06T12:14:00.000Z","detail":{"commit":"97f25104de797e53bc2813deebbb66562b24b094","model":"Demo coordinator"}}]}],"shouts":[{"shout_id":6,"shout_from":"coordinator","shout_to":"app-1","shout_text":"#4 can continue while #3 waits for review.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":null,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":5,"shout_from":"person","shout_to":"app-1","shout_text":"Person answered #3: Proceed with the verified change.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":2,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":4,"shout_from":"person","shout_to":"coordinator","shout_text":"Proceed with the verified change.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":0,"shout_answers":3,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":3,"shout_from":"coordinator","shout_to":"person","shout_text":"Passed up from app-1: The review is complete. May the verified change proceed?\nCoordinator note: The review passed; ask the person before proceeding.","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":1,"shout_answers":2,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":2,"shout_from":"app-1","shout_to":"coordinator","shout_text":"The review is complete. May the verified change proceed?","shout_at":"2026-10-06T13:15:00.000Z","shout_decision":1,"shout_answers":null,"shout_evidence_kind":null,"shout_evidence_outcome":null,"shout_evidence_item":null,"shout_evidence_commit":null,"shout_request":0,"shout_request_outcome":""},{"shout_id":1,"shout_from":"review-1","shout_to":"coordinator","shout_text":"#1 passes the edge that failed before. The fix is in src/demo.js:1@97f25104de797e53bc2813deebbb66562b24b094.","shout_at":"2026-10-06T12:14:00.000Z","shout_decision":0,"shout_answers":null,"shout_evidence_kind":"receipt","shout_evidence_outcome":"edge passes","shout_evidence_item":1,"shout_evidence_commit":"97f25104de797e53bc2813deebbb66562b24b094","shout_request":0,"shout_request_outcome":""}],"decisions":[],"asked":[],"events":[{"event_id":31,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"Demo coordinator\"}"},{"event_id":30,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":6,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo coordinator\"}"},{"event_id":29,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":5,\"to\":\"app-1\",\"decision\":false,\"request\":false,\"answers\":2,\"channel\":\"terminal\"}"},{"event_id":28,"event_at":"2026-10-06T13:15:00.000Z","event_by":"person","event_kind":"answer","item_id":null,"event_detail":"{\"shout\":4,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":3,\"channel\":\"terminal\"}"},{"event_id":27,"event_at":"2026-10-06T13:15:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"Demo coordinator\"}"},{"event_id":26,"event_at":"2026-10-06T13:15:00.000Z","event_by":"app-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":2,\"to\":\"coordinator\",\"decision\":true,\"request\":false,\"answers\":null,\"model\":\"Demo builder\"}"},{"event_id":25,"event_at":"2026-10-06T12:14:00.000Z","event_by":"review-1","event_kind":"shout","item_id":null,"event_detail":"{\"shout\":1,\"to\":\"coordinator\",\"decision\":false,\"request\":false,\"answers\":null,\"model\":\"Demo reviewer\"}"},{"event_id":24,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"12667b0bee050513e34b14d87a0f9555af16749a3f5c77ca78d6fe568f45044f\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"0f3f96cc328ea513845fe3fe04eae8a3b9e7d81e\",\"tree\":\"20cacf0d7d99b3938b5e8e0b0fdf0922516fa673\",\"policyCommit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"model\":\"Demo builder\"}"},{"event_id":22,"event_at":"2026-10-06T12:14:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:14:00.000Z\",\"digest\":\"46d9a01fec6bb0b3f4447a72703a55edee9702f32c30750c391a8208e0fe118c\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:14:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"model\":\"Demo coordinator\"}"},{"event_id":20,"event_at":"2026-10-06T12:13:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":19,"event_at":"2026-10-06T12:12:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:42:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":18,"event_at":"2026-10-06T12:06:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"97f25104de797e53bc2813deebbb66562b24b094\",\"tree\":\"24231a5bf42a6d80f59186e10b542b7eb09c545d\",\"policyCommit\":\"b74621c7437824c109d32328ba9631bbedb06b8a\",\"model\":\"Demo builder\"}"},{"event_id":17,"event_at":"2026-10-06T12:05:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:05:00.000Z\",\"digest\":\"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136\",\"model\":\"Demo builder\"}"},{"event_id":16,"event_at":"2026-10-06T12:04:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"fc10f1f82286128837b1dcfbeeb746cb085d0e67\",\"model\":\"Demo reviewer\"}"},{"event_id":15,"event_at":"2026-10-06T12:03:00.000Z","event_by":"review-1","event_kind":"reserve","item_id":1,"event_detail":"{\"until\":\"2026-10-06T12:33:00.000Z\",\"model\":\"Demo reviewer\"}"},{"event_id":14,"event_at":"2026-10-06T12:02:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"fc10f1f82286128837b1dcfbeeb746cb085d0e67\",\"tree\":\"3304bca878fe12490eceebd297238abace8bb54f\",\"policyCommit\":\"b74621c7437824c109d32328ba9631bbedb06b8a\",\"model\":\"Demo builder\"}"},{"event_id":13,"event_at":"2026-10-06T12:01:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:01:00.000Z\",\"digest\":\"02f3c088ed84dd931b2f700f9562fa25bb86eee11dd77a583089423366ec4136\",\"model\":\"Demo builder\"}"},{"event_id":12,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"claude\",\"model\":\"Demo reviewer\"}"},{"event_id":11,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"review\",\"model\":\"Demo reviewer\"}"},{"event_id":10,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"family","item_id":null,"event_detail":"{\"family\":\"codex\",\"model\":\"Demo builder\"}"},{"event_id":9,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"app\",\"model\":\"Demo builder\"}"},{"event_id":8,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"withdraw","item_id":6,"event_detail":"{\"reason\":\"this example was dropped\",\"model\":\"Demo coordinator\"}"},{"event_id":7,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":6,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":6,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":5,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":5,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":4,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":4,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":3,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":3,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":2,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":2,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"add","item_id":1,"event_detail":"{\"lane\":\"app\",\"specIds\":[\"G1\"],\"after\":[],\"route\":\"strong\",\"model\":\"Demo coordinator\"}"},{"event_id":1,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"join","item_id":null,"event_detail":"{\"lane\":\"coordinator\",\"model\":\"Demo coordinator\"}"}],"agents":[{"agent_id":"coordinator","agent_lane":"coordinator","agent_path":"demo-board","agent_last_shout_id":4,"agent_route":"strong","agent_family":null,"agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo coordinator","model":"Demo coordinator","displayName":"coordinator (Demo coordinator)","lastMoveAt":"2026-10-06T13:15:00.000Z"},{"agent_id":"app-1","agent_lane":"app","agent_path":"../demo-board-app-1","agent_last_shout_id":5,"agent_route":"strong","agent_family":"codex","agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo builder","model":"Demo builder","displayName":"app-1 (Demo builder)","lastMoveAt":"2026-10-06T13:15:00.000Z"},{"agent_id":"review-1","agent_lane":"review","agent_path":"../demo-board-review-1","agent_last_shout_id":0,"agent_route":"strong","agent_family":"claude","agent_created_at":"2026-10-06T12:00:00.000Z","agent_model":"Demo reviewer","model":"Demo reviewer","displayName":"review-1 (Demo reviewer)","lastMoveAt":"2026-10-06T12:14:00.000Z"}],"holds":[{"hold_lane":"review","hold_reason":"Waiting for the next demo item.","hold_by":"coordinator","hold_at":"2026-10-06T13:15:00.000Z"}],"spec":[{"id":"G1","status":"approved","tier":"must","text":"A demo item exists to show the board.","gate":"none","serves":[],"section":"G · Goals","added":1},{"id":"G2","status":"approved","tier":"must","text":"The verified item shows its review history.","gate":"none","serves":[],"section":"G · Goals","added":1}],"practice":[{"id":"PB1","status":"approved","tier":"must","text":"Ask, don't guess: a decision only the person can make waits for them.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB2","status":"approved","tier":"must","text":"Destructive or irreversible actions wait for the person's OK.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB3","status":"approved","tier":"must","text":"Claims come with evidence: say what ran and what it showed, never \"should work\".","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB4","status":"approved","tier":"must","text":"A test must be able to fail: see it fail on broken code before trusting it.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB5","status":"approved","tier":"must","text":"Never weaken a test or a check to make it pass; fix the code.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB6","status":"approved","tier":"must","text":"Tests pass before a change merges.","gate":"the project's gate","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB7","status":"pending","tier":"aim","text":"Tests touch nothing outside a temporary sandbox.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB8","status":"approved","tier":"must","text":"No secrets or sensitive info in the repo; test data is synthetic.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB9","status":"approved","tier":"must","text":"Headers: type(scope): subject [ids], 72 characters at most. A body only for a non-obvious why, three sentences at most.","gate":"commit-msg hook, review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB10","status":"approved","tier":"must","text":"Comments explain why, not what; no commented-out code.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB11","status":"approved","tier":"must","text":"A new dependency states why it is needed and what it pulls in.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null},{"id":"PB12","status":"approved","tier":"must","text":"Questions go on the board, one step up the chain, and the asker keeps working on what it can meanwhile.","gate":"review","serves":[],"section":"Rules","origin":"standard","version":1,"reason":"","standardVersion":1,"overrides":false,"added":null}],"unseen":null,"products":[],"board":"demo-board","proofStats":{"since":null,"submissions":3,"rejections":1,"rejectionShare":0.3333333333333333,"merged":1,"mergedWithoutAccept":0,"firstEventAt":"2026-10-06T12:00:00.000Z","lastEventAt":"2026-10-06T13:15:00.000Z","agentCount":3,"familyCount":3,"agents":[{"id":"app-1","moves":10,"families":["codex","unknown"]},{"id":"coordinator","moves":12,"families":["unknown"]},{"id":"review-1","moves":7,"families":["claude","unknown"]}],"families":[{"name":"claude","agents":1,"moves":6},{"name":"codex","agents":1,"moves":9},{"name":"unknown","agents":3,"moves":14}],"flow":{"asOf":"2026-10-06T13:15:00.000Z","stages":{"build":{"count":2,"totalMinutes":5,"averageMinutes":2.5,"medianMinutes":2.5,"unmeasuredCompleted":0},"reviewWait":{"count":1,"totalMinutes":6,"averageMinutes":6,"medianMinutes":6,"unmeasuredCompleted":0},"review":{"count":1,"totalMinutes":1,"averageMinutes":1,"medianMinutes":1,"unmeasuredCompleted":0},"mergeWait":{"count":1,"totalMinutes":1,"averageMinutes":1,"medianMinutes":1,"unmeasuredCompleted":0}},"queues":{"open":{"size":2,"oldest":{"id":2,"since":"2026-10-06T12:00:00.000Z","ageMinutes":75}},"claimed":{"size":1,"oldest":{"id":4,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"submitted":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"accepted":{"size":0,"oldest":null}},"unreviewed":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:14:00.000Z","ageMinutes":61}},"daily":[{"date":"2026-10-06","added":6,"merged":1}],"submitsPerMerged":3,"activeAgents":{"total":2,"agents":[{"id":"app-1","lane":"app","role":"builder"},{"id":"coordinator","lane":"coordinator","role":"coordinator"}],"roles":{"builder":1,"verifier":0,"coordinator":1,"unknown":0},"lanes":{"app":1,"coordinator":1}},"bottleneck":{"stage":"reviewWait","share":0.46153846153846156,"completedItems":1,"fullyMeasuredCycles":1,"totalCycleMinutes":13,"lowConfidence":false,"message":"review wait has the largest share of cycle time; bottleneck from 1 fully measured cycles of 1","recommendation":"add a verifier"}}},"requests":[],"personRequests":[],"milestones":[]},"eventLogVersion":1}
diff --git a/docs/demo/index.html b/docs/demo/index.html
index 712936c2..bfa125e3 100644
--- a/docs/demo/index.html
+++ b/docs/demo/index.html
@@ -53,8 +53,11 @@
<section data-pane="items" class="two">
<div class="primary">
<section class="card-panel proof-stats" id="proof-stats" aria-label="Board proof stats" hidden></section>
- <div class="items-view-switch seg" id="items-view-switch" role="group" aria-label="Items view"></div>
- <div class="card-panel toolbar"><div class="seg" id="state-chips" role="group" aria-label="Show"></div><select class="lane-pick" id="lane-pick" aria-label="Lane"></select><button class="go" id="new-item" type="button">New item</button></div>
+ <div class="card-panel toolbar" id="items-toolbar">
+ <div class="items-view-switch seg" id="items-view-switch" role="group" aria-label="Items view"></div>
+ <div class="filter-control"><button class="filter-toggle" id="filter-toggle" data-filter-toggle type="button" aria-haspopup="menu" aria-expanded="false" aria-controls="filter-menu"><span class="filter-label" id="filter-label">Filter</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 6l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg></button><div class="filter-menu" id="filter-menu" role="menu" aria-label="Filter" hidden></div></div>
+ <button class="go" id="new-item" type="button" aria-label="New item"><span class="new-item-wide">New item</span><span class="new-item-narrow" aria-hidden="true">New</span></button>
+ </div>
<div class="card-panel list-card" id="item-list"><ol class="needs" id="needs" aria-label="What needs you" hidden></ol><ol class="chain" id="chain" aria-label="Items"></ol></div>
<ol class="pipeline" id="pipeline" aria-label="Item pipeline" hidden></ol>
</div>
@@ -94,7 +97,7 @@
<button class="ghost flow-show" id="flow-show" type="button" hidden>Show the lifecycle</button>
<div class="card-panel feed" id="activity"></div>
</section>
- <section data-pane="roadmap" class="roadmap" id="roadmap" aria-label="Roadmap"></section>
+ <section data-pane="roadmap" class="roadmap-layout" id="roadmap" aria-label="Roadmap"></section>
</main>
</div>
</div>
@@ -131,11 +134,13 @@ function homeTab() {
const kept = keep('pb.tab');
return kept && kept !== 'roadmap' ? kept : 'items';
}
-const view = { roadmapOpen: new Map(), root: keep('pb.project'), tab: addressTab() || homeTab(), itemsView: typeof location !== 'undefined' && location.hash === '#items/pipeline' ? 'pipeline' : 'list', seen: {}, code: {}, item: null, adding: false, declining: null, state: 'active', rows: { spec: 'decide', doctrine: 'all' }, row: { spec: null, doctrine: null }, agent: null, allAgents: false, agentsHidden: keep('pb.agents') === 'hidden', statsOpen: false, open: {} };
+const view = { roadmapOpen: new Map(), root: keep('pb.project'), tab: addressTab() || homeTab(), itemsView: typeof location !== 'undefined' && location.hash === '#items/pipeline' ? 'pipeline' : 'list', filterOpen: false, seen: {}, code: {}, item: null, adding: false, declining: null, state: 'active', rows: { spec: 'decide', doctrine: 'all' }, row: { spec: null, doctrine: null }, agent: null, allAgents: false, agentsHidden: keep('pb.agents') === 'hidden', statsOpen: false, open: {}, addressDetail: null, shout: null, scrollPlace: false };
let switchGeneration = 0;
if (snapshot) view.state = 'all';
let data = null;
let seen = '';
+let addressReady = false;
+const addressedShouts = new Map();
const $ = (id) => document.getElementById(id);
/**
* Draw the page in the theme the person picked, light or dark; with none picked it follows the system, live. The button
@@ -718,7 +723,7 @@ function boardSummary(board, state) {
decisions: state.decisions.length,
// What each item's state reads from, so another repo's roadmap can show it as this board's
// Items tab does, sent back included, and open it here.
- items: state.items.map((item) => ({ id: item.id, title: item.title, status: item.status, verdict: item.verdict && { decision: item.verdict.decision } })),
+ items: state.items.map((item) => ({ id: item.id, title: item.title, status: item.status, merged: Boolean(item.merged), verdict: item.verdict && { decision: item.verdict.decision } })),
};
}
@@ -889,12 +894,28 @@ async function refresh() {
// The project this board is, so a switch still loading never reads it as the next one's.
next.root = root;
// Rebuild only when the board changed: a list rebuilt under the pointer can swallow a click.
+ if (!addressReady) {
+ data = next;
+ const place = snapshot ? null : placeAtAddress(next);
+ if (place?.root && place.root !== view.root) {
+ view.root = place.root;
+ keep('pb.project', view.root);
+ return refresh();
+ }
+ if (place) applyPlace(place, globalThis.history?.state);
+ addressReady = true;
+ }
const text = JSON.stringify(next);
+ const changed = text !== seen;
if (text !== seen) {
seen = text;
data = next;
render();
}
+ if (changed) {
+ address(false);
+ void loadAddressedShout();
+ }
if (snapshot && !snapshotReplay.final && data.project) {
snapshotReplay.final = structuredClone(data.project);
snapshotReplay.events = (await api(boardPath(view.root) + '/events')).events;
@@ -1190,6 +1211,7 @@ function milestoneItem(entry, p) {
root,
titles: new Map((root === view.root ? p.items : root ? named[0].items : []).map((i) => [String(i.id), i.title])),
state: read ? stateOf(read) : null,
+ stage: item ? pipelineStage(item) : entry.status,
word: entry.status,
open: item ? { root, id } : null,
// Why an item does not open, short enough to read beside its id on a phone.
@@ -1198,6 +1220,42 @@ function milestoneItem(entry, p) {
};
}
+/** Mark the release nearest the top of the Roadmap in its companion panel. */
+function updateRoadmapPanel() {
+ const panel = $('roadmap-panel');
+ if (!panel || view.tab !== 'roadmap') return;
+ const entries = [...panel.querySelectorAll('[data-roadmap-jump]')].map((button) => ({
+ key: button.dataset.roadmapJump,
+ target: $('roadmap-list').querySelector('[data-key="' + CSS.escape(button.dataset.roadmapJump) + '"]'),
+ })).filter((entry) => entry.target);
+ if (!entries.length) return;
+ const threshold = (document.querySelector('.top')?.getBoundingClientRect().bottom ?? 0) + 8;
+ const active = entries.find((entry) => entry.target.getBoundingClientRect().bottom > threshold)?.key || entries.at(-1).key;
+ for (const entry of entries) {
+ const button = panel.querySelector('[data-roadmap-jump="' + CSS.escape(entry.key) + '"]');
+ if (button) {
+ if (entry.key === active) button.setAttribute('aria-current', 'location');
+ else button.removeAttribute('aria-current');
+ }
+ }
+}
+
+/** Open a selected release in the list and briefly mark it after the jump. */
+function jumpToRoadmap(key) {
+ if (key === 'shipped') {
+ view.roadmapOpen.set(JSON.stringify([view.root, 'shipped']), true);
+ render();
+ }
+ const target = $('roadmap-list')?.querySelector('[data-key="' + CSS.escape(key) + '"]');
+ if (!target) return;
+ target.scrollIntoView({ block: 'start', behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'instant' : 'smooth' });
+ target.classList.remove('roadmap-arrival');
+ void target.offsetWidth;
+ target.classList.add('roadmap-arrival');
+ setTimeout(() => target.classList.remove('roadmap-arrival'), 1300);
+ updateRoadmapPanel();
+}
+
/**
* One item's row on the Roadmap, laid out as the Items list lays one out: the dot of its state, its
* id and title on one line that ends in an ellipsis when cut, and the Items tab's chip. The whole
@@ -1242,12 +1300,18 @@ function roadmapCards(p, titles) {
const only = view.roadmapOnly && (p.milestones || []).some((m) => m.name === view.roadmapOnly) ? view.roadmapOnly : null;
const milestones = (p.milestones || []).filter((m) => !only || m.name === only);
const lead = only ? '<div class="roadmap-only"><span>' + esc(only) + '</span><button class="link" data-roadmap-all type="button">show all</button></div>' : '';
- if (!milestones.length) return '<div class="card-panel empty">No milestones yet. The coordinator adds one with <code class="inline">pullboard milestone add</code>.</div>';
const read = milestones.map((milestone) => readMilestone(milestone, p));
const coming = read.filter((m) => !m.shipped && m.rows.length).concat(read.filter((m) => !m.rows.length)), shipped = read.filter((m) => m.shipped).reverse();
/** Preserve each board's disclosure choices independently. */
const isOpen = (key, first) => view.roadmapOpen.has(JSON.stringify([view.root, key])) ? view.roadmapOpen.get(JSON.stringify([view.root, key])) : first;
const caret = '<span class="caret" aria-hidden="true"></span>';
+ const next = coming.find((m) => m.rows.length) || null;
+ const stages = [['open', 'Open'], ['claimed', 'Building'], ['submitted', 'In review'], ['accepted', 'Accepted'], ['merged', 'Verified']];
+ const counts = Object.fromEntries(stages.map(([stage]) => [stage, next ? next.rows.filter((row) => row.stage === stage).length : 0]));
+ const shippingCounts = '<dl class="roadmap-stage-counts">' + stages.map(([stage, label]) => '<div data-shipping-stage="' + stage + '"><dt>' + label + '</dt><dd>' + counts[stage] + '</dd></div>').join('') + '</dl>';
+ const lastShipped = '<p class="roadmap-last-shipped"><span>Last shipped</span><b>' + esc(shipped[0]?.milestone.name || 'None yet') + '</b>'
+ + (shipped[0]?.milestone.note ? '<small>' + esc(firstLine(shipped[0].milestone.note)) + '</small>' : '') + '</p>';
+ const mobileShipping = '<section class="roadmap-shipping roadmap-mobile-shipping" aria-label="Shipping counts">' + shippingCounts + lastShipped + '</section>';
/** Keep the existing verified-item count beside an upcoming release. */
const count = (m) => m.rows.length ? '<span class="milestone-count">' + m.done + '/' + m.rows.length + ' done</span>' : '';
/** Render the existing milestone items, progress and complete note when opened. */
@@ -1256,16 +1320,28 @@ function roadmapCards(p, titles) {
: '<p class="milestone-empty">No items yet.</p>')
+ (milestone.note ? '<p class="milestone-note">' + rich(milestone.note, titles) + '</p>' : '');
/** Keep folding consistent with the View's other keyboard-accessible disclosure controls. */
- const wrap = (tag, classes, key, first, heading, contents) => {
+ const wrap = (tag, classes, key, first, heading, contents, afterHead = '') => {
const open = isOpen(key, first);
- return '<' + tag + ' class="' + classes + '" data-key="' + esc(key) + '"><div class="milestone-head" data-roadmap-key="' + esc(key) + '" role="button" tabindex="0" aria-expanded="' + open + '">' + caret + heading + '</div><div class="milestone-body"' + (open ? '' : ' hidden') + '>' + contents + '</div></' + tag + '>';
+ return '<' + tag + ' class="' + classes + '" data-key="' + esc(key) + '"><div class="milestone-head" data-roadmap-key="' + esc(key) + '" role="button" tabindex="0" aria-expanded="' + open + '">' + caret + heading + '</div>' + afterHead + '<div class="milestone-body"' + (open ? '' : ' hidden') + '>' + contents + '</div></' + tag + '>';
};
/** Open every upcoming milestone by default; the person's current-page fold remains in the view map. */
- const card = (m) => wrap('section', 'card-panel milestone', 'm:' + m.milestone.name, true, '<h2>' + linked(m.milestone.name, titles) + '</h2>' + count(m), body(m));
+ const card = (m) => wrap('section', 'card-panel milestone', 'm:' + m.milestone.name, true, '<h2>' + linked(m.milestone.name, titles) + '</h2>' + count(m), body(m), m === next ? mobileShipping : '');
/** Summarize one shipped milestone with its first note line and total count. */
const line = (m) => wrap('div', 'milestone shipped-one', 'm:' + m.milestone.name, false, '<h2>' + esc(m.milestone.name) + '</h2><small>' + esc(firstLine(m.milestone.note)) + '</small><span class="milestone-count">' + m.rows.length + (m.rows.length === 1 ? ' item' : ' items') + '</span>', body(m));
- return lead + coming.map(card).join('')
- + (shipped.length ? wrap('section', 'card-panel shipped', 'shipped', false, '<h2>Shipped</h2><span class="milestone-count">' + shipped.length + (shipped.length === 1 ? ' release' : ' releases') + '</span>', shipped.map(line).join('')) : '');
+ const releaseButtons = coming.map((m) => {
+ const key = 'm:' + m.milestone.name;
+ return '<button class="roadmap-release" data-roadmap-jump="' + esc(key) + '" type="button"><span>' + esc(m.milestone.name) + '</span><b>' + m.done + '/' + m.rows.length + '</b></button>';
+ }).join('');
+ const shippedButton = shipped.length
+ ? '<button class="roadmap-release" data-roadmap-jump="shipped" type="button"><span>Shipped</span><b>' + shipped.length + '</b></button>' : '';
+ const releasePanel = '<aside class="card-panel roadmap-panel" id="roadmap-panel" aria-label="Roadmap releases and shipping">'
+ + '<section class="roadmap-release-index"><h2>Releases</h2><nav class="roadmap-releases" id="roadmap-releases" aria-label="Roadmap releases">' + releaseButtons + shippedButton + '</nav></section>'
+ + '<section class="roadmap-shipping roadmap-desktop-shipping" aria-label="Shipping counts"><h2>Shipping</h2><h3 class="roadmap-next-release">' + esc(next?.milestone.name || 'No upcoming release') + '</h3>'
+ + shippingCounts + lastShipped + '</section></aside>';
+ const roadmapList = '<div class="roadmap-list" id="roadmap-list">' + lead + (milestones.length ? coming.map(card).join('') : '<div class="card-panel empty">No milestones yet. The coordinator adds one with <code class="inline">pullboard milestone add</code>.</div>')
+ + (shipped.length ? wrap('section', 'card-panel shipped', 'shipped', false, '<h2>Shipped</h2><span class="milestone-count">' + shipped.length + (shipped.length === 1 ? ' release' : ' releases') + '</span>', shipped.map(line).join('')) : '') + '</div>';
+ // With no releases there is nothing to jump to, so the Roadmap is its list alone, as before the panel.
+ return (milestones.length ? releasePanel : '') + roadmapList;
}
/** Tags that flow inside a line of text, so a reference's line belongs to the nearest block around it. */
@@ -1335,7 +1411,12 @@ function render() {
const items = p.items.filter((i) => i.status !== 'withdrawn');
const active = items.filter((i) => stateOf(i) !== 'verified');
const titles = new Map(p.items.map((i) => [String(i.id), i.title]));
+ // Every refresh redraws the Roadmap. Left alone, that would send the phone's release chips back to their start
+ // and the panel back to its top under a person mid-scroll, so both keep where they were.
+ const chipsAt = $('roadmap-releases')?.scrollLeft ?? 0, panelAt = $('roadmap-panel')?.scrollTop ?? 0;
$('roadmap').innerHTML = roadmapCards(p, titles);
+ if ($('roadmap-releases')) $('roadmap-releases').scrollLeft = chipsAt;
+ if ($('roadmap-panel')) $('roadmap-panel').scrollTop = panelAt;
// What needs the person, first, and only the person's calls (B26): the decisions passed up to them,
// questions in the spec, held lanes, then draft rows. Work waiting for a verdict or sent back shows
@@ -1372,10 +1453,9 @@ function render() {
const q = $('q').value.trim().toLowerCase();
const pipeline = view.itemsView === 'pipeline';
$('items-view-switch').innerHTML = ['list', 'pipeline'].map((mode) => '<button type="button" data-items-view="' + mode + '" aria-pressed="' + (view.itemsView === mode) + '" class="' + (view.itemsView === mode ? 'on' : '') + '">' + (mode === 'list' ? 'List' : 'Pipeline') + '</button>').join('');
- $('state-chips').hidden = pipeline;
$('item-list').hidden = pipeline;
$('pipeline').hidden = !pipeline;
- // Each chip counts what it would show under the lane and the search. A search looks through every
+ // Each Show choice counts what it would show under the lane and the search. A search looks through every
// state, withdrawn items included; browsing leaves those out.
const matching = (q ? p.items : items)
.filter((i) => !q || ('#' + i.id + ' ' + i.title + ' ' + i.lane + ' ' + i.specs.join(' ') + ' ' + (i.criterion || '')).toLowerCase().includes(q));
@@ -1390,20 +1470,40 @@ function render() {
// A lane narrows the list as a state does, and each counts within the other's choice.
const inLane = (lane) => (i) => !lane || i.lane === lane;
if (view.lane && !matching.some(inLane(view.lane))) view.lane = null;
- $('state-chips').innerHTML = Object.keys(names).map((s) => '<button data-state="' + s + '" class="' + (view.state === s ? 'on' : '') + '" type="button">' + names[s] + '<b>' + matching.filter(inLane(view.lane)).filter(inState(s)).length + '</b></button>').join('');
+ const stateOptions = Object.keys(names).map((s) => '<button class="filter-option" role="menuitemradio" aria-checked="' + (view.state === s) + '" data-filter-choice="state:' + s + '" data-filter-kind="state" data-filter-value="' + s + '" data-state="' + s + '" type="button"><span class="filter-option-label">' + names[s] + '</span><b>' + matching.filter(inLane(view.lane)).filter(inState(s)).length + '</b></button>');
const inView = pipeline ? matching.filter((item) => item.status !== 'withdrawn') : matching.filter(inState(view.state));
const laneCounts = [...inView.reduce((m, i) => m.set(i.lane, (m.get(i.lane) || 0) + 1), new Map())].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0]));
if (view.lane && !laneCounts.some(([lane]) => lane === view.lane)) laneCounts.push([view.lane, 0]);
- const pick = $('lane-pick'), options = [['', 'All lanes'], ...laneCounts.map(([lane, n]) => [lane, lane + ' · ' + n])].map(([lane, label]) => '<option value="' + esc(lane) + '">' + esc(label) + '</option>').join('');
- // Rewriting an open picker closes it, so it is rewritten only when the lanes or their counts change.
- if (pick.dataset.options !== options) { pick.innerHTML = options; pick.dataset.options = options; }
- pick.value = view.lane || '';
- pick.hidden = laneCounts.length < 2 && !view.lane;
+ const laneOptions = [['', 'All lanes', null], ...laneCounts.map(([lane, n]) => [lane, lane, n])].map(([lane, label, count]) => '<button class="filter-option" role="menuitemradio" aria-checked="' + ((view.lane || '') === lane) + '" data-filter-choice="lane:' + esc(lane) + '" data-filter-kind="lane" data-filter-value="' + esc(lane) + '" aria-label="' + esc(label) + (count === null ? '' : ' · ' + count) + '" title="' + esc(label) + (count === null ? '' : ' · ' + count) + '" type="button"><span class="filter-option-label">' + esc(label) + '</span>' + (count === null ? '' : '<b>' + count + '</b>') + '</button>');
+ const activeChoice = document.activeElement?.dataset?.filterChoice;
+ const menu = $('filter-menu');
+ menu.innerHTML = (pipeline ? '' : '<section class="filter-group" role="group" aria-label="Show"><h3>Show</h3>' + stateOptions.join('') + '</section>')
+ + '<section class="filter-group" role="group" aria-label="Lane"><h3>Lane</h3>' + laneOptions.join('') + '</section>';
+ menu.hidden = !view.filterOpen;
+ menu.style.left = '0px';
+ menu.style.maxWidth = '';
+ if (view.filterOpen) {
+ // The open menu stays inside the toolbar, no wider than it and shifted left as far as it needs. The window's
+ // width is no measure of that room: it counts a classic scrollbar, so on CI's runners a menu kept inside the
+ // window still reached 10px past the toolbar (#442).
+ const bar = $('items-toolbar'), box = bar.getBoundingClientRect(), left = box.left + bar.clientLeft, right = left + bar.clientWidth;
+ menu.style.maxWidth = Math.min(320, bar.clientWidth) + 'px';
+ const at = menu.getBoundingClientRect();
+ menu.style.left = Math.max(left - at.left, Math.min(0, right - at.right)) + 'px';
+ }
+ $('filter-toggle').setAttribute('aria-expanded', String(view.filterOpen));
+ const stateLabel = pipeline || view.state === 'active' ? '' : names[view.state] || '';
+ const laneLabel = view.lane || '';
+ const filterLabel = stateLabel || laneLabel ? 'Filter: ' + [stateLabel, laneLabel].filter(Boolean).join(' · ') : 'Filter';
+ $('filter-label').textContent = filterLabel;
+ $('filter-toggle').setAttribute('aria-label', filterLabel);
+ $('filter-toggle').title = filterLabel;
+ if (view.filterOpen && activeChoice) [...menu.querySelectorAll('[data-filter-choice]')].find((option) => option.dataset.filterChoice === activeChoice)?.focus({ preventScroll: true });
const shown = inView.filter(inLane(view.lane)).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
$('pipeline').innerHTML = pipeline ? pipelineCard(shown) : '';
// With nothing picked, the detail shows the first row, and keeps it when a refresh reorders the list.
// While another project loads, the item picked there waits for its own board.
- if (data.root === view.root && !view.adding && !p.items.some((i) => i.id === view.item)) view.item = shown.length ? shown[0].id : null;
+ if (data.root === view.root && !view.adding && !(view.tab === 'items' && view.addressDetail !== null && view.addressDetail !== 'pipeline') && !p.items.some((i) => i.id === view.item)) view.item = shown.length ? shown[0].id : null;
// An open item's chip, the same in its row and its detail: gated, its lane held, or unclaimed.
const openChip = (i) => i.blockedBy.length || heldLanes.has(i.lane) ? '<span class="chip gate">' + (i.blockedBy.length ? 'gated' : 'lane held') + '</span>' : chip('open');
$('chain').innerHTML = shown.length ? shown.map((i) => {
@@ -1425,11 +1525,11 @@ function render() {
const item = p.items.find((i) => i.id === view.item);
// The form shows when asked for, or when the project has no item at all, withdrawn ones included.
- const adding = view.adding || !p.items.length;
+ const adding = view.adding || (!p.items.length && !(view.tab === 'items' && view.addressDetail !== null && view.addressDetail !== 'pipeline'));
$('add-form').hidden = !adding;
$('add-cancel').hidden = !p.items.length;
$('detail').hidden = adding;
- if (!item) $('detail').innerHTML = '<div class="empty">Pick an item to see its criterion, verdicts and history.</div>';
+ if (!item) $('detail').innerHTML = '<div class="empty">' + (view.tab === 'items' && view.addressDetail !== null && view.addressDetail !== 'pipeline' ? 'No item #' + esc(view.addressDetail) + ' exists here.' : 'Pick an item to see its criterion, verdicts and history.') + '</div>';
if (item && !view.adding) {
const s = stateOf(item);
const cited = item.specs.map((id) => p.spec.find((r) => r.id === id) || { id, status: 'missing', text: '(not in SPEC.md)' });
@@ -1494,7 +1594,10 @@ function render() {
const lead = (from) => from === 'coordinator';
// Opened from the status bar's unread, the feed is exactly those shouts, the ones after the mark the person had.
const unread = view.unread?.root === view.root ? view.unread : null;
- const heard = unread ? p.shouts.filter((x) => x.shout_id > unread.after) : view.agent ? p.shouts.filter((x) => x.shout_from === view.agent || x.shout_to === view.agent) : p.shouts;
+ const addressed = addressedShouts.get(JSON.stringify([view.root, view.shout]));
+ const feedShouts = addressed?.shout && !p.shouts.some((entry) => entry.shout_id === view.shout) ? [...p.shouts, addressed.shout] : p.shouts;
+ const heard = unread ? feedShouts.filter((x) => x.shout_id > unread.after) : view.agent ? feedShouts.filter((x) => x.shout_from === view.agent || x.shout_to === view.agent) : feedShouts;
+ if (view.tab === 'shouts' && view.shout !== null) openShouts.add(view.shout);
const bar = !unread && !view.agent ? '' : '<div class="feed-bar">' + (unread ? '<span><b>' + heard.length + '</b> unread <button class="link" data-unread type="button">show all</button></span>'
: '<span>Shouts with <b>' + esc(agentName(view.agent)) + '</b> <button class="link" data-agent="" type="button">show all</button></span>') + '</div>';
$('shouts-pane').classList.toggle('bare', view.agentsHidden);
@@ -1512,11 +1615,11 @@ function render() {
};
// One card for a shout, in the feed and among the asks; tail adds what the place needs, such as Answer. Only the
// feed's copy carries the band and the id an answer's link lands on, so an ask shown twice never repeats an id.
- const card = (x, tail = '', inFeed = true) => '<article class="shout h' + hue(x.shout_from) + (lead(x.shout_from) ? ' lead' : '') + (openShouts.has(x.shout_id) ? ' open' : '') + '"' + (inFeed ? ' id="shout-' + x.shout_id + '"' : '') + ' data-shout-id="' + x.shout_id + '">'
- + (lead(x.shout_from) ? '<span class="avatar">' + LEAD + '</span>' : '<span class="avatar' + (initials(x.shout_from).length > 3 ? ' wide' : '') + '" aria-hidden="true">' + esc(initials(x.shout_from)) + '</span>') + '<div class="shout-main"><header><b class="who">' + shoutAgentName(x.shout_from) + '</b><span class="to">→ ' + shoutAgentName(x.shout_to) + '</span>'
+ const card = (x, tail = '', inFeed = true) => '<article class="shout h' + hue(x.shout_from) + (lead(x.shout_from) ? ' lead' : '') + (openShouts.has(x.shout_id) ? ' open' : '') + (inFeed && x.shout_id === view.shout ? ' found' : '') + '"' + (inFeed ? ' id="shout-' + x.shout_id + '"' : '') + ' data-shout-id="' + x.shout_id + '">'
+ + (lead(x.shout_from) ? '<span class="avatar">' + LEAD + '</span>' : '<span class="avatar' + (initials(x.shout_from).length > 3 ? ' wide' : '') + '" aria-hidden="true">' + esc(initials(x.shout_from)) + '</span>') + '<div class="shout-main">' + (inFeed && x.shout_id === view.shout ? '<h2>Shout #' + x.shout_id + '</h2>' : '') + '<header><b class="who">' + shoutAgentName(x.shout_from) + '</b><span class="to">→ ' + shoutAgentName(x.shout_to) + '</span>'
+ (itemOf(x) ? '<span class="item">#' + esc(itemOf(x)) + '</span>' : '') + mark(x) + '<time class="long" data-ago="' + esc(x.shout_at) + '" title="' + esc(when(x.shout_at)) + '">' + agoLong(x.shout_at) + '</time></header>'
+ '<div class="text">' + rich(x.shout_text, titles) + '</div><button class="more" data-more type="button">' + (openShouts.has(x.shout_id) ? 'less' : 'more') + '</button>' + (inFeed ? band(x) + heardBy(x) : '') + evidence(x) + tail + '</div></article>';
- $('feed').innerHTML = bar + (heard.length ? dayRules(heard, (x) => x.shout_at, card) : '<div class="empty">' + (unread ? 'No unread shouts.' : view.agent ? 'No shouts with ' + esc(agentName(view.agent)) + ' among the last forty.' : 'No shouts yet.') + '</div>');
+ $('feed').innerHTML = (view.shout !== null && !feedShouts.some((entry) => entry.shout_id === view.shout) ? '<p class="empty" id="shout-address-status" role="status">' + esc(addressed?.error || 'Loading shout #' + view.shout + '…') + '</p>' : '') + bar + (heard.length ? dayRules(heard, (x) => x.shout_at, card) : '<div class="empty">' + (unread ? 'No unread shouts.' : view.agent ? 'No shouts with ' + esc(agentName(view.agent)) + ' among the last forty.' : 'No shouts yet.') + '</div>');
foldShouts();
// Each ask waits here until it is answered (B21); the answer itself is typed in the form below. The
// person answers the ones passed up to them; the rest wait on whoever holds them (B26).
@@ -1588,7 +1691,7 @@ function render() {
$(kind + '-chips').innerHTML = Object.keys(labels).map((f) => '<button data-rows="' + kind + ':' + f + '" class="' + (filter === f ? 'on' : '') + '" type="button">' + labels[f] + '<b>' + n[f] + '</b></button>').join('');
const shownRows = rows.filter((r) => filter === 'all' || (filter === 'decide' ? undecided(r) : r.status === 'approved'));
// With no row picked, or the pick filtered out, the detail opens on the first row shown, as Items does.
- if (!shownRows.some((r) => r.id === view.row[kind])) view.row[kind] = shownRows[0]?.id ?? null;
+ if (!(view.tab === kind && view.addressDetail !== null) && !shownRows.some((r) => r.id === view.row[kind])) view.row[kind] = shownRows[0]?.id ?? null;
const feedback = view.specFeedback?.kind === kind && view.specFeedback.root === view.root && view.specFeedback.from === 'list' ? view.specFeedback : null;
const feedbackId = feedback && (shownRows.some((r) => r.id === feedback.id) ? feedback.id : shownRows.some((r) => r.id === feedback.next) ? feedback.next : shownRows[0]?.id);
let section = null;
@@ -1621,7 +1724,7 @@ function render() {
const rowDecisionActions = !snapshot && (!readOnly || requests) && row && undecided(row) && (kind === 'spec' || row.origin !== 'standard')
? '<div class="spec-decision-actions detail-decision-actions"><button class="approve-row" data-row-decision="approve" data-row-kind="' + kind + '" data-row-id="' + esc(row.id) + '" title="Approve (A, from the list)" type="button">Approve <kbd>A</kbd></button><button class="decline-row" data-row-decision="decline" data-row-kind="' + kind + '" data-row-id="' + esc(row.id) + '" title="Decline (D, from the list)" type="button">Decline <kbd>D</kbd></button></div>'
: '';
- $(kind + '-detail').innerHTML = row ? '<div class="stack tight"><h2><span>' + esc(row.id) + '</span>' + text + '</h2><div class="meta"><span class="chip ' + tone(row.status) + '">' + esc(rowStatus) + '</span>' + (row.tier ? '<span class="chip">' + esc(row.tier) + '</span>' : '') + source + '</div>' + rowDecisionActions + (kind === 'spec' && view.specFeedback?.kind === kind && view.specFeedback.root === view.root && view.specFeedback.from === 'detail' && view.specFeedback.id === row.id ? specFeedback(view.specFeedback) : '') + '<dl class="kv"><dt>section</dt><dd>' + esc(row.section) + '</dd>' + reason + (row.gate ? '<dt>gate</dt><dd>' + esc(row.gate) + '</dd>' : '') + (row.serves && row.serves.length ? '<dt>serves</dt><dd>' + esc(row.serves.join(', ')) + '</dd>' : '') + '</dl><div><h3>Items that cite it</h3>' + (citing.length ? '<div class="links">' + citing.map((i) => '<div class="links-item" data-item="' + i.id + '"><span>#' + i.id + ' ' + rich(i.title, titles) + '</span></div>').join('') + '</div>' : '<div class="muted">None yet.</div>') + '</div><div class="muted">' + home + '</div></div>' : '<div class="empty">Pick a row to see it, and the items that cite it.</div>';
+ $(kind + '-detail').innerHTML = row ? '<div class="stack tight"><h2><span>' + esc(row.id) + '</span>' + text + '</h2><div class="meta"><span class="chip ' + tone(row.status) + '">' + esc(rowStatus) + '</span>' + (row.tier ? '<span class="chip">' + esc(row.tier) + '</span>' : '') + source + '</div>' + rowDecisionActions + (kind === 'spec' && view.specFeedback?.kind === kind && view.specFeedback.root === view.root && view.specFeedback.from === 'detail' && view.specFeedback.id === row.id ? specFeedback(view.specFeedback) : '') + '<dl class="kv"><dt>section</dt><dd>' + esc(row.section) + '</dd>' + reason + (row.gate ? '<dt>gate</dt><dd>' + esc(row.gate) + '</dd>' : '') + (row.serves && row.serves.length ? '<dt>serves</dt><dd>' + esc(row.serves.join(', ')) + '</dd>' : '') + '</dl><div><h3>Items that cite it</h3>' + (citing.length ? '<div class="links">' + citing.map((i) => '<div class="links-item" data-item="' + i.id + '"><span>#' + i.id + ' ' + rich(i.title, titles) + '</span></div>').join('') + '</div>' : '<div class="muted">None yet.</div>') + '</div><div class="muted">' + home + '</div></div>' : '<div class="empty">' + (view.tab === kind && view.addressDetail !== null ? 'No ' + (kind === 'spec' ? 'Spec' : 'Doctrine') + ' row ' + esc(view.addressDetail) + ' exists here.' : 'Pick a row to see it, and the items that cite it.') + '</div>';
}
if (keep('pb.flow') !== 'hidden') $('flow').innerHTML = flowSvg(p);
@@ -1638,6 +1741,8 @@ function render() {
};
$('activity').innerHTML = p.events.length ? byDay(p.events, (e) => e.event_at, (e) => '<div><time>' + clock(e.event_at) + '</time><div class="act">' + (e.event_kind === 'shout' || e.event_kind === 'answer' ? spoke(e) : '<b>' + esc(agentName(e.event_by)) + '</b> ' + esc(e.event_kind) + (e.item_id ? ' <button class="ref" data-go="item:' + e.item_id + '" type="button">#' + e.item_id + '</button>' + (titles.has(String(e.item_id)) ? ' <span class="what">' + rich(titles.get(String(e.item_id)), titles) + '</span>' : '') : '')) + '</div></div>') : '<div class="empty">No activity yet.</div>';
showTab();
+ revealPlace();
+ updateRoadmapPanel();
}
/**
@@ -1659,53 +1764,142 @@ function showTab() {
if (view.tab === 'shouts') foldShouts();
}
-/** The address that names a tab: the Roadmap's own, or the board's, keeping the rest as it is. */
+/** Read the selected repo, tab and detail from a path or the hosted page's fragment. */
+function placeAtAddress(page = data) {
+ const tabs = ['items', 'shouts', 'spec', 'doctrine', 'activity', 'roadmap'];
+ const hash = location.hash || '';
+ let path = routed ? location.pathname || '/' : hash.slice(1);
+ if (hash === '#items/pipeline' || hash === '#roadmap') path = hash.slice(1);
+ if (hash.startsWith('#shout-')) path = 'shouts/' + hash.slice(7);
+ let parts;
+ try { parts = path.split('/').filter(Boolean).map(decodeURIComponent); }
+ catch { parts = []; }
+ const repo = page?.projects.find((entry) => entry.ok && entry.name === parts[0]);
+ const group = page?.groups.find((entry) => entry.name === parts[0]);
+ const named = (repo || group) && tabs.includes(parts[1]);
+ const root = named ? repo?.root || group.key : null;
+ if (named) parts.shift();
+ const tab = tabs.includes(parts[0]) ? parts.shift() : (!path && transportModule && globalThis.history?.state?.tab) || homeTab();
+ return { root, tab, detail: parts[0] ?? null };
+}
+
+/** Name each repo even beneath a group; one repo needs no prefix. */
function tabHref(tab) {
- const own = tab === 'roadmap';
- if (tab === 'items' && view.itemsView === 'pipeline') return (routed ? '/' : location.pathname) + location.search + '#items/pipeline';
- return routed ? (own ? '/roadmap' : '/') + location.search : location.pathname + location.search + (own ? '#roadmap' : '');
+ if (snapshot) {
+ if (tab === 'items' && view.itemsView === 'pipeline') return location.pathname + location.search + '#items/pipeline';
+ return location.pathname + location.search + (tab === 'roadmap' ? '#roadmap' : '');
+ }
+ const repo = data?.projects.find((entry) => entry.root === view.root);
+ const group = data?.groups.find((entry) => entry.key === view.root);
+ const name = repo?.name || group?.name;
+ const prefix = (data?.projects.filter((entry) => entry.ok).length || 0) > 1 && name ? '/' + encodeURIComponent(name) : '';
+ const detail = tab === 'items' && view.itemsView === 'pipeline' && (view.addressDetail === null || view.addressDetail === 'pipeline') ? 'pipeline' : view.addressDetail;
+ const path = prefix + '/' + tab + (detail === null ? '' : '/' + encodeURIComponent(String(detail)));
+ return routed ? path + location.search : location.pathname + location.search + '#' + path.slice(1);
}
-/**
- * Keep the address naming what the page shows (N38). Moving between the Roadmap and another tab
- * changes it and adds a history entry, so Back and Forward return there; anything else, or push
- * false, only updates the entry. Each entry carries its project and item too, so returning to one
- * shows that board as it was. A host that refuses the change still shows the tab.
- */
+/** Push one entry per changed place, and retain native fact anchors when restoring an entry. */
function address(push = true) {
- if (typeof history === 'undefined' || typeof location === 'undefined') return;
- const state = { tab: view.tab, root: view.root, item: view.item, itemsView: view.itemsView };
- const href = tabHref(view.tab);
+ if (typeof history === 'undefined' || typeof location === 'undefined' || !addressReady) return;
+ const state = { tab: view.tab, root: view.root, item: view.item, itemsView: view.itemsView, detail: view.addressDetail };
+ let href = tabHref(view.tab);
+ if (!push && routed && location.hash && !['#roadmap', '#items/pipeline'].includes(location.hash)) href += location.hash;
try {
if (push && href !== location.pathname + location.search + (location.hash || '')) history.pushState(state, '', href);
- else history.replaceState(state, '');
- } catch { /* The tab shows all the same. */ }
+ else if (transportModule && !location.hash && view.tab === 'items' && view.addressDetail === null) history.replaceState(state, '');
+ else history.replaceState(state, '', href);
+ } catch { /* A host that refuses history changes still shows the selected place. */ }
+}
+
+/** Apply a parsed selection without recording another history entry. */
+function applyPlace(place, kept = null) {
+ if (place.root) view.root = place.root;
+ view.tab = place.tab;
+ view.addressDetail = place.detail;
+ view.item = place.tab === 'items' && place.detail !== null && place.detail !== 'pipeline' ? Number(place.detail) : null;
+ view.itemsView = place.tab === 'items' && place.detail === 'pipeline' ? 'pipeline' : 'list';
+ if (place.tab === 'items' && kept?.root === view.root && kept.tab === place.tab && kept.detail === place.detail && kept.itemsView === 'pipeline') view.itemsView = 'pipeline';
+ view.shout = place.tab === 'shouts' && place.detail !== null ? Number(place.detail) : null;
+ view.agent = null;
+ view.unread = null;
+ view.roadmapOnly = null;
+ if (place.tab === 'spec' || place.tab === 'doctrine') {
+ view.row[place.tab] = place.detail;
+ if (place.detail !== null) view.rows[place.tab] = 'all';
+ }
+ view.scrollPlace = place.detail !== null;
+ keep('pb.project', view.root);
+ if (place.tab !== 'roadmap') keep('pb.tab', place.tab);
}
-/**
- * Show what a history entry names, on Back, Forward or an edited #roadmap: the tab its address
- * names, or at the board's address the tab the entry kept, and the project and item it kept.
- */
+/** Restore the address on Back and Forward, with a scoped refresh when the repo changes. */
function fromAddress(event) {
- const kept = (event && event.state) || {};
- view.itemsView = location.hash === '#items/pipeline' ? 'pipeline' : kept.itemsView === 'pipeline' && kept.tab !== 'items' ? 'pipeline' : 'list';
- view.tab = addressTab() || (kept.tab && kept.tab !== 'roadmap' ? kept.tab : homeTab());
- if (view.tab !== 'roadmap') keep('pb.tab', view.tab);
- const item = typeof kept.item === 'number' ? kept.item : null;
- if (kept.root && kept.root !== view.root && data && data.projects.some((x) => x.ok && x.root === kept.root)) return switchTo(kept.root, item, false);
- if (item !== null && view.tab === 'items') view.item = item;
+ if (!data) return;
+ // The configured relay transport owns pairing fragments and removes their secrets itself.
+ if (transportModule) {
+ const pairing = new URLSearchParams((location.hash || '').slice(1));
+ if (['board', 'key', 'device'].some((name) => pairing.has(name))) return;
+ }
+ if (snapshot) {
+ const kept = event?.state || {};
+ view.tab = addressTab() || kept.tab || homeTab();
+ view.itemsView = location.hash === '#items/pipeline' ? 'pipeline' : 'list';
+ if (typeof kept.item === 'number') view.item = kept.item;
+ if (kept.root && kept.root !== view.root) return switchTo(kept.root, view.item, false);
+ } else {
+ const place = placeAtAddress();
+ // A native timeline anchor keeps its existing DOM target and the browser's own scroll.
+ if ((location.hash || '').startsWith('#fact-') && place.tab === 'items' && (!place.root || place.root === view.root) && (place.detail === null || Number(place.detail) === view.item)) { address(false); return; }
+ const previous = view.root;
+ applyPlace(place, event?.state);
+ if (previous !== view.root) return switchTo(view.root, view.item, false);
+ }
address(false);
- if (data) render();
- else showTab();
+ render();
+ void loadAddressedShout();
}
-/** Pick a tab. The board's address keeps it for next time; the Roadmap has an address of its own. */
-function openTab(tab) {
+/** Pick a tab or an explicit detail and record the complete place once. */
+function openTab(tab, detail = null) {
view.tab = tab;
+ view.addressDetail = detail;
+ view.shout = tab === 'shouts' && detail !== null ? Number(detail) : null;
+ view.scrollPlace = detail !== null;
if (tab !== 'roadmap') keep('pb.tab', tab);
address();
}
+/** Fetch one old shout through the same public read API used by local and relay views. */
+async function loadAddressedShout() {
+ if (!data?.project || view.tab !== 'shouts' || view.shout === null || data.root !== view.root) return;
+ const root = view.root, id = view.shout, key = JSON.stringify([root, id]);
+ if (data.project.shouts.some((entry) => entry.shout_id === id) || addressedShouts.has(key)) return;
+ const entry = { shout: null, error: null };
+ addressedShouts.set(key, entry);
+ try {
+ const reply = await api(boardPath(root) + '/shouts/' + encodeURIComponent(String(id)));
+ entry.shout = reply.shout;
+ } catch (error) {
+ const message = String(error.message || error);
+ entry.error = transportModule && !message.includes('NO_SHOUT')
+ ? 'This shout is older than the relay holds. Open its address in the local project view.'
+ : 'No shout #' + id + ' exists here. ' + message;
+ }
+ if (view.root === root && view.shout === id && view.tab === 'shouts') render();
+}
+
+/** Scroll a newly addressed detail once, after its real content has arrived. */
+function revealPlace() {
+ if (!view.scrollPlace) return;
+ const fact = view.tab === 'items' && (location.hash || '').startsWith('#fact-') ? $(location.hash.slice(1)) : null;
+ const element = fact || (view.tab === 'shouts' ? $('shout-' + view.shout)
+ : view.tab === 'items' ? $('detail')
+ : ['spec', 'doctrine'].includes(view.tab) ? $(view.tab + '-detail') : null);
+ if (!element || (view.tab === 'shouts' && !element.querySelector('h2'))) return;
+ element.scrollIntoView({ block: 'center', behavior: 'instant' });
+ view.scrollPlace = false;
+}
+
/**
* Count on the Shouts tab the shouts that came after the newest one the person has seen in this
* project. Seeing means having the Shouts tab open with the board drawn; a project shown for the
@@ -1805,10 +1999,9 @@ function go(target, root = view.root) {
else if (kind === 'shout') { tab = 'shouts'; view.agent = null; view.unread = null; }
else if (kind === 'tab') tab = id;
else if (kind === 'decide') { tab = 'shouts'; answer(Number(id)); }
- openTab(tab);
- if (kind === 'item') pick(Number(id), root);
- else render();
- if (kind === 'shout') { const card = document.getElementById('shout-' + id); card?.scrollIntoView({ block: 'center' }); card?.classList.add('found'); setTimeout(() => card?.classList.remove('found'), 1600); }
+ if (kind === 'item') { view.tab = 'items'; view.itemsView = 'list'; pick(Number(id), root); }
+ else { openTab(tab, ['spec', 'doctrine', 'shout'].includes(kind) ? id : null); render(); }
+ if (kind === 'shout') void loadAddressedShout();
}
/** An item's state as a word, for a search result. */
@@ -1864,8 +2057,11 @@ function openFound(target) {
function pick(id, root = view.root) {
view.adding = false;
if (root !== view.root) return switchTo(root, id);
+ view.tab = 'items';
+ keep('pb.tab', view.tab);
view.item = id;
- address(false);
+ view.addressDetail = String(id);
+ address();
render();
reveal();
}
@@ -2148,7 +2344,7 @@ function switchTo(root, target = null, record = true) {
view.adding = false;
if (record && view.item !== null) { view.tab = 'items'; keep('pb.tab', view.tab); }
keep('pb.project', root);
- if (record) address(false);
+ if (record) { view.addressDetail = requestedItem === null ? null : String(requestedItem); view.shout = null; address(); }
fold(false);
// The board that arrives is drawn even if it matches the last one seen, so the pick is made from it.
seen = '';
@@ -2189,7 +2385,8 @@ $('shouts-pane').addEventListener('click', (event) => {
// Enter shouts; Shift+Enter starts a new line.
$('shout-text').addEventListener('keydown', (event) => { if (event.key === 'Enter' && !event.shiftKey && !event.isComposing) { event.preventDefault(); $('shout-form').requestSubmit(); } });
document.addEventListener('click', (event) => {
- const t = event.target.closest('[data-status],[data-roadmap-key],[data-roadmap-all],[data-root],[data-tab],[data-go],[data-item],[data-items-view],[data-state],[data-rows],[data-row],[data-row-decision],[data-section-approve],[data-release],[data-shout],[data-new],[data-code],[data-code-all],[data-code-less],[data-stats-toggle],#proj-switch,#console');
+ if (view.filterOpen && !event.target.closest('.filter-control')) { view.filterOpen = false; render(); }
+ const t = event.target.closest('[data-filter-toggle],[data-filter-choice],[data-status],[data-roadmap-jump],[data-shout-id],[data-roadmap-key],[data-roadmap-all],[data-root],[data-tab],[data-go],[data-item],[data-items-view],[data-state],[data-rows],[data-row],[data-row-decision],[data-section-approve],[data-release],[data-shout],[data-new],[data-code],[data-code-all],[data-code-less],[data-stats-toggle],#proj-switch,#console');
if (!event.target.closest('.side')) fold(false);
if (!t) return;
if (t.id === 'proj-switch') { fold(!$('side').classList.contains('open')); return; }
@@ -2201,7 +2398,17 @@ document.addEventListener('click', (event) => {
return;
}
if (t.dataset.status) { statusGo(t.dataset.status); return; }
- if (t.dataset.itemsView) { view.itemsView = t.dataset.itemsView; address(); render(); return; }
+ if (t.dataset.roadmapJump) { jumpToRoadmap(t.dataset.roadmapJump); return; }
+ if (t.dataset.filterToggle !== undefined) { view.filterOpen = !view.filterOpen; render(); return; }
+ if (t.dataset.filterChoice) {
+ if (t.dataset.filterKind === 'state') view.state = t.dataset.filterValue;
+ else view.lane = t.dataset.filterValue || null;
+ view.filterOpen = false;
+ render();
+ $('filter-toggle').focus({ preventScroll: true });
+ return;
+ }
+ if (t.dataset.itemsView) { view.itemsView = t.dataset.itemsView; view.addressDetail = null; address(); render(); return; }
if ('roadmapKey' in t.dataset) {
const key = t.dataset.roadmapKey;
view.roadmapOpen.set(JSON.stringify([view.root, key]), t.getAttribute('aria-expanded') !== 'true');
@@ -2211,11 +2418,18 @@ document.addEventListener('click', (event) => {
}
if ('roadmapAll' in t.dataset) { view.roadmapOnly = null; render(); return; }
if (t.dataset.root) switchTo(t.dataset.root, t.dataset.go || '');
- else if (t.dataset.tab) { view.unread = null; view.roadmapOnly = null; openTab(t.dataset.tab); showTab(); }
+ else if (t.dataset.tab) { view.unread = null; view.roadmapOnly = null; openTab(t.dataset.tab); render(); }
else if (t.dataset.go) go(t.dataset.go, t.dataset.board);
else if (t.dataset.item) pick(Number(t.dataset.item));
else if (t.dataset.state) { view.state = t.dataset.state; render(); }
- else if (t.dataset.rows) { const [kind, f] = t.dataset.rows.split(':'); view.rows[kind] = f; render(); }
+ else if (t.dataset.rows) {
+ const [kind, f] = t.dataset.rows.split(':');
+ const addressed = view.addressDetail !== null;
+ view.rows[kind] = f;
+ view.addressDetail = null;
+ render();
+ if (addressed) { view.addressDetail = view.row[kind]; address(); }
+ }
else if (t.dataset.rowDecision) {
const id = t.dataset.rowId, kind = t.dataset.rowKind;
if (t.dataset.rowDecision === 'approve') decideRow(kind, 'spec-approve', { ids: id }, t);
@@ -2226,9 +2440,12 @@ document.addEventListener('click', (event) => {
const ids = data.project.spec.filter((row) => row.section === section && ['pending', 'draft'].includes(row.status) && !row.decision).map((row) => row.id);
if (ids.length && window.confirm('Approve all ' + ids.length + ' undecided rows in “' + section + '”?')) decideRow('spec', 'spec-approve', { ids: ids.join(' ') }, t);
}
+ else if (t.dataset.shoutId && !event.target.closest('button,a,input,textarea,select')) { go('shout:' + t.dataset.shoutId); }
else if (t.dataset.row) {
const [kind, id] = t.dataset.row.split(':');
view.row[kind] = id;
+ view.addressDetail = id;
+ address();
render();
$(kind + '-list').focus({ preventScroll: true });
// Where the list and the detail stack, the picked row's detail, with its buttons, comes into view.
@@ -2241,6 +2458,8 @@ document.addEventListener('click', (event) => {
else if (t.dataset.shout) { answer(null); addressTo(t.dataset.shout); $('shout-text').value = '#' + t.dataset.about + ': '; openTab('shouts'); showTab(); $('shout-text').focus(); }
else if (t.dataset.new !== undefined) { view.adding = true; render(); $('add-title').focus(); }
});
+// The viewport's scroll is fired at the document; the tests' stand-in document has no window.
+document.addEventListener('scroll', updateRoadmapPanel, { passive: true });
/** Close the expanded stats card and return focus to the list's summary control on Escape. */
document.addEventListener('keydown', (event) => {
if (event.key !== 'Escape' || !view.statsOpen || view.tab !== 'items' || document.querySelector('[data-pane="items"]')?.hidden) return;
@@ -2268,7 +2487,7 @@ for (const kind of ['spec', 'doctrine']) $(kind + '-list').addEventListener('key
if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
event.preventDefault();
const next = ids[Math.min(ids.length - 1, Math.max(0, at + (event.key === 'ArrowDown' ? 1 : -1)))];
- if (next && next !== view.row[kind]) { view.row[kind] = next; render(); event.currentTarget.querySelector('.srow.on')?.scrollIntoView({ block: 'nearest' }); }
+ if (next && next !== view.row[kind]) { view.row[kind] = next; view.addressDetail = next; address(); render(); event.currentTarget.querySelector('.srow.on')?.scrollIntoView({ block: 'nearest' }); }
} else if (event.key === 'Enter' && view.row[kind]) {
event.preventDefault();
$(kind + '-detail').scrollIntoView({ block: 'start', behavior: 'instant' });
@@ -2333,13 +2552,31 @@ $('q').addEventListener('blur', () => {
closingFound = setTimeout(() => hideFound('left the field'), 120);
});
// "/" goes to the search from anywhere but a field.
+document.addEventListener('keydown', (event) => {
+ if (!view.filterOpen) return;
+ if (event.key === 'Escape') {
+ event.preventDefault();
+ view.filterOpen = false;
+ render();
+ $('filter-toggle').focus({ preventScroll: true });
+ return;
+ }
+ if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
+ const choices = [...$('filter-menu').querySelectorAll('[data-filter-choice]')];
+ const at = choices.indexOf(document.activeElement);
+ if (choices.length) {
+ event.preventDefault();
+ const next = at < 0 ? (event.key === 'ArrowDown' ? 0 : choices.length - 1) : (at + (event.key === 'ArrowDown' ? 1 : choices.length - 1)) % choices.length;
+ choices[next].focus({ preventScroll: true });
+ }
+ }
+});
document.addEventListener('keydown', (event) => {
if (event.key !== '/' || event.metaKey || event.ctrlKey || event.altKey || event.target.closest('input, textarea, select, [contenteditable]')) return;
event.preventDefault();
$('q').focus();
$('q').select();
});
-$('lane-pick').addEventListener('change', (event) => { view.lane = event.target.value || null; render(); });
$('add-form').addEventListener('submit', async (event) => {
event.preventDefault();
if (await act('add', { lane: $('add-lane').value, title: $('add-title').value, criterion: $('add-criterion').value, specs: $('add-specs').value, brief: $('add-brief').value }, event.currentTarget)) {
diff --git a/docs/demo/view.css b/docs/demo/view.css
index 1fcfd681..11be2c53 100644
--- a/docs/demo/view.css
+++ b/docs/demo/view.css
@@ -136,12 +136,37 @@ main { padding: 16px 18px 56px; }
.loading .top, .loading [data-pane], .boardless .top, .boardless [data-pane] { display: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 42%, 600px); gap: 16px; align-items: start; }
.two.narrow { grid-template-columns: minmax(0, 1fr) var(--agents-w); }
-.roadmap { display: grid; gap: 12px; max-width: 900px; align-content: start; }
+.roadmap-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30%, 360px); gap: 16px; align-items: start; }
+.roadmap-layout:not(:has(.roadmap-panel)) { grid-template-columns: minmax(0, 1fr); }
+.roadmap-layout:not(:has(.roadmap-panel)) .roadmap-list { grid-row: 1; }
+.roadmap-list { grid-column: 1; grid-row: 1; display: grid; gap: 12px; max-width: 900px; min-width: 0; align-content: start; }
+.roadmap-panel { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); min-width: 0; overflow-y: auto; padding: 16px; display: grid; gap: 18px; align-content: start; }
+.roadmap-panel h2 { margin: 0 0 8px; font-size: 15px; }
+.roadmap-mobile-shipping { display: none; }
+.roadmap-release-index { min-width: 0; }
+.roadmap-releases { display: grid; gap: 4px; min-width: 0; }
+.roadmap-release { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; min-height: var(--tap); padding: 5px 8px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink); text-align: left; cursor: pointer; }
+.roadmap-release:hover, .roadmap-release[aria-current="location"] { background: var(--surface-2); }
+.roadmap-release[aria-current="location"] { border-color: var(--line); font-weight: 600; }
+.roadmap-release > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.roadmap-release > b { flex: none; color: var(--ink-muted); font: 11px var(--mono); }
+.roadmap-next-release { margin: -2px 0 10px; font-size: 13px; overflow-wrap: anywhere; }
+.roadmap-stage-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; }
+.roadmap-stage-counts > div { display: flex; justify-content: space-between; gap: 6px; padding: 7px 8px; border-radius: 8px; background: var(--surface-2); }
+.roadmap-stage-counts dt { color: var(--ink-muted); font-size: 12px; }
+.roadmap-stage-counts dd { margin: 0; font: 12px var(--mono); }
+.roadmap-last-shipped { display: grid; gap: 3px; margin: 12px 0 0; font-size: 12px; }
+.roadmap-last-shipped > span { color: var(--ink-faint); }
+.roadmap-last-shipped > b { font-size: 13px; }
+.roadmap-last-shipped > small { color: var(--ink-muted); }
+.roadmap-list > [data-key] { scroll-margin-top: calc(var(--top) + 16px); }
+.roadmap-arrival { animation: roadmap-arrival 1.3s ease-out; }
+@keyframes roadmap-arrival { from { box-shadow: 0 0 0 2px var(--accent); } to { box-shadow: 0 0 0 0 transparent; } }
.milestone { padding: 14px 16px 12px; }
.milestone-head { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; border-radius: 8px; }
.milestone-head .milestone-count { margin-left: auto; }
/* A small triangle that turns down when its part is open. */
-.roadmap .caret { flex: none; width: 7px; height: 9px; background: var(--ink-faint); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .15s; }
+.roadmap-layout .caret { flex: none; width: 7px; height: 9px; background: var(--ink-faint); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .15s; }
.milestone-head[aria-expanded="true"] > .caret { transform: rotate(90deg); }
.shipped { padding: 4px 16px; }
.shipped > .milestone-head h2 { margin: 0; font-size: 15px; color: var(--ink-muted); }
@@ -163,6 +188,18 @@ main { padding: 16px 18px 56px; }
.milestone-item .id { margin-right: 6px; color: var(--ink-faint); font: 500 12px var(--mono); }
.milestone-empty { margin: 8px 0 0; color: var(--ink-faint); }
.milestone-note { margin: 10px 0 2px; padding: 8px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--ink-muted); overflow-wrap: anywhere; }
+/* Below 900px, not at it: the Roadmap keeps its panel on the right at 900, as its criterion says, while the rest
+ of the page folds at 900 and narrower. */
+@media (width < 900px) {
+ .roadmap-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
+ .roadmap-panel { grid-column: 1; grid-row: 1; position: static; max-height: none; overflow: visible; padding: 12px; }
+ .roadmap-list { grid-column: 1; grid-row: 2; max-width: none; }
+ .roadmap-releases { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; gap: 5px; padding-bottom: 3px; }
+ .roadmap-release { flex: 0 0 auto; width: auto; max-width: 220px; border-color: var(--line); }
+ .roadmap-desktop-shipping { display: none; }
+ .roadmap-list .roadmap-mobile-shipping { display: grid; gap: 10px; padding: 0 14px 12px; }
+ .roadmap-stage-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
+}
@media (max-width: 900px) {
.shell { display: block; }
.side { position: static; height: auto; overflow: visible; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
@@ -192,7 +229,7 @@ main { padding: 16px 18px 56px; }
.tab { display: grid; justify-items: center; align-content: center; padding: 7px 2px; font-size: clamp(11px, 3.6vw, 13.5px); }
}
.primary { display: grid; gap: 12px; min-width: 0; }
-.items-view-switch { justify-self: start; }
+.items-view-switch { flex: none; flex-wrap: nowrap; max-width: none; }
.pipeline { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.pipeline-stage { position: relative; min-width: 0; padding: 14px; }
.pipeline-stage + .pipeline-stage::before { content: '↓'; position: absolute; top: -25px; left: 22px; color: var(--ink-faint); }
@@ -206,11 +243,27 @@ main { padding: 16px 18px 56px; }
.pipeline-item > span:first-child { color: var(--ink-faint); font-family: var(--mono); }
.pipeline-item > span:last-child { overflow-wrap: anywhere; }
.card-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 0; }
-/* The Items toolbar is one row: the states, the lane picker, and New item at its end. */
-.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; }
-.toolbar .lane-pick { flex: none; field-sizing: content; max-width: 11em; padding: 0 8px; color: var(--ink-muted); font-size: 13px; cursor: pointer; }
-.toolbar .lane-pick[hidden] { display: none; }
-.toolbar .go { margin-left: auto; }
+/* The Items toolbar keeps its view, filters, and creation action together on one line. */
+.toolbar { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; min-width: 0; padding: 10px; }
+.toolbar .go { flex: none; margin-left: auto; }
+.items-view-switch button { padding-inline: 5px; }
+/* Filter is a button sized to its words, beside List | Pipeline; a long choice gives way with an ellipsis, never the row.
+ Its arrow points the way the menu goes, as the project switcher's does, switching at once. */
+.filter-control { position: relative; flex: 0 1 auto; min-width: 0; }
+.filter-toggle { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; min-height: var(--tap); padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 500; cursor: pointer; white-space: nowrap; }
+.filter-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
+.filter-toggle svg { flex: none; width: 16px; height: 16px; color: var(--ink-faint); }
+.filter-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
+.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { background: var(--surface-2); }
+.filter-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; display: grid; gap: 10px; width: max-content; min-width: 220px; max-width: min(320px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
+.filter-group { display: grid; gap: 2px; min-width: 0; }
+.filter-group h3 { margin: 0 6px 2px; color: var(--ink-faint); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
+.filter-option { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: var(--tap); padding: 5px 8px; border: 0; border-radius: 7px; background: none; color: var(--ink); text-align: left; white-space: nowrap; cursor: pointer; }
+.filter-option:hover, .filter-option:focus-visible { background: var(--surface-2); }
+.filter-option[aria-checked="true"] { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
+.filter-option-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
+.filter-option b { flex: none; color: var(--ink-faint); font: 600 11px var(--mono); }
+.new-item-narrow { display: none; }
input, select, textarea { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 7px 9px; min-width: 0; }
input:disabled { background: var(--surface-2); color: var(--ink-muted); }
.go { border: 0; background: var(--ink); color: var(--surface); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-weight: 600; white-space: nowrap; }
@@ -546,21 +599,15 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }
/* A clickable row is never shorter than the target. */
[data-item], [data-row] { min-height: var(--tap); }
/* The Items toolbar's controls stand at the target, 32px under a mouse. */
-.seg button, .toolbar .go, .toolbar select, .toolbar input { min-height: var(--tap); }
-.toolbar .go, .toolbar select, .toolbar input { padding-block: 0; }
+.seg button, .toolbar .go, .toolbar input, .filter-toggle, .filter-option { min-height: var(--tap); }
+.toolbar .go, .toolbar input { padding-block: 0; }
.seg { flex-wrap: wrap; max-width: 100%; }
.inline > label { min-width: 0; }
-/* On a phone the Items toolbar is one row, Active and Verified with New item at its end, as the person chose; All and
- * the lane picker drop out unless one of them is what narrows the list now. While a filter beyond Active and Verified
- * shows, New item is a + (its name is still New item), so the row holds both filters; a long lane name gives way, the
- * picker shrinking to show what it can, rather than the row. */
+/* The label changes at 900px, while the control keeps its accessible name at every size. */
+@media (width < 900px) { .new-item-wide { display: none; } .new-item-narrow { display: inline; } }
@media (width < 480px) {
- .toolbar { flex-wrap: nowrap; }
- .toolbar .seg, .toolbar .go { flex: none; }
- .toolbar .lane-pick { flex: 0 1 auto; min-width: 4em; }
- .toolbar .seg [data-state="all"]:not(.on), .toolbar .lane-pick:not(:has(option:checked:not([value=""]))) { display: none; }
- .toolbar:has(.seg button.on:not([data-state="active"]):not([data-state="verified"]), .lane-pick option:checked:not([value=""])) .go { width: var(--tap); padding: 0; font-size: 0; }
- .toolbar:has(.seg button.on:not([data-state="active"]):not([data-state="verified"]), .lane-pick option:checked:not([value=""])) .go::before { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; }
+ .toolbar { gap: 6px; padding-inline: 8px; }
+ .toolbar .go { padding-inline: 12px; }
}
.spec-feedback { margin: 8px 0; padding: 8px; border: 1px solid var(--line-strong); border-radius: 8px; overflow-wrap: anywhere; font-size: 13px; }
diff --git a/docs/shots/capture-browser.mjs b/docs/shots/capture-browser.mjs
index 75b08923..b910b56e 100644
--- a/docs/shots/capture-browser.mjs
+++ b/docs/shots/capture-browser.mjs
@@ -27,6 +27,6 @@ export async function browser(chrome, profile, url) {
/** Wait for this demo's API data and rendered controls before storage writes or selection. */
export async function waitForDemoBoard(view, repo) {
- const ready = `typeof data !== 'undefined' && data?.project?.root === ${JSON.stringify(repo)} && data.root === view.root && data.projects.some(project => project.root === ${JSON.stringify(repo)} && project.ok && project.name === 'Demo board') && data.project.items.some(item => item.id === 1 && item.title === 'Reviewed and accepted' && item.verdicts.some(verdict => verdict.decision === 'REJECT') && item.verdicts.at(-1)?.decision === 'ACCEPT') && !!document.querySelector('#state-chips [data-state=all]')`;
- await view.waitFor(ready, 'populated demo board and complete review history');
+ const ready = `typeof data !== 'undefined' && data?.project?.root === ${JSON.stringify(repo)} && data.root === view.root && view.tab === 'items' && data.projects.some(project => project.root === ${JSON.stringify(repo)} && project.ok && project.name === 'Demo board') && data.project.items.some(item => item.id === 1 && item.title === 'Reviewed and accepted' && item.verdicts.some(verdict => verdict.decision === 'REJECT') && item.verdicts.at(-1)?.decision === 'ACCEPT') && !!document.querySelector('#filter-toggle')`;
+ await view.waitFor(ready, 'addressed demo board, populated item history and current Filter control');
}
diff --git a/docs/shots/demo.mjs b/docs/shots/demo.mjs
index 9674d9b3..ab74482e 100644
--- a/docs/shots/demo.mjs
+++ b/docs/shots/demo.mjs
@@ -17,7 +17,7 @@ const BIN = join(ROOT, 'bin', 'pullboard.js');
const OUTPUT = fileURLToPath(new URL('./', import.meta.url));
const DEMO_OUTPUT = join(ROOT, 'docs', 'demo');
const DEMO_BOARD_ID = 'demo-board';
-const CHROME = ['/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', '/usr/bin/google-chrome', '/usr/bin/chromium', '/usr/bin/chromium-browser'];
+const CHROME = [process.env.PULLBOARD_CHROME, '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', '/usr/bin/google-chrome', '/usr/bin/chromium', '/usr/bin/chromium-browser'].filter(Boolean);
/** Set the deterministic lifecycle clock used by the next isolated board command. */
function setDemoMinutes(env, minutes) {
@@ -190,11 +190,11 @@ else {
view = await browser(chrome, join(base, 'chrome-profile'), url);
await waitForDemoBoard(view, repo);
await view.viewport(1440, 900);
- await view.evaluate("document.querySelector('[data-state=all]').click()");
+ await view.evaluate("document.querySelector('#filter-toggle').click(); document.querySelector('#filter-menu [data-filter-choice=\"state:all\"]').click()");
await view.waitFor("!!document.querySelector('#chain .row[data-item=\"1\"]')", 'accepted item in All');
await view.evaluate("(()=>{document.documentElement.dataset.theme='light'; localStorage.setItem('pb.theme','light'); document.querySelector('#chain .row[data-item=\"1\"]').click()})()");
await view.waitFor("view.item === 1 && !!document.querySelector('#chain .row.on[data-item=\"1\"]') && document.querySelector('#detail').textContent.includes('Reviewed and accepted') && document.querySelector('#detail').textContent.includes('REJECT') && document.querySelector('#detail').textContent.includes('ACCEPT')", 'selected accepted item and both verdicts');
- await view.evaluate("document.querySelector('[data-state=active]').click()");
+ await view.evaluate("document.querySelector('#filter-toggle').click(); document.querySelector('#filter-menu [data-filter-choice=\"state:active\"]').click()");
await view.waitFor("!document.querySelector('#needs').hidden && document.querySelector('#needs').textContent.includes('NEEDS YOU') && document.querySelector('#detail').textContent.includes('ACCEPT')", 'Active items, Needs you and the selected review history');
await view.evaluate('document.fonts.ready.then(() => new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve))))');
await view.screenshot(join(OUTPUT, 'desktop.png'));
diff --git a/docs/shots/desktop.png b/docs/shots/desktop.png
index dce90c1b..3276007a 100644
Binary files a/docs/shots/desktop.png and b/docs/shots/desktop.png differ
diff --git a/docs/shots/phone.png b/docs/shots/phone.png
index a3d875fa..c91f6448 100644
Binary files a/docs/shots/phone.png and b/docs/shots/phone.png differ
diff --git a/docs/shots/shots.test.js b/docs/shots/shots.test.js
index fcdc55c1..1991e8ef 100644
--- a/docs/shots/shots.test.js
+++ b/docs/shots/shots.test.js
@@ -4,7 +4,7 @@
*/
import assert from 'node:assert/strict';
import { spawnSync } from 'node:child_process';
-import { chmodSync, cpSync, mkdirSync, mkdtempSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
+import { chmodSync, cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { delimiter, join } from 'node:path';
import { test } from 'node:test';
@@ -102,6 +102,50 @@ test('the demo board declares every agent\'s model [I11,I13]', () => {
}
});
+test('the README capture runs end to end [I11,I13]', { timeout: 240_000 }, () => { // budget: outer ceiling gives the bounded capture process 30s to clean up.
+ const fixture = mkdtempSync(join(tmpdir(), 'pullboard-readme-capture-'));
+ try {
+ const source = fileURLToPath(ROOT);
+ const root = join(fixture, 'repo');
+ mkdirSync(root);
+ for (const directory of ['bin', 'src', 'skills', 'docs/shots']) {
+ cpSync(join(source, directory), join(root, directory), { recursive: true });
+ }
+ mkdirSync(join(root, 'test'));
+ for (const file of ['package.json', 'CHANGELOG.md', 'test/chrome-fixture.js', 'test/fixture-child.js']) {
+ cpSync(join(source, file), join(root, file));
+ }
+ const shims = join(fixture, 'bin');
+ mkdirSync(shims);
+ const pullboard = join(shims, 'pullboard');
+ writeFileSync(pullboard, `#!/bin/sh\nexec "${process.execPath}" "${join(root, 'bin/pullboard.js')}" "$@"\n`);
+ chmodSync(pullboard, 0o755);
+ const images = ['desktop.png', 'phone.png', 'shouts.png'];
+ for (const image of images) rmSync(join(root, 'docs/shots', image), { force: true });
+ const chrome = process.env.PULLBOARD_CHROME || [
+ '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
+ '/usr/bin/google-chrome', '/usr/bin/chromium', '/usr/bin/chromium-browser',
+ ].find((candidate) => { try { return spawnSync(candidate, ['--version'], { stdio: 'ignore' }).status === 0; } catch { return false; } });
+ assert.ok(chrome, 'the README capture requires installed headless Chrome');
+ const result = spawnSync(process.execPath, [join(root, 'docs/shots/demo.mjs'), '--screenshots-only'], {
+ cwd: root,
+ env: { ...process.env, PATH: [shims, process.env.PATH].filter(Boolean).join(delimiter), PULLBOARD_CHROME: chrome, HOME: join(fixture, 'home'), PULLBOARD_HOME: join(fixture, 'home'), PULLBOARD_MACHINE_HOME: join(fixture, 'home') },
+ encoding: 'utf8',
+ timeout: 210_000, // budget: isolated board build, export and three Chrome captures; 30s remains for cleanup.
+ });
+ assert.equal(result.status, 0, `the isolated README capture completes in headless Chrome: ${result.stderr}\n${result.stdout}`);
+ for (const image of images) {
+ assert.ok(existsSync(join(root, 'docs/shots', image)), `${image} was captured`);
+ const bytes = readFileSync(join(root, 'docs/shots', image));
+ assert.ok(bytes.length > 8, `${image} was captured`);
+ assert.deepEqual([...bytes.subarray(0, 8)], [137, 80, 78, 71, 13, 10, 26, 10], `${image} is a PNG screenshot`);
+ }
+ assert.ok(statSync(join(root, 'docs/demo/index.html')).size > 0, 'the demo export was rebuilt');
+ } finally {
+ rmSync(fixture, { recursive: true, force: true });
+ }
+});
+
test('the README shows the Shouts capture [I11,I13]', () => {
linkedInSection('Pullboard View', 'shouts.png', ['shouts', 'answered', 'heard', 'receipt', 'code reference']);
linkedInSection('Pullboard View', 'desktop.png', ['needs you', 'search', 'status bar']);
diff --git a/docs/shots/shouts.png b/docs/shots/shouts.png
index b288c4ac..768eb60d 100644
Binary files a/docs/shots/shouts.png and b/docs/shots/shouts.png differ
diff --git a/docs/shots/tour.svg b/docs/shots/tour.svg
index 44a1e05a..77f9bcd7 100644
--- a/docs/shots/tour.svg
+++ b/docs/shots/tour.svg
@@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" class="tour-card" viewBox="0 0 640 420" width="640" height="420" role="img" aria-labelledby="tour-title tour-description">
<title id="tour-title">The tour, in thirty seconds</title><desc id="tour-description">Eight steps: a real change is submitted, rejected, fixed, tested and accepted before it merges.</desc>
-<metadata id="tour-transcript">[{&quot;text&quot;:&quot;pullboard tour: a coordinator and two scripted agents run real commands on a throwaway repo. No model runs.&quot;,&quot;at&quot;:81},{&quot;text&quot;:&quot;1 The person approved one spec row. The coordinator files it as work.&quot;,&quot;at&quot;:3973},{&quot;text&quot;:&quot; G1: greet(name) returns \&quot;Hello, &lt;name&gt;!\&quot;; a blank name greets the world: \&quot;Hello, world!\&quot;&quot;,&quot;at&quot;:3973},{&quot;text&quot;:&quot; coordinator $ pullboard add app Greeting --specs G1 --criterion \&quot;greet() meets G1\&quot;&quot;,&quot;at&quot;:4383},{&quot;text&quot;:&quot; #1&quot;,&quot;at&quot;:4536},{&quot;text&quot;:&quot;2 A builder agent gets its own worktree in the app lane and claims the next item. Its criterion freezes.&quot;,&quot;at&quot;:5745},{&quot;text&quot;:&quot; coordinator $ pullboard worktree app&quot;,&quot;at&quot;:6150},{&quot;text&quot;:&quot; made greeter-app-1 on branch app/1, joined as app-1 in the app lane&quot;,&quot;at&quot;:6548},{&quot;text&quot;:&quot; app-1 $ pullboard next&quot;,&quot;at&quot;:6956},{&quot;text&quot;:&quot; claimed #1: Greeting&quot;,&quot;at&quot;:7225},{&quot;text&quot;:&quot; criterion: greet() meets G1&quot;,&quot;at&quot;:7225},{&quot;text&quot;:&quot;3 It writes greet(), tests the happy path and submits. Its own gate is green.&quot;,&quot;at&quot;:8430},{&quot;text&quot;:&quot; app-1 $ git commit -q -m \&quot;feat(app): greet by name [G1]\&quot;&quot;,&quot;at&quot;:9252},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:10690},{&quot;text&quot;:&quot; submitted #1 at 4c2b69e3da47; gate green in 0s&quot;,&quot;at&quot;:11199},{&quot;text&quot;:&quot;4 A second agent checks out exactly that commit and tries the edge the builder skipped.&quot;,&quot;at&quot;:12400},{&quot;text&quot;:&quot; coordinator $ pullboard worktree review&quot;,&quot;at&quot;:12811},{&quot;text&quot;:&quot; made greeter-review-1 on branch review/1, joined as review-1 in the review lane&quot;,&quot;at&quot;:13080},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach 4c2b69e3da47&quot;,&quot;at&quot;:13489},{&quot;text&quot;:&quot; review-1 $ node -e \&quot;greet(&apos;&apos;)\&quot;&quot;,&quot;at&quot;:13910},{&quot;text&quot;:&quot; Hello, !&quot;,&quot;at&quot;:13940},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 reject --reason BEHAVIOR_MISMATCH --note \&quot;greet(&apos;&apos;) returns \\\&quot;Hello, !\\\&quot;; G1 says a blank name greets the world\&quot;&quot;,&quot;at&quot;:14347},{&quot;text&quot;:&quot; rejected #1: BEHAVIOR_MISMATCH; it is open again for rework&quot;,&quot;at&quot;:14558},{&quot;text&quot;:&quot;5 The builder&apos;s next session starts from the board, not from memory.&quot;,&quot;at&quot;:15767},{&quot;text&quot;:&quot; app-1 $ pullboard resume&quot;,&quot;at&quot;:16175},{&quot;text&quot;:&quot; sent back: #1 BEHAVIOR_MISMATCH by review-1: greet(&apos;&apos;) returns \&quot;Hello, !\&quot;; G1 says a blank name greets the world&quot;,&quot;at&quot;:16437},{&quot;text&quot;:&quot; next: pullboard claim 1, fix what the verifier found, and submit again&quot;,&quot;at&quot;:16437},{&quot;text&quot;:&quot;6 It fixes the edge, adds a test that pins it, and submits a new commit.&quot;,&quot;at&quot;:17637},{&quot;text&quot;:&quot; app-1 $ pullboard claim 1&quot;,&quot;at&quot;:18043},{&quot;text&quot;:&quot; claimed #1 until 2026-10-06T14:00:00.000Z; criterion frozen as a26fca30b8d4&quot;,&quot;at&quot;:18263},{&quot;text&quot;:&quot; app-1 $ git commit -q -am \&quot;fix(app): a blank name greets the world [G1]\&quot;&quot;,&quot;at&quot;:18668},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:19488},{&quot;text&quot;:&quot; submitted #1 at 68f78e1c728d; gate green in 0s&quot;,&quot;at&quot;:19871},{&quot;text&quot;:&quot;7 The verifier breaks the fix on purpose, to prove the new test can fail, then restores it and accepts.&quot;,&quot;at&quot;:21080},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach 68f78e1c728d&quot;,&quot;at&quot;:21483},{&quot;text&quot;:&quot; review-1 $ node --test # with the fix removed&quot;,&quot;at&quot;:21908},{&quot;text&quot;:&quot; # pass 1&quot;,&quot;at&quot;:21978},{&quot;text&quot;:&quot; # fail 1&quot;,&quot;at&quot;:21978},{&quot;text&quot;:&quot; review-1 $ git checkout -- src/greet.mjs&quot;,&quot;at&quot;:22379},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 accept --note \&quot;removed the blank-name fix: its new test failed; restored, both pass\&quot;&quot;,&quot;at&quot;:22800},{&quot;text&quot;:&quot; verified #1: CRITERION_MET&quot;,&quot;at&quot;:23038},{&quot;text&quot;:&quot;8 The coordinator merges it. The ledger is the receipt.&quot;,&quot;at&quot;:24248},{&quot;text&quot;:&quot; coordinator $ git merge -q --ff-only app/1&quot;,&quot;at&quot;:24650},{&quot;text&quot;:&quot; coordinator $ pullboard merged 1 68f78e1c728d&quot;,&quot;at&quot;:25087},{&quot;text&quot;:&quot; #1 merged as 68f78e1c728d&quot;,&quot;at&quot;:25207},{&quot;text&quot;:&quot; coordinator $ pullboard ledger&quot;,&quot;at&quot;:25609},{&quot;text&quot;:&quot; 1 verified by a second agent · 0 awaiting verification · 1 rejection along the way&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; | # | Lane | Item | Spec | Built by | Verified by | Commit | Merged |&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; | 1 | app | Greeting | G1 | app-1 | review-1 | 68f78e1c728d | 68f78e1c728d |&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot;Nothing shipped until a second agent verified it.&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; Look around: cd greeter &amp;&amp; pullboard log&quot;,&quot;at&quot;:25698}]</metadata>
+<metadata id="tour-transcript">[{&quot;text&quot;:&quot;pullboard tour: a coordinator and two scripted agents run real commands on a throwaway repo. No model runs.&quot;,&quot;at&quot;:147},{&quot;text&quot;:&quot;1 The person approved one spec row. The coordinator files it as work.&quot;,&quot;at&quot;:4396},{&quot;text&quot;:&quot; G1: greet(name) returns \&quot;Hello, &lt;name&gt;!\&quot;; a blank name greets the world: \&quot;Hello, world!\&quot;&quot;,&quot;at&quot;:4396},{&quot;text&quot;:&quot; coordinator (unknown) $ pullboard add app Greeting --specs G1 --criterion \&quot;greet() meets G1\&quot;&quot;,&quot;at&quot;:4800},{&quot;text&quot;:&quot; #1&quot;,&quot;at&quot;:4922},{&quot;text&quot;:&quot;2 A builder agent gets its own worktree in the app lane and claims the next item. Its criterion freezes.&quot;,&quot;at&quot;:6130},{&quot;text&quot;:&quot; coordinator (unknown) $ pullboard worktree app --model Scripted&quot;,&quot;at&quot;:6536},{&quot;text&quot;:&quot; made greeter-app-1 on branch app/1, joined as app-1 (Scripted) in the app lane&quot;,&quot;at&quot;:7075},{&quot;text&quot;:&quot; app-1 (Scripted) $ pullboard next&quot;,&quot;at&quot;:7482},{&quot;text&quot;:&quot; claimed #1: Greeting&quot;,&quot;at&quot;:7716},{&quot;text&quot;:&quot; criterion: greet() meets G1&quot;,&quot;at&quot;:7716},{&quot;text&quot;:&quot;3 It writes greet(), tests the happy path and submits. Its own gate is green.&quot;,&quot;at&quot;:8926},{&quot;text&quot;:&quot; app-1 (Scripted) $ git commit -q -m \&quot;feat(app): greet by name [G1]\&quot;&quot;,&quot;at&quot;:9764},{&quot;text&quot;:&quot; app-1 (Scripted) $ pullboard submit 1&quot;,&quot;at&quot;:11093},{&quot;text&quot;:&quot; submitted #1 at d0adb74aac66; no item check; full gate: affected-test selection is not enabled for this project; gate green in 0s; timing (node): wall 0.00s, slot wait 0.00s; timing profile: greeter/.git/worktrees/greeter-app-1/pullboard-submit.log.profile.json&quot;,&quot;at&quot;:12231},{&quot;text&quot;:&quot;4 A second agent checks out exactly that commit and tries the edge the builder skipped.&quot;,&quot;at&quot;:13434},{&quot;text&quot;:&quot; coordinator (unknown) $ pullboard worktree review --model Scripted&quot;,&quot;at&quot;:13834},{&quot;text&quot;:&quot; made greeter-review-1 on branch review/1, joined as review-1 (Scripted) in the review lane&quot;,&quot;at&quot;:14082},{&quot;text&quot;:&quot; review-1 (Scripted) $ git switch -q --detach d0adb74aac66&quot;,&quot;at&quot;:14491},{&quot;text&quot;:&quot; review-1 (Scripted) $ node -e \&quot;greet(&apos;&apos;)\&quot;&quot;,&quot;at&quot;:14916},{&quot;text&quot;:&quot; Hello, !&quot;,&quot;at&quot;:14962},{&quot;text&quot;:&quot; review-1 (Scripted) $ pullboard verify 1 reject --reason BEHAVIOR_MISMATCH --note \&quot;greet(&apos;&apos;) returns \\\&quot;Hello, !\\\&quot;; G1 says a blank name greets the world\&quot;&quot;,&quot;at&quot;:15370},{&quot;text&quot;:&quot; rejected #1: BEHAVIOR_MISMATCH; it is open again for rework&quot;,&quot;at&quot;:15561},{&quot;text&quot;:&quot;5 The builder&apos;s next session starts from the board, not from memory.&quot;,&quot;at&quot;:16769},{&quot;text&quot;:&quot; app-1 (Scripted) $ pullboard resume&quot;,&quot;at&quot;:17171},{&quot;text&quot;:&quot; sent back: #1 BEHAVIOR_MISMATCH by review-1 (Scripted): greet(&apos;&apos;) returns \&quot;Hello, !\&quot;; G1 says a blank name greets the world&quot;,&quot;at&quot;:17310},{&quot;text&quot;:&quot; next: pullboard claim 1, fix what the verifier found, and submit again&quot;,&quot;at&quot;:17310},{&quot;text&quot;:&quot;6 It fixes the edge, adds a test that pins it, and submits a new commit.&quot;,&quot;at&quot;:18510},{&quot;text&quot;:&quot; app-1 (Scripted) $ pullboard claim 1&quot;,&quot;at&quot;:18911},{&quot;text&quot;:&quot; claimed #1 until 2026-10-06T15:15:00.000Z; criterion frozen as 5a61189707ed&quot;,&quot;at&quot;:19102},{&quot;text&quot;:&quot; app-1 (Scripted) $ git commit -q -am \&quot;fix(app): a blank name greets the world [G1]\&quot;&quot;,&quot;at&quot;:19506},{&quot;text&quot;:&quot; app-1 (Scripted) $ pullboard submit 1&quot;,&quot;at&quot;:20255},{&quot;text&quot;:&quot; submitted #1 at 226f5e8fecb9; no item check; full gate: affected-test selection is not enabled for this project; gate green in 0s; timing (node): wall 0.00s, slot wait 0.00s; timing profile: greeter/.git/worktrees/greeter-app-1/pullboard-submit.log.profile.json&quot;,&quot;at&quot;:20770},{&quot;text&quot;:&quot;7 The verifier breaks the fix on purpose, to prove the new test can fail, then restores it and accepts.&quot;,&quot;at&quot;:21972},{&quot;text&quot;:&quot; review-1 (Scripted) $ git switch -q --detach 226f5e8fecb9&quot;,&quot;at&quot;:22375},{&quot;text&quot;:&quot; review-1 (Scripted) $ node --test # with the fix removed&quot;,&quot;at&quot;:22802},{&quot;text&quot;:&quot; # pass 1&quot;,&quot;at&quot;:22891},{&quot;text&quot;:&quot; # fail 1&quot;,&quot;at&quot;:22891},{&quot;text&quot;:&quot; review-1 (Scripted) $ git checkout -- src/greet.mjs&quot;,&quot;at&quot;:23300},{&quot;text&quot;:&quot; review-1 (Scripted) $ pullboard verify 1 accept --note \&quot;removed the blank-name fix: its new test failed; restored, both pass\&quot;&quot;,&quot;at&quot;:23717},{&quot;text&quot;:&quot; verified #1: CRITERION_MET; no frozen check ran&quot;,&quot;at&quot;:23937},{&quot;text&quot;:&quot;8 The coordinator merges it. The ledger is the receipt.&quot;,&quot;at&quot;:25140},{&quot;text&quot;:&quot; coordinator (unknown) $ git merge -q --ff-only app/1&quot;,&quot;at&quot;:25543},{&quot;text&quot;:&quot; coordinator (unknown) $ pullboard merged 1 226f5e8fecb9&quot;,&quot;at&quot;:25964},{&quot;text&quot;:&quot; #1 merged as 226f5e8fecb9&quot;,&quot;at&quot;:26129},{&quot;text&quot;:&quot; coordinator (unknown) $ pullboard ledger&quot;,&quot;at&quot;:26535},{&quot;text&quot;:&quot; 1 verified by a second agent · 0 awaiting verification · 1 rejection along the way&quot;,&quot;at&quot;:26639},{&quot;text&quot;:&quot; | # | Lane | Item | Spec | Built by | Verified by | Check | Commit | Merged |&quot;,&quot;at&quot;:26639},{&quot;text&quot;:&quot; | 1 | app | Greeting | G1 | app-1 (Scripted) | review-1 (Scripted) | unchecked | 226f5e8fecb9 | 226f5e8fecb9 |&quot;,&quot;at&quot;:26639},{&quot;text&quot;:&quot;Nothing shipped until a second agent verified it.&quot;,&quot;at&quot;:26650},{&quot;text&quot;:&quot; Look around: cd greeter &amp;&amp; pullboard log&quot;,&quot;at&quot;:26650},{&quot;text&quot;:&quot;see it: pullboard view&quot;,&quot;at&quot;:26650}]</metadata>
<style>
.tour-card{--surface:#ffffff;--line:#dce5df;--ink:#101714;--muted:#4f5b55;--faint:#65746b;--blue:#315f8f;--violet:#6547bc;--green:#087546;--green-soft:#dff4e8;--red:#b33026;--red-soft:#fce8e5;--highlight:#edf7f1;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
@media(prefers-color-scheme:dark){.tour-card{--surface:#111714;--line:#34443a;--ink:#e9eeeb;--muted:#b6c3bc;--faint:#9cafa3;--blue:#80bfff;--violet:#c1aeff;--green:#61e6b1;--green-soft:#163829;--red:#ff8a80;--red-soft:#321917;--highlight:#193426}}