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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(docs): declare every demo agent model at registration [I11]
Corey Olsonebea57e4844d
diff --git a/docs/demo/api/v1/boards/demo-board/events.json b/docs/demo/api/v1/boards/demo-board/events.jsonindex 2e20559a..d6595cf9 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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d\",\"model\":\"Demo builder\"}"},{"event_id":14,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"e555696eb67bd417e6fe38b177c46b9ca0855598\",\"tree\":\"00375991105c170844ccec1e908833d30dea44b2\",\"policyCommit\":\"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae\",\"model\":\"Demo builder\"}"},{"event_id":15,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"e555696eb67bd417e6fe38b177c46b9ca0855598\",\"model\":\"Demo reviewer\"}"},{"event_id":16,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d\",\"model\":\"Demo builder\"}"},{"event_id":17,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"tree\":\"2bfec03780ab37641c641dea5d4dda497215cd30\",\"policyCommit\":\"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae\",\"model\":\"Demo builder\"}"},{"event_id":18,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":19,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"model\":\"unknown\"}"},{"event_id":20,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"1c3f00403511133a16740979665d935519bc3fb4112bfe555456326fa7d3c3f8\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"4c04a8bd69ae9a7b63754bd010ed85908d8f3472\",\"tree\":\"2f67d5e38c1618b2c5a744b7099ccbc24e26d9ec\",\"policyCommit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"model\":\"Demo builder\"}"},{"event_id":22,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"c8d8817a23dda32335dac8ea89bca6759cac5340946822f87d40cfa9a2f58425\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:00: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:00: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:00:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"unknown\"}"},{"event_id":26,"event_at":"2026-10-06T12:00: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-06T12:00: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-06T12:00: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\":\"unknown\"}"},{"event_id":29,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"unknown\"}"}],"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:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":14,"event_at":"2026-10-06T12:00: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:00:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"model\":\"Demo reviewer\"}"},{"event_id":16,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":17,"event_at":"2026-10-06T12:00: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":18,"event_at":"2026-10-06T12:00: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:00: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:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:00: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:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"0c317be3420b78b86c2d584736b18ec93b80ffa5dcdf24af0763cea8baec330b\",\"model\":\"Demo builder\"}"},{"event_id":23,"event_at":"2026-10-06T12:00: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:00: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:00: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-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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.jsonindex cd06f141..ab2f875c 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","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":"unknown"}},{"type":"move","eventId":8,"kind":"withdraw","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"this example was dropped","model":"unknown"}}]},{"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":"unknown"}}]},{"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:00: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:00: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":"unknown"}},{"type":"move","eventId":22,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"c8d8817a23dda32335dac8ea89bca6759cac5340946822f87d40cfa9a2f58425","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":"4c04a8bd69ae9a7b63754bd010ed85908d8f3472","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":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00: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":"unknown"}},{"type":"move","eventId":20,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"1c3f00403511133a16740979665d935519bc3fb4112bfe555456326fa7d3c3f8","model":"Demo builder"}},{"type":"move","eventId":21,"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"4c04a8bd69ae9a7b63754bd010ed85908d8f3472","tree":"2f67d5e38c1618b2c5a744b7099ccbc24e26d9ec","policyCommit":"8ddbacd4346ede1acbf801eede5de814799d3738","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":"unknown"}}]},{"id":1,"title":"Reviewed and accepted","lane":"app","status":"verified","route":"strong","owner":"app-1","reviewer":null,"reviewUntil":null,"builtBy":"app-1","verifiedBy":"review-1","specs":["G1"],"criterion":"The demo item is accepted after review.","brief":"","commit":"8ddbacd4346ede1acbf801eede5de814799d3738","merged":"8ddbacd4346ede1acbf801eede5de814799d3738","blockedBy":[],"updatedAt":"2026-10-06T12:00: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:00:00.000Z","commit":"8ddbacd4346ede1acbf801eede5de814799d3738"},"verdicts":[{"decision":"REJECT","reason":"BEHAVIOR_MISMATCH","note":"The example skipped an edge; revise it before merging.","by":"review-1","at":"2026-10-06T12:00:00.000Z","commit":"e555696eb67bd417e6fe38b177c46b9ca0855598"},{"decision":"ACCEPT","reason":"CRITERION_MET","note":"Tried the edge that failed before; the revised demo passes.","by":"review-1","at":"2026-10-06T12:00:00.000Z","commit":"8ddbacd4346ede1acbf801eede5de814799d3738"}],"history":[{"kind":"add","by":"coordinator","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"reject","by":"review-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"accept","by":"review-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"merged","by":"coordinator","at":"2026-10-06T12:00: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":"unknown"}},{"type":"move","eventId":13,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d","model":"Demo builder"}},{"type":"move","eventId":14,"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"e555696eb67bd417e6fe38b177c46b9ca0855598","tree":"00375991105c170844ccec1e908833d30dea44b2","policyCommit":"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae","model":"Demo builder"}},{"type":"move","eventId":15,"kind":"reject","by":"review-1","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"BEHAVIOR_MISMATCH","commit":"e555696eb67bd417e6fe38b177c46b9ca0855598","model":"Demo reviewer"}},{"type":"move","eventId":16,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d","model":"Demo builder"}},{"type":"move","eventId":17,"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"8ddbacd4346ede1acbf801eede5de814799d3738","tree":"2bfec03780ab37641c641dea5d4dda497215cd30","policyCommit":"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae","model":"Demo builder"}},{"type":"move","eventId":18,"kind":"accept","by":"review-1","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"CRITERION_MET","commit":"8ddbacd4346ede1acbf801eede5de814799d3738","check":"none","model":"Demo reviewer"}},{"type":"move","eventId":19,"kind":"merged","by":"coordinator","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"8ddbacd4346ede1acbf801eede5de814799d3738","model":"unknown"}}]}],"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-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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@8ddbacd4346ede1acbf801eede5de814799d3738.","shout_at":"2026-10-06T12:00:00.000Z","shout_decision":0,"shout_answers":null,"shout_evidence_kind":"receipt","shout_evidence_outcome":"edge passes","shout_evidence_item":1,"shout_evidence_commit":"8ddbacd4346ede1acbf801eede5de814799d3738","shout_request":0,"shout_request_outcome":""}],"decisions":[],"asked":[],"events":[{"event_id":29,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"hold","item_id":null,"event_detail":"{\"lane\":\"review\",\"reason\":\"Waiting for the next demo item.\",\"model\":\"unknown\"}"},{"event_id":28,"event_at":"2026-10-06T12:00: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\":\"unknown\"}"},{"event_id":27,"event_at":"2026-10-06T12:00: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":26,"event_at":"2026-10-06T12:00: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":25,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"pass","item_id":null,"event_detail":"{\"shout\":3,\"to\":\"person\",\"decision\":true,\"request\":false,\"answers\":2,\"model\":\"unknown\"}"},{"event_id":24,"event_at":"2026-10-06T12:00: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":23,"event_at":"2026-10-06T12:00: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":22,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"c8d8817a23dda32335dac8ea89bca6759cac5340946822f87d40cfa9a2f58425\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":3,"event_detail":"{\"commit\":\"4c04a8bd69ae9a7b63754bd010ed85908d8f3472\",\"tree\":\"2f67d5e38c1618b2c5a744b7099ccbc24e26d9ec\",\"policyCommit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"model\":\"Demo builder\"}"},{"event_id":20,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"1c3f00403511133a16740979665d935519bc3fb4112bfe555456326fa7d3c3f8\",\"model\":\"Demo builder\"}"},{"event_id":19,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"model\":\"unknown\"}"},{"event_id":18,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"accept","item_id":1,"event_detail":"{\"reason\":\"CRITERION_MET\",\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"check\":\"none\",\"model\":\"Demo reviewer\"}"},{"event_id":17,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"8ddbacd4346ede1acbf801eede5de814799d3738\",\"tree\":\"2bfec03780ab37641c641dea5d4dda497215cd30\",\"policyCommit\":\"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae\",\"model\":\"Demo builder\"}"},{"event_id":16,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d\",\"model\":\"Demo builder\"}"},{"event_id":15,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"e555696eb67bd417e6fe38b177c46b9ca0855598\",\"model\":\"Demo reviewer\"}"},{"event_id":14,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"submit","item_id":1,"event_detail":"{\"commit\":\"e555696eb67bd417e6fe38b177c46b9ca0855598\",\"tree\":\"00375991105c170844ccec1e908833d30dea44b2\",\"policyCommit\":\"ba1ece80351bbea14e9882f3ee928fa3fab9f7ae\",\"model\":\"Demo builder\"}"},{"event_id":13,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"8b60e493995b7966a529dd9b70fcb2724d8de18802faa26252b0dfbea4ded72d\",\"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"},{"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\":\"unknown\"}"}],"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":null,"model":"unknown","displayName":"coordinator (unknown)","lastMoveAt":"2026-10-06T12:00: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-06T12:00: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:00:00.000Z"}],"holds":[{"hold_lane":"review","hold_reason":"Waiting for the next demo item.","hold_by":"coordinator","hold_at":"2026-10-06T12:00: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":"","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":"","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":"","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":"","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":"","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":"","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":"","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":"","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":"","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":"","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":"","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":"","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-06T12:00: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":5,"families":["claude","unknown"]}],"families":[{"name":"claude","agents":1,"moves":4},{"name":"codex","agents":1,"moves":9},{"name":"unknown","agents":3,"moves":14}],"flow":{"asOf":"2026-10-06T12:00:00.000Z","stages":{"build":{"count":2,"totalMinutes":0,"averageMinutes":0,"medianMinutes":0,"unmeasuredCompleted":0},"reviewWait":{"count":0,"totalMinutes":0,"averageMinutes":null,"medianMinutes":null,"unmeasuredCompleted":1},"review":{"count":0,"totalMinutes":0,"averageMinutes":null,"medianMinutes":null,"unmeasuredCompleted":1},"mergeWait":{"count":1,"totalMinutes":0,"averageMinutes":0,"medianMinutes":0,"unmeasuredCompleted":0}},"queues":{"open":{"size":2,"oldest":{"id":2,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"claimed":{"size":1,"oldest":{"id":4,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"submitted":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"accepted":{"size":0,"oldest":null}},"unreviewed":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"daily":[{"date":"2026-10-06","added":6,"merged":1}],"submitsPerMerged":3,"activeAgents":{"total":3,"agents":[{"id":"app-1","lane":"app","role":"builder"},{"id":"coordinator","lane":"coordinator","role":"coordinator"},{"id":"review-1","lane":"review","role":"verifier"}],"roles":{"builder":1,"verifier":1,"coordinator":1,"unknown":0},"lanes":{"app":1,"coordinator":1,"review":1}},"bottleneck":{"stage":null,"share":null,"completedItems":1,"fullyMeasuredCycles":0,"totalCycleMinutes":0,"lowConfidence":true,"message":"not enough measured flow to name a bottleneck (1 items completed since the beginning, none with every stage measured)","recommendation":null}}},"requests":[],"personRequests":[],"milestones":[]},"eventLogVersion":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:00: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:00: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":22,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00: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:00: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:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00: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":20,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3","model":"Demo builder"}},{"type":"move","eventId":21,"kind":"submit","by":"app-1","at":"2026-10-06T12:00: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":null,"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:00: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:00: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:00: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:00: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:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"reject","by":"review-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"accept","by":"review-1","at":"2026-10-06T12:00:00.000Z"},{"kind":"merged","by":"coordinator","at":"2026-10-06T12:00: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:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c","model":"Demo builder"}},{"type":"move","eventId":14,"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee","tree":"16fb55cb349917959f935976600f7bc009d17bec","policyCommit":"75ccb8d8ce8be604d248f88aafae71527b3ee97d","model":"Demo builder"}},{"type":"move","eventId":15,"kind":"reject","by":"review-1","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"BEHAVIOR_MISMATCH","commit":"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee","model":"Demo reviewer"}},{"type":"move","eventId":16,"kind":"claim","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"leaseUntil":"2026-10-06T14:00:00.000Z","digest":"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c","model":"Demo builder"}},{"type":"move","eventId":17,"kind":"submit","by":"app-1","at":"2026-10-06T12:00:00.000Z","detail":{"commit":"58301a9614355777cb1aee49eeac690b92701246","tree":"9996ab07a09fe406ce3d40cae7f22fb1351ec3b0","policyCommit":"75ccb8d8ce8be604d248f88aafae71527b3ee97d","model":"Demo builder"}},{"type":"move","eventId":18,"kind":"accept","by":"review-1","at":"2026-10-06T12:00:00.000Z","detail":{"reason":"CRITERION_MET","commit":"58301a9614355777cb1aee49eeac690b92701246","check":"none","model":"Demo reviewer"}},{"type":"move","eventId":19,"kind":"merged","by":"coordinator","at":"2026-10-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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-06T12:00: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:00: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":29,"event_at":"2026-10-06T12:00: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":28,"event_at":"2026-10-06T12:00: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":27,"event_at":"2026-10-06T12:00: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":26,"event_at":"2026-10-06T12:00: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":25,"event_at":"2026-10-06T12:00: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":24,"event_at":"2026-10-06T12:00: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":23,"event_at":"2026-10-06T12:00: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":22,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":4,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"0c317be3420b78b86c2d584736b18ec93b80ffa5dcdf24af0763cea8baec330b\",\"model\":\"Demo builder\"}"},{"event_id":21,"event_at":"2026-10-06T12:00: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":20,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":3,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"ada847696577b3cae2423a7a72c341907c11c2a819d11d9e8bc3f77492d557e3\",\"model\":\"Demo builder\"}"},{"event_id":19,"event_at":"2026-10-06T12:00:00.000Z","event_by":"coordinator","event_kind":"merged","item_id":1,"event_detail":"{\"commit\":\"58301a9614355777cb1aee49eeac690b92701246\",\"model\":\"Demo coordinator\"}"},{"event_id":18,"event_at":"2026-10-06T12:00: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":17,"event_at":"2026-10-06T12:00: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":16,"event_at":"2026-10-06T12:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00:00.000Z\",\"digest\":\"1bbcf68a3af2dd34481968b16094670ca4d470da2d6103af96dbc22a651c552c\",\"model\":\"Demo builder\"}"},{"event_id":15,"event_at":"2026-10-06T12:00:00.000Z","event_by":"review-1","event_kind":"reject","item_id":1,"event_detail":"{\"reason\":\"BEHAVIOR_MISMATCH\",\"commit\":\"9d2569c4acd9037b7eb5fe4029ec2b2a631554ee\",\"model\":\"Demo reviewer\"}"},{"event_id":14,"event_at":"2026-10-06T12:00: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:00:00.000Z","event_by":"app-1","event_kind":"claim","item_id":1,"event_detail":"{\"leaseUntil\":\"2026-10-06T14:00: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-06T12:00: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-06T12:00: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:00:00.000Z"}],"holds":[{"hold_lane":"review","hold_reason":"Waiting for the next demo item.","hold_by":"coordinator","hold_at":"2026-10-06T12:00: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-06T12:00: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":5,"families":["claude","unknown"]}],"families":[{"name":"claude","agents":1,"moves":4},{"name":"codex","agents":1,"moves":9},{"name":"unknown","agents":3,"moves":14}],"flow":{"asOf":"2026-10-06T12:00:00.000Z","stages":{"build":{"count":2,"totalMinutes":0,"averageMinutes":0,"medianMinutes":0,"unmeasuredCompleted":0},"reviewWait":{"count":0,"totalMinutes":0,"averageMinutes":null,"medianMinutes":null,"unmeasuredCompleted":1},"review":{"count":0,"totalMinutes":0,"averageMinutes":null,"medianMinutes":null,"unmeasuredCompleted":1},"mergeWait":{"count":1,"totalMinutes":0,"averageMinutes":0,"medianMinutes":0,"unmeasuredCompleted":0}},"queues":{"open":{"size":2,"oldest":{"id":2,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"claimed":{"size":1,"oldest":{"id":4,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"submitted":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"accepted":{"size":0,"oldest":null}},"unreviewed":{"size":1,"oldest":{"id":3,"since":"2026-10-06T12:00:00.000Z","ageMinutes":0}},"daily":[{"date":"2026-10-06","added":6,"merged":1}],"submitsPerMerged":3,"activeAgents":{"total":3,"agents":[{"id":"app-1","lane":"app","role":"builder"},{"id":"coordinator","lane":"coordinator","role":"coordinator"},{"id":"review-1","lane":"review","role":"verifier"}],"roles":{"builder":1,"verifier":1,"coordinator":1,"unknown":0},"lanes":{"app":1,"coordinator":1,"review":1}},"bottleneck":{"stage":null,"share":null,"completedItems":1,"fullyMeasuredCycles":0,"totalCycleMinutes":0,"lowConfidence":true,"message":"not enough measured flow to name a bottleneck (1 items completed since the beginning, none with every stage measured)","recommendation":null}}},"requests":[],"personRequests":[],"milestones":[]},"eventLogVersion":1}diff --git a/docs/demo/index.html b/docs/demo/index.htmlindex 12d78000..92091a38 100644--- a/docs/demo/index.html+++ b/docs/demo/index.html@@ -53,8 +53,10 @@<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 list-card"><ol class="needs" id="needs" aria-label="What needs you" hidden></ol><ol class="chain" id="chain" aria-label="Items"></ol></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><aside class="card-panel detail" aria-label="Item detail"><div id="detail"></div>@@ -121,6 +123,7 @@ const routed = false;/** The tab the address names: the Roadmap at its own address, or null at the board's. */function addressTab() {if (typeof location === 'undefined') return null;+ if (location.hash === '#items/pipeline') return 'items';return (routed ? location.pathname === '/roadmap' : location.hash === '#roadmap') ? 'roadmap' : null;}/** The tab the board's own address shows: the one last picked there, or Items. */@@ -128,7 +131,8 @@ function homeTab() {const kept = keep('pb.tab');return kept && kept !== 'roadmap' ? kept : 'items';}-const view = { root: keep('pb.project'), tab: addressTab() || homeTab(), 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', open: {} };+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', open: {} };+let switchGeneration = 0;if (snapshot) view.state = 'all';let data = null;let seen = '';@@ -187,6 +191,13 @@ const dayRules = (rows, at, row) => rows.map((x, i) => {return (day === before ? '' : '<div class="day-rule" role="separator"><span>' + dayName(at(x)) + '</span></div>') + row(x);}).join('');const firstLine = (text) => String(text ?? '').split('\n').map((line) => line.trim()).find(Boolean) || '';+/** Omit a duplicated leading verdict code from rendered copy while preserving the recorded note. */+function visibleVerdictNote(reason, note) {+ const text = String(note ?? '');+ const code = String(reason ?? '');+ const remainder = text.slice(code.length);+ return code && text.startsWith(code) && (!remainder || /^\s/u.test(remainder)) ? remainder.trimStart() : text;+}// The latest verdict is a reject and no accept followed: open again, being reworked, resubmitted, or// withdrawn after it.const rejected = (i) => i.status !== 'verified' && !!i.verdict && i.verdict.decision === 'REJECT';@@ -206,7 +217,7 @@ function shoutAgentName(id) {return '<span class="agent-label' + (prefix ? ' prefix' : '') + '" title="' + esc(name) + '" role="group" aria-label="' + esc(name) + '">' + (prefix ? label + address : address + label) + '</span>';}/** Render a review note with escaped text and references bound to the selected board. */-const verdictHtml = (v, titles) => '<div class="verdict ' + (v.decision === 'ACCEPT' ? 'yes' : 'no') + '"><b>' + esc(v.decision) + ' ' + esc(v.reason) + '</b><span class="by">' + esc(agentName(v.by)) + ' · ' + when(v.at) + ' · at ' + esc(String(v.commit || '').slice(0, 12)) + '</span><div class="note">' + linked(v.note, titles) + '</div></div>';+const verdictHtml = (v, titles) => '<div class="verdict ' + (v.decision === 'ACCEPT' ? 'yes' : 'no') + '"><b>' + esc(v.decision) + ' ' + esc(v.reason) + '</b><span class="by">' + esc(agentName(v.by)) + ' · ' + when(v.at) + ' · at ' + esc(String(v.commit || '').slice(0, 12)) + '</span><div class="note">' + linked(visibleVerdictNote(v.reason, v.note), titles) + '</div></div>';const stateOf = (i) => i.status === 'claimed' ? 'building' : i.status === 'submitted' ? 'verify' : i.status === 'verified' ? 'verified' : i.status === 'withdrawn' ? 'withdrawn' : i.verdict && i.verdict.decision === 'REJECT' ? 'back' : 'open';const STATES = { building: ['building', 'busy'], verify: ['to verify', 'warn'], back: ['sent back', 'no'], verified: ['verified', 'ok'], open: ['unclaimed', 'free'], withdrawn: ['withdrawn', ''] };const chip = (s) => '<span class="chip ' + STATES[s][1] + '">' + STATES[s][0] + '</span>';@@ -317,10 +328,14 @@ function factCodeRef(ref) {return ref.path + ':' + lines + '@' + ref.commit;}const tone = (s) => s === 'approved' ? 'ok' : s === 'pending' ? 'no' : s === 'draft' ? 'warn' : '';-/** A doctrine rule's source, with a version only when it comes from the shipped standard. */-// Where a rule comes from, in words: Pullboard's standard rules, or this repo's own; the standard's version is on hover.-const ruleSource = (row) => row.origin === 'standard' ? 'From Pullboard' : 'This repo';-const ruleSourceTitle = (row) => row.origin === 'standard' ? 'Pullboard standard rules, version ' + row.version : 'Written in this repo';+/** Name a rule's actual packaged version or its repository source, including explicit overrides. */+const ruleSource = (row) => row.standardVersion != null ? 'Pullboard v' + row.standardVersion + (row.overrides ? row.status === 'wont' ? ', declined here' : ', overridden here' : '') : 'this repo';+/** Keep the full source label available when a narrow row clips it. */+const ruleSourceTitle = (row) => ruleSource(row);+/** Render the two-line record shared by Items, Spec and Doctrine, with one grid and type hierarchy. */+function recordRow({ tag = 'li', classes = '', attributes, title, state, primary, secondary, rightTop = '', rightBottom = '' }) {+ return '<' + tag + ' class="' + (tag === 'div' ? 'srow ' : '') + 'row s-' + state + (classes ? ' ' + classes.trim() : '') + '" ' + attributes + ' title="' + esc(title) + '"><span class="dot ' + state + '"></span><div><div class="t srow-text">' + primary + '</div>' + (rightTop ? '<span class="row-age">' + rightTop + '</span>' : '') + '<div class="meta">' + secondary + '</div></div>' + rightBottom + '</' + tag + '>';+}const count = (n, one, many = one) => n + ' ' + (n === 1 ? one : many);// What needs the person in a project, as its Needs-you list counts it: only the person's calls (B26),// the decisions passed up to them, spec rows waiting for them, and held lanes, which only the main@@ -368,6 +383,36 @@ function replay(item) {return steps;}+/** A recorded merge, rather than an accept, is the end of the shipping pipeline. */+function pipelineStage(item) {+ if (item.merged) return 'merged';+ return item.status === 'verified' ? 'accepted' : item.status;+}++/** The last arrival in this stage; edits, review reservations and renewals do not restart its age. */+function pipelineSince(item) {+ if (item.merged) return item.history.findLast((event) => event.kind === 'merged')?.at || item.updatedAt;+ const arrival = replay(item).findLast((step) => step.move && step.from !== step.move.to);+ // Lapses are inferred, but the native claim receipt records the deadline that caused them.+ if (arrival?.move?.verb === 'lapse') {+ const claim = item.thread?.findLast((entry) => entry.type === 'move' && ['claim', 'renew'].includes(entry.kind));+ if (claim?.detail?.leaseUntil) return claim.detail.leaseUntil;+ }+ return arrival ? arrival.at || item.updatedAt : item.history.find((event) => event.kind === 'add')?.at || item.updatedAt;+}++/** Render the same board's items in lifecycle order, retaining every item as a detail link. */+function pipelineCard(items) {+ const stages = [['open', 'Not started'], ['claimed', 'Building'], ['submitted', 'Waiting for review'], ['accepted', 'Accepted, waiting to merge'], ['merged', 'Merged']];+ return stages.map(([stage, label]) => {+ const rows = items.filter((item) => pipelineStage(item) === stage).sort((a, b) => pipelineSince(a).localeCompare(pipelineSince(b)) || a.id - b.id);+ const oldest = rows[0];+ return '<li class="card-panel pipeline-stage" data-pipeline-stage="' + stage + '"><header><h2>' + label + '</h2><b data-stage-count="' + stage + '">' + rows.length + '</b></header>'+ + (oldest ? '<p class="pipeline-oldest">Oldest <button class="ref" type="button" data-item="' + oldest.id + '">#' + oldest.id + '</button> · ' + age(pipelineSince(oldest)) + ' in this stage</p>' : '<p class="pipeline-oldest">No items</p>')+ + '<ul>' + rows.map((item) => '<li><button class="pipeline-item' + (view.item === item.id ? ' on' : '') + '" type="button" data-item="' + item.id + '"><span>#' + item.id + '</span><span>' + esc(item.title) + '</span></button></li>').join('') + '</ul></li>';+ }).join('');+}+/** How often each move was made on this board, keyed from>to:verb, from every item's replay. */function moveCounts(items) {const counts = new Map();@@ -677,14 +722,50 @@ function boardSummary(board, state) {};}-/** Render the event-log totals already supplied by the shared stats API [V2]. */+/** Format the API's measured minutes without deriving new times from events [N26]. */+function flowMinutes(value) {+ return value === null || value === undefined ? 'unmeasured' : Number(value.toFixed(2)) + ' min';+}++/** Render the four stages, live queues and single recommendation supplied by stats [N26]. */+function proofFlowCard(flow) {+ if (!flow) return '';+ const stages = [['build', 'Build'], ['reviewWait', 'Review wait'], ['review', 'Review'], ['mergeWait', 'Merge wait']];+ const queues = [['open', 'Open'], ['claimed', 'Building'], ['submitted', 'In review'], ['accepted', 'Awaiting merge']];+ const averages = stages.map(([key, label]) => {+ const average = flow.stages[key].averageMinutes;+ return '<div><span>' + label + ' average</span><b data-stage="' + key + '" data-value="' + esc(average ?? '') + '">' + esc(flowMinutes(average)) + '</b></div>';+ }).join('');+ const waiting = queues.map(([key, label]) => {+ const queue = flow.queues[key];+ const oldest = queue.oldest;+ return '<div><span>' + label + ' queue</span><b data-queue="' + key + '" data-value="' + esc(queue.size) + '">' + esc(queue.size) + '</b>'+ + '<small data-oldest="' + key + '" data-value="' + esc(oldest?.ageMinutes ?? '') + '">Oldest: ' + (oldest ? '#' + esc(oldest.id) + ' · ' + esc(flowMinutes(oldest.ageMinutes)) : 'none') + '</small></div>';+ }).join('');+ const bottleneck = flow.bottleneck;+ return '<div class="proof-stats-flow"><div class="proof-stats-grid">' + averages + waiting + '</div>'+ + '<p class="proof-stats-bottleneck"><b>Bottleneck: </b><span data-flow="bottleneck">' + esc(bottleneck.message) + '</span>'+ + (bottleneck.recommendation ? ' · <span data-flow="recommendation">' + esc(bottleneck.recommendation) + '</span>' : '') + '</p></div>';+}++/** Format a counted noun for the proof stats detail.+ * @param {number} count+ * @param {string} singular+ * @param {string} plural+ * @returns {string}+ */+function counted(count, singular, plural) {+ return count + ' ' + (count === 1 ? singular : plural);+}++/** Render the event-log totals already supplied by the shared stats API [V2,N26]. */function proofStatsCard(stats) {if (!stats) return '<span class="muted">Stats unavailable</span>';const families = stats.families || [];const agents = stats.agents || [];const percentage = (Number(stats.rejectionShare) * 100).toFixed(1) + '%';- const familyDetail = families.map((family) => family.name + ' (' + family.agents + ' agents, ' + family.moves + ' moves)').join(' · ') || 'none';- const agentDetail = agents.map((agent) => agent.id + ' (' + agent.families.join('/') + '; ' + agent.moves + ' moves)').join(' · ') || 'none';+ const familyDetail = families.map((family) => family.name + ' (' + counted(family.agents, 'agent', 'agents') + ', ' + counted(family.moves, 'move', 'moves') + ')').join(' · ') || 'none';+ const agentDetail = agents.map((agent) => agent.id + ' (' + agent.families.join('/') + '; ' + counted(agent.moves, 'move', 'moves') + ')').join(' · ') || 'none';/** Format an API timestamp for the card without recalculating event statistics.* @param {string|number|null} value* @returns {string}@@ -702,7 +783,7 @@ function proofStatsCard(stats) {+ '<div><span>Agents</span><b data-stat="agentCount" data-value="' + esc(stats.agentCount) + '">' + esc(stats.agentCount) + '</b></div>'+ '<div><span>Families</span><b data-stat="familyCount" data-value="' + esc(stats.familyCount) + '">' + esc(stats.familyCount) + '</b></div>'+ '<div><span>First · latest</span><small><time data-stat="firstEventAt" data-value="' + esc(firstAt) + '" datetime="' + esc(firstAt) + '">' + esc(dateText(firstAt)) + '</time> · <time data-stat="lastEventAt" data-value="' + esc(lastAt) + '" datetime="' + esc(lastAt) + '">' + esc(dateText(lastAt)) + '</time></small></div>'- + '</div><div class="proof-stats-detail">'+ + '</div>' + proofFlowCard(stats.flow) + '<div class="proof-stats-detail">'+ '<p><b>Families:</b> ' + esc(familyDetail) + '</p><p><b>Agents:</b> ' + esc(agentDetail) + '</p></div>';}@@ -988,7 +1069,7 @@ function renderSide() {* @param {boolean} allowLinks* @returns {string}*/- function inline(text, titles, allowLinks = true) { return String(text ?? '').split(/(`[^`]*`|(?:[^\s:@()[\]{}"'`]+)?:\d+(?:-\d+)?@[0-9a-f]{0,40}|pullboard (?:hook pre-merge-commit|milestone remove|prompt decompose|spec signers add|hook commit-msg|hook pre-commit|milestone items|milestone edit|milestone move|prompt signoff|hook pre-push|milestone add|prompt review|prompt verify|relay devices|relay recover|relay revoke|relay tokens|spec approve|spec decline|spec signers|spec signoff|prompt plan|view export|relay join|relay pair|spec apply|spec check|spec unmet|decisions|lifecycle|milestone|relay off|resources|spec show|spec view|escalate|refreeze|relay on|settings|takeover|withdraw|worktree|release|roadmap|version|answer|doctor|export|forget|import|ledger|merged|prompt|reopen|resume|skills|status|submit|verify|whoami|check|claim|hooks|inbox|lanes|relay|serve|shout|stats|sweep|done|edit|fact|gate|help|hold|hook|init|join|land|list|next|pass|show|spec|tour|view|add|log|run)(?![\w-])(?: (?:--?[\w-]+|\d+|#\d+|"[^"\n]*"|[A-Z][A-Z0-9_]*|[\w-]*[\/.:@][^\s"]*|[a-z]+-\d+)(?![\w-]))*|--[\w-]+|(?:\/|\.\.?\/|[\w.-]+\/)\w[\w./-]*\.[A-Za-z0-9]+|\b[0-9a-fA-F]{7,40}\b|#\d+)/g).map((part, n, parts) => {+ function inline(text, titles, allowLinks = true) { return String(text ?? '').split(/(`[^`]*`|(?:[^\s:@()[\]{}"'`]+)?:\d+(?:-\d+)?@[0-9a-f]{0,40}|pullboard (?:hook pre-merge-commit|join coordinator|milestone remove|prompt decompose|spec signers add|hook commit-msg|hook pre-commit|milestone items|milestone edit|milestone move|prompt signoff|hook pre-push|milestone add|prompt review|prompt verify|relay devices|relay recover|relay revoke|relay tokens|spec approve|spec decline|spec signers|spec signoff|prompt plan|view export|relay join|relay pair|spec apply|spec check|spec unmet|decisions|lifecycle|milestone|relay off|resources|spec show|spec view|escalate|refreeze|relay on|settings|takeover|withdraw|worktree|release|roadmap|version|answer|doctor|export|forget|import|ledger|merged|prompt|reopen|resume|skills|status|submit|verify|whoami|check|claim|hooks|inbox|lanes|relay|serve|shout|stats|sweep|done|edit|fact|gate|help|hold|hook|init|join|land|list|next|pass|show|spec|tour|view|add|log|run)(?![\w-])(?: (?:--?[\w-]+|\d+|#\d+|"[^"\n]*"|[A-Z][A-Z0-9_]*|[\w-]*[\/.:@][^\s"]*|[a-z]+-\d+)(?![\w-]))*|--[\w-]+|(?:\/|\.\.?\/|[\w.-]+\/)\w[\w./-]*\.[A-Za-z0-9]+|\b[0-9a-fA-F]{7,40}\b|#\d+)/g).map((part, n, parts) => {if (part.startsWith('`') && part.endsWith('`')) return codeChip(part.slice(1, -1));if (part.includes('@') && part.includes(':')) {const textBefore = parts.slice(0, n).join('');@@ -1005,7 +1086,7 @@ function renderSide() {if (allowLinks && validRef) return codeRef(part, textBefore.slice(-2000));return codeChip(part);}- if (/^(?:pullboard (?:hook pre-merge-commit|milestone remove|prompt decompose|spec signers add|hook commit-msg|hook pre-commit|milestone items|milestone edit|milestone move|prompt signoff|hook pre-push|milestone add|prompt review|prompt verify|relay devices|relay recover|relay revoke|relay tokens|spec approve|spec decline|spec signers|spec signoff|prompt plan|view export|relay join|relay pair|spec apply|spec check|spec unmet|decisions|lifecycle|milestone|relay off|resources|spec show|spec view|escalate|refreeze|relay on|settings|takeover|withdraw|worktree|release|roadmap|version|answer|doctor|export|forget|import|ledger|merged|prompt|reopen|resume|skills|status|submit|verify|whoami|check|claim|hooks|inbox|lanes|relay|serve|shout|stats|sweep|done|edit|fact|gate|help|hold|hook|init|join|land|list|next|pass|show|spec|tour|view|add|log|run)(?![\w-])(?: (?:--?[\w-]+|\d+|#\d+|"[^"\n]*"|[A-Z][A-Z0-9_]*|[\w-]*[\/.:@][^\s"]*|[a-z]+-\d+)(?![\w-]))*|--[\w-]+)$/.test(part)) return codeChip(part, 'cmd');+ if (/^(?:pullboard (?:hook pre-merge-commit|join coordinator|milestone remove|prompt decompose|spec signers add|hook commit-msg|hook pre-commit|milestone items|milestone edit|milestone move|prompt signoff|hook pre-push|milestone add|prompt review|prompt verify|relay devices|relay recover|relay revoke|relay tokens|spec approve|spec decline|spec signers|spec signoff|prompt plan|view export|relay join|relay pair|spec apply|spec check|spec unmet|decisions|lifecycle|milestone|relay off|resources|spec show|spec view|escalate|refreeze|relay on|settings|takeover|withdraw|worktree|release|roadmap|version|answer|doctor|export|forget|import|ledger|merged|prompt|reopen|resume|skills|status|submit|verify|whoami|check|claim|hooks|inbox|lanes|relay|serve|shout|stats|sweep|done|edit|fact|gate|help|hold|hook|init|join|land|list|next|pass|show|spec|tour|view|add|log|run)(?![\w-])(?: (?:--?[\w-]+|\d+|#\d+|"[^"\n]*"|[A-Z][A-Z0-9_]*|[\w-]*[\/.:@][^\s"]*|[a-z]+-\d+)(?![\w-]))*|--[\w-]+)$/.test(part)) return codeChip(part, 'cmd');if (/^(?:\/|\.\.?\/|[\w.-]+\/)\w[\w./-]*\.[A-Za-z0-9]+$/.test(part)) return codeChip(part, 'path');if (/^[0-9a-fA-F]{7,40}$/.test(part)) return codeChip(part, 'sha');return linked(part, titles, allowLinks);@@ -1137,10 +1218,28 @@ function milestoneRow(row, titles) {: '<li><button ' + attributes + ' type="button">' + inner + '</button></li>';}+/** Read a release once using the same terminal-item rule in the Roadmap and status bar. */+function readMilestone(milestone, p) {+ const rows = milestone.items.map((entry) => milestoneItem(entry, p));+ const done = rows.filter((row) => row.state === 'verified').length;+ // A nonempty release has no work left when every item is verified or withdrawn.+ return { milestone, rows, done, shipped: rows.length > 0 && rows.every((row) => row.state === 'verified' || row.state === 'withdrawn') };+}++/** Pick the first release with remaining work in roadmap order; empty plans wait behind it. */+function nextMilestone(p) {+ return (p.milestones || []).find((milestone) => {+ const read = readMilestone(milestone, p);+ return read.rows.length > 0 && !read.shipped;+ });+}+/**- * The Roadmap (N26, N38): a card for each milestone in the board's order, with how many of its- * items are verified as a count and a bar, a row for each, and the note to the person in its own- * highlighted line. A milestone with no items says so, rather than draw an empty bar.+ * The Roadmap (N26, N38) leads with what ships next: the milestones with work still to verify, in the board's order,+ * the next one open; then one Shipped section, folded, holding nonempty milestones with only verified or withdrawn items, newest+ * first, each a line with its name, its item count and its note's first line. A milestone opens to a card as before:+ * how many of its items are verified as a count and a bar, a row for each, and the note to the person in its own+ * highlighted line; one with no items says so. Each part stays open or closed as the person left it.*/function roadmapCards(p, titles) {// Opened from the status bar's release, the Roadmap is that release alone, with a way back to all of them.@@ -1148,16 +1247,29 @@ function roadmapCards(p, titles) {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>';- return lead + milestones.map((milestone) => {- const rows = milestone.items.map((entry) => milestoneItem(entry, p));- const done = rows.filter((row) => row.state === 'verified').length;- const name = esc(milestone.name);- return '<article class="card-panel milestone"><header><h2>' + linked(milestone.name, titles) + '</h2>' + (rows.length ? '<span class="milestone-count">' + done + '/' + rows.length + ' done</span>' : '') + '</header>'- + (rows.length- ? '<svg class="milestone-progress" viewBox="0 0 100 1" preserveAspectRatio="none" role="progressbar" aria-label="' + name + ': ' + done + ' of ' + rows.length + ' done" aria-valuemin="0" aria-valuemax="' + rows.length + '" aria-valuenow="' + done + '"><rect width="' + Math.round((100 * done) / rows.length) + '" height="1"/></svg><ul>' + rows.map((row) => milestoneRow(row, titles)).join('') + '</ul>'- : '<p class="milestone-empty">No items yet.</p>')- + (milestone.note ? '<p class="milestone-note">' + rich(milestone.note, titles) + '</p>' : '') + '</article>';- }).join('');+ 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>';+ /** 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. */+ const body = ({ milestone, rows, done }) => (rows.length+ ? '<svg class="milestone-progress" viewBox="0 0 100 1" preserveAspectRatio="none" role="progressbar" aria-label="' + esc(milestone.name) + ': ' + done + ' of ' + rows.length + ' done" aria-valuemin="0" aria-valuemax="' + rows.length + '" aria-valuenow="' + done + '"><rect width="' + Math.round((100 * done) / rows.length) + '" height="1"/></svg><ul>' + rows.map((row) => milestoneRow(row, titles)).join('') + '</ul>'+ : '<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 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 + '>';+ };+ /** Open only the next upcoming milestone by default. */+ const card = (m, first) => wrap('section', 'card-panel milestone', 'm:' + m.milestone.name, first, '<h2>' + linked(m.milestone.name, titles) + '</h2>' + count(m), body(m));+ /** 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((m, n) => card(m, n === 0)).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('')) : '');}/** Tags that flow inside a line of text, so a reference's line belongs to the nearest block around it. */@@ -1259,6 +1371,11 @@ function render() {const approved = p.spec.filter((r) => r.status === 'approved');$('add-specs').placeholder = (approved.length ? approved : p.spec).slice(0, 2).map((r) => r.id).join(',') || 'none yet';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// state, withdrawn items included; browsing leaves those out.const matching = (q ? p.items : items)@@ -1275,7 +1392,7 @@ function render() {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 inView = matching.filter(inState(view.state));+ 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('');@@ -1284,6 +1401,7 @@ function render() {pick.value = view.lane || '';pick.hidden = laneCounts.length < 2 && !view.lane;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;@@ -1299,11 +1417,11 @@ function render() {const tag = s === 'building' && i.owner ? '<span class="chip busy" title="building, held by ' + esc(agentName(i.owner)) + '">' + esc(agentName(i.owner)) + '</span>': s === 'verify' && i.reviewer ? '<span class="chip warn" title="reviewing until ' + esc(when(i.reviewUntil)) + '">' + esc(agentName(i.reviewer)) + ' reviewing</span>': s === 'open' ? openChip(i) : chip(s);- return '<li class="row s-' + s + (view.item === i.id ? ' on' : '') + (gated ? ' gated' : '') + '" data-item="' + i.id + '" title="' + esc(i.title) + '"><span class="dot ' + s + '"></span><div><div class="t"><span>#' + i.id + '</span>' + rich(i.title, titles) + '</div><span class="row-age">' + age(i.updatedAt) + '</span><div class="meta">'+ return recordRow({ classes: (view.item === i.id ? 'on ' : '') + (gated ? 'gated ' : ''), attributes: 'data-item="' + i.id + '"', title: i.title, state: s,+ primary: '<span>#' + i.id + '</span>' + rich(i.title, titles), rightTop: age(i.updatedAt), rightBottom: tag,// A rejected row's second line is its verdict; any other row's is its lane and the spec ids it serves.- + (rejected(i) ? '<span class="why"><b>' + esc(i.verdict.reason) + '</b> ' + linked(firstLine(i.verdict.note), titles) + '</span>'- : '<span>' + esc(i.lane) + '</span>' + (i.specs.length ? '<span class="specs" title="' + esc(i.specs.join(', ')) + '">' + esc(i.specs.slice(0, 3).join(', ') + (i.specs.length > 3 ? ' +' + (i.specs.length - 3) : '')) + '</span>' : ''))- + pills + '</div></div>' + tag + '</li>';+ secondary: (rejected(i) ? '<span class="why"><b>' + esc(i.verdict.reason) + '</b> ' + linked(firstLine(visibleVerdictNote(i.verdict.reason, i.verdict.note)), titles) + '</span>'+ : '<span>' + esc(i.lane) + '</span>' + (i.specs.length ? '<span class="specs" title="' + esc(i.specs.join(', ')) + '">' + esc(i.specs.slice(0, 3).join(', ') + (i.specs.length > 3 ? ' +' + (i.specs.length - 3) : '')) + '</span>' : '')) + pills });}).join('') : '<li class="empty">' + (items.length ? 'No items match.' : snapshot ? 'No items at this event.' : 'No items yet. Add the first one with New item.') + '</li>';const item = p.items.find((i) => i.id === view.item);@@ -1450,7 +1568,7 @@ function render() {// The status bar: what the board is doing, along the foot of the window. Each number is the length of the list its// click opens (the Active and To verify filters, the gated rows, the agents panel's rows), and a part with none hides.// countUnseen fills the unread shouts once the tab is drawn.- const release = (p.milestones || []).find((m) => m.done < m.total), last = p.events[0];+ const release = nextMilestone(p), last = p.events[0];const part = (to, n, words, title) => n ? '<button type="button" data-status="' + to + '" title="' + esc(title) + '"><b>' + n + '</b> ' + words + '</button>' : '';$('status-board').innerHTML = part('items', active.length, 'items', 'Show the active items') + '<button type="button" id="status-unread" data-status="unread" title="Show the shouts you have not read" hidden></button>'+ part('agents', busy.length, busy.length === 1 ? 'agent' : 'agents', 'Show the agents holding work: ' + busy.map((a) => agentName(a.agent_id)).join(', '))@@ -1475,23 +1593,22 @@ function render() {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;- const implied = filter === 'decide' ? 'draft' : 'approved';- // A Doctrine section is usually all Pullboard's rules or all this repo's, so its header says which; a row says so only- // where it differs from its section, such as a standard rule this repo changed.- const sectionSource = new Map();- if (kind === 'doctrine') for (const r of rows) { const was = sectionSource.get(r.section); sectionSource.set(r.section, was === undefined || was === ruleSource(r) ? ruleSource(r) : null); }$(kind + '-list').innerHTML = shownRows.length ? shownRows.map((r) => {const sectionRows = !snapshot && (!readOnly || requests) && kind === 'spec' && r.section !== section ? rows.filter((entry) => entry.section === r.section && undecided(entry)) : [];- const head = r.section !== section ? '<div class="spec-section-head"><h4>' + esc(r.section) + (sectionSource.get(r.section) ? ' <small class="section-source" title="' + esc(ruleSourceTitle(r)) + '">' + esc(sectionSource.get(r.section)) + '</small>' : '') + '</h4>' + (sectionRows.length ? '<button class="spec-section-approve" data-section-approve="' + esc(r.section) + '" type="button">Approve all ' + sectionRows.length + ' in this section</button>' : '') + '</div>' : '';+ const sectionCount = shownRows.filter((entry) => entry.section === r.section).length;+ const head = r.section !== section ? '<div class="spec-section-head"><h4>' + esc(r.section) + ' <span class="section-count">' + sectionCount + '</span></h4>' + (sectionRows.length ? '<button class="spec-section-approve" data-section-approve="' + esc(r.section) + '" type="button">Approve all ' + sectionRows.length + ' in this section</button>' : '') + '</div>' : '';section = r.section;const declined = kind === 'doctrine' && r.status === 'wont';const text = declined ? '<s>' + linked(r.standardText || r.text, titles) + '</s>' : linked(r.text, titles);- const reason = declined && r.reason ? '<small class="rule-reason">Reason: ' + linked(r.reason, titles) + '</small>' : '';- // Most rules are Pullboard's own; only the exception, a rule this repo wrote or changed, is marked in the list.- const source = kind === 'doctrine' && sectionSource.get(r.section) !== ruleSource(r) ? '<small class="rule-source" title="' + esc(ruleSourceTitle(r)) + '">' + esc(ruleSource(r)) + '</small>' : '';- // A row reads as its id and its words; a chip only where its status is not the one the filter already says.- const chip = r.status === implied ? '' : '<span class="chip ' + tone(r.status) + '">' + esc(r.stage || r.status) + '</span>';- return head + (feedback && feedbackId === r.id ? specFeedback(feedback) : '') + '<div class="srow' + (view.row[kind] === r.id ? ' on' : '') + '" data-row="' + kind + ':' + esc(r.id) + '"><code>' + esc(r.id) + '</code><span class="srow-text">' + chip + source + text + reason + '</span></div>';+ const source = kind === 'doctrine' ? ruleSource(r) : 'this repo';+ const reason = declined && r.reason ? '<span class="rule-reason" title="' + esc(r.reason) + '">Reason: ' + linked(r.reason, titles) + '</span>' : '';+ const secondary = '<span class="rule-source" title="' + esc(source) + '">' + esc(source) + '</span>' + reason + (r.gate ? '<span class="gate" title="' + esc(r.gate) + '">' + esc(r.gate) + '</span>' : '');+ const statusShown = filter === 'all' || (filter === 'decide' && r.status !== 'draft');+ const badge = statusShown ? '<span class="chip ' + tone(r.status) + '">' + esc(r.stage || r.status) + '</span>' : r.tier ? '<span class="chip">' + esc(r.tier) + '</span>' : '';+ const citations = p.items.filter((item) => item.specs.includes(r.id)).length;+ return head + (feedback && feedbackId === r.id ? specFeedback(feedback) : '') + recordRow({ tag: 'div', classes: view.row[kind] === r.id ? 'on' : '', attributes: 'data-row="' + kind + ':' + esc(r.id) + '"', title: r.text,+ state: r.status === 'approved' ? 'verified' : r.status === 'wont' ? 'back' : 'open', primary: '<span class="row-id">' + esc(r.id) + '</span>' + text,+ secondary, rightTop: citations ? count(citations, 'item', 'items') : '', rightBottom: badge });}).join('') : '<div class="empty">' + (rows.length ? 'No rows match.' : kind === 'spec' ? 'No spec rows yet. Each requirement is one row in SPEC.md, such as G1 [draft, must] and a line; write them, or ask an agent to, and they show up here.' : 'No doctrine rows yet: they live in DOCTRINE.md.') + '</div>';if (feedback && !shownRows.length) $(kind + '-list').innerHTML += specFeedback(feedback);const row = rows.find((r) => r.id === view.row[kind]);@@ -1503,7 +1620,7 @@ function render() {const home = kind === 'doctrine' && row && row.origin === 'standard' ? 'Standard rules come with Pullboard; override or decline one in DOCTRINE.md.' : 'Rows change in ' + (kind === 'spec' ? 'SPEC.md' : 'DOCTRINE.md') + ', and only you approve them.';const rowStatus = row?.stage || row?.status;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</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</button></div>'+ ? '<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>';}@@ -1546,6 +1663,7 @@ function showTab() {/** The address that names a tab: the Roadmap's own, or the board's, keeping the rest as it is. */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' : '');}@@ -1557,10 +1675,10 @@ function tabHref(tab) {*/function address(push = true) {if (typeof history === 'undefined' || typeof location === 'undefined') return;- const state = { tab: view.tab, root: view.root, item: view.item };+ const state = { tab: view.tab, root: view.root, item: view.item, itemsView: view.itemsView };const href = tabHref(view.tab);try {- if (push && href !== location.pathname + location.search + (routed ? '' : location.hash)) history.pushState(state, '', href);+ if (push && href !== location.pathname + location.search + (location.hash || '')) history.pushState(state, '', href);else history.replaceState(state, '');} catch { /* The tab shows all the same. */ }}@@ -1571,6 +1689,7 @@ function address(push = true) {*/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;@@ -1668,7 +1787,7 @@ function statusGo(to) {// The agents it counts are the panel's rows, so it opens the panel even where the person hid it.else if (to === 'agents') { view.agentsHidden = false; keep('pb.agents', 'shown'); view.agent = null; openTab('shouts'); }// The release it counts is one milestone, so the Roadmap opens on that one alone.- else if (to === 'release') { view.roadmapOnly = (data.project.milestones || []).find((m) => m.done < m.total)?.name ?? null; openTab('roadmap'); }+ else if (to === 'release') { view.roadmapOnly = nextMilestone(data.project)?.name ?? null; openTab('roadmap'); }else openTab(to);showTab();render();@@ -1754,7 +1873,7 @@ function pick(id, root = view.root) {/** Where the list and the detail stack (under 900px), bring the detail into view. */function reveal() {- if (matchMedia('(max-width: 900px)').matches) $('detail').scrollIntoView({ block: 'start', behavior: 'smooth' });+ if (matchMedia('(max-width: 900px)').matches) $('detail').scrollIntoView({ block: 'start', behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'instant' : 'smooth' });}/**@@ -1928,6 +2047,14 @@ async function decideRow(kind, command, args, anchor) {if (root === view.root && view.specFeedback === feedback) {render();window.scrollTo({ top: scroll, behavior: 'instant' });+ // A phone row click jumps to its detail. A later list-key decision returns the next pick to view,+ // instead of restoring that detail's scroll position with the focused list still offscreen.+ if (feedback.from === 'list' && feedback.tone === 'ok' && next && view.row[kind] === next) {+ const picked = [...$(kind + '-list').querySelectorAll('[data-row]')].find((row) => row.dataset.row === prefix + next);+ const rect = picked?.getBoundingClientRect();+ // Center an offscreen pick: nearest can round a half-pixel edge just outside the viewport.+ if (rect && (rect.top < 0 || rect.bottom > innerHeight)) picked.scrollIntoView({ block: 'center', behavior: 'instant' });+ }if (!requests || feedback.status === 'done') setTimeout(() => { if (view.specFeedback === feedback) { view.specFeedback = null; render(); } }, 6000);}return requests ? Boolean(feedback.requestId) && feedback.status !== 'refused' : feedback.tone === 'ok';@@ -2013,10 +2140,12 @@ function fold(open) {/** Show another project and its item; history restores keep the tab their entry named. */function switchTo(root, target = null, record = true) {+ const generation = ++switchGeneration;answer(null);view.root = root;const item = typeof target === 'number' ? target : /^item:(\d+)$/.exec(target || '');- view.item = typeof item === 'number' ? item : item ? Number(item[1]) : null;+ const requestedItem = typeof item === 'number' ? item : item ? Number(item[1]) : null;+ view.item = requestedItem;view.adding = false;if (record && view.item !== null) { view.tab = 'items'; keep('pb.tab', view.tab); }keep('pb.project', root);@@ -2027,8 +2156,8 @@ function switchTo(root, target = null, record = true) {if (data) renderSide();document.body.classList.add('switching');refresh().catch(() => { $('live').textContent = 'offline: is pullboard view still running?'; }).finally(() => {- document.body.classList.remove('switching');- if (view.item !== null && view.root === root && view.tab === 'items') reveal();+ if (generation === switchGeneration) document.body.classList.remove('switching');+ if (generation === switchGeneration && requestedItem !== null && view.item === requestedItem && view.root === root && view.tab === 'items') reveal();});}@@ -2061,12 +2190,20 @@ $('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-all],[data-root],[data-tab],[data-go],[data-item],[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],#proj-switch,#console');+ 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],#proj-switch,#console');if (!event.target.closest('.side')) fold(false);if (!t) return;if (t.id === 'proj-switch') { fold(!$('side').classList.contains('open')); return; }if (t.id === 'console') { t.hidden = true; return; }if (t.dataset.status) { statusGo(t.dataset.status); return; }+ if (t.dataset.itemsView) { view.itemsView = t.dataset.itemsView; 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');+ render();+ [...$('roadmap').querySelectorAll('[data-roadmap-key]')].find((head) => head.dataset.roadmapKey === key)?.focus({ preventScroll: true });+ return;+ }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(); }@@ -2090,7 +2227,7 @@ document.addEventListener('click', (event) => {render();$(kind + '-list').focus({ preventScroll: true });// Where the list and the detail stack, the picked row's detail, with its buttons, comes into view.- if (matchMedia('(max-width: 900px)').matches) $(kind + '-detail').scrollIntoView({ block: 'start', behavior: 'smooth' });+ if (matchMedia('(max-width: 900px)').matches) $(kind + '-detail').scrollIntoView({ block: 'start', behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'instant' : 'smooth' });}else if (t.dataset.codeAll) showAllCode(t.dataset.codeAll, t.dataset.before || '');else if (t.dataset.codeLess) showLessCode(t.dataset.codeLess, t.dataset.before || '');@@ -2102,6 +2239,8 @@ document.addEventListener('click', (event) => {/** Let a Roadmap row with independent inline links keep its keyboard button behavior. */document.addEventListener('keydown', (event) => {if (!['Enter', ' '].includes(event.key)) return;+ const head = event.target.closest('.milestone-head');+ if (head && event.target === head) { event.preventDefault(); head.click(); return; }const row = event.target.closest('.milestone-item[role="button"]');if (event.target !== row) return;event.preventDefault();@@ -2117,6 +2256,9 @@ for (const kind of ['spec', 'doctrine']) $(kind + '-list').addEventListener('keyevent.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' }); }+ } else if (event.key === 'Enter' && view.row[kind]) {+ event.preventDefault();+ $(kind + '-detail').scrollIntoView({ block: 'start', behavior: 'instant' });} else if ((event.key === 'a' || event.key === 'd') && view.row[kind] && $(kind + '-detail').querySelector('.approve-row')) {// Only a row still waiting on the person has a decision to make; the detail shows it.event.preventDefault();@@ -2173,6 +2315,8 @@ $('q').addEventListener('keydown', (event) => {$('find-results').addEventListener('mousedown', (event) => { const hit = event.target.closest('[data-find]'); if (hit) { event.preventDefault(); openFound(hit.dataset.find); } });$('q').addEventListener('blur', () => {clearTimeout(closingFound);+ // Esc and opening a result already close explicitly; their blur must keep that reason.+ if ($('find-results').hidden) return;closingFound = setTimeout(() => hideFound('left the field'), 120);});// "/" goes to the search from anywhere but a field.diff --git a/docs/demo/view.css b/docs/demo/view.cssindex 6da48af1..ff8c4a61 100644--- a/docs/demo/view.css+++ b/docs/demo/view.css@@ -103,6 +103,10 @@ button, input, select, textarea { font: inherit; color: inherit; }.live { margin-left: auto; align-self: center; font-size: 12px; color: var(--warn); white-space: nowrap; }.switching main, .switching .products { opacity: .45; transition: opacity .12s; }+@media (prefers-reduced-motion: reduce) {+ *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }+}+main { padding: 16px 18px 56px; }/* The status bar: the page's own surface, frosted so the list shows faintly through it; red when the view is cut off, violet on a snapshot. Each part opens what it counts. */.status { --status-bg: color-mix(in srgb, var(--surface) 68%, transparent); --status-ink: var(--ink-muted); --status-strong: var(--ink); --status-hover: color-mix(in srgb, var(--ink) 7%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; align-items: stretch; height: 28px; padding: 0 6px; background: var(--status-bg); color: var(--status-ink); font-size: 12px; white-space: nowrap; overflow: hidden; }@@ -134,7 +138,18 @@ main { padding: 16px 18px 56px; }.two.narrow { grid-template-columns: minmax(0, 1fr) var(--agents-w); }.roadmap { display: grid; gap: 12px; max-width: 900px; align-content: start; }.milestone { padding: 14px 16px 12px; }-.milestone header { display: flex; justify-content: space-between; align-items: baseline; gap: 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; }+.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); }+.shipped-one { border-top: 1px solid var(--line); }+.shipped-one > .milestone-head { min-height: 44px; }+.shipped-one > .milestone-head h2 { flex: none; font-size: 14px; }+.shipped-one > .milestone-head small { min-width: 0; overflow: hidden; color: var(--ink-faint); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }+.shipped-one:has(> .milestone-head[aria-expanded="true"]) { padding-bottom: 10px; }.milestone h2 { margin: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }.milestone-count { color: var(--ink-muted); font: 12px var(--mono); white-space: nowrap; }.milestone-progress { display: block; width: 100%; height: 7px; margin: 10px 0 6px; overflow: hidden; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }@@ -177,6 +192,19 @@ 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; }+.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); }+.pipeline-stage header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }+.pipeline-stage h2 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }+.pipeline-stage header > b { font: 600 16px var(--mono); }+.pipeline-oldest { margin: 6px 0 10px; color: var(--ink-muted); font-size: 12px; }+.pipeline-stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }+.pipeline-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; width: 100%; min-height: var(--tap); padding: 6px 8px; text-align: left; border: 0; border-radius: 6px; background: none; cursor: pointer; }+.pipeline-item:hover, .pipeline-item.on { background: var(--surface-2); }+.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; }@@ -441,18 +469,19 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }.lane:first-child { border-top: 0; }.rows-filter { display: flex; padding: 10px 10px 2px; }.rows { padding: 4px 10px 10px; }-.section-source { margin-left: 6px; color: var(--ink-faint); font: 500 11.5px var(--sans); letter-spacing: 0; text-transform: none; }+.section-count { margin-left: 6px; color: var(--ink-faint); font: 500 11.5px var(--mono); }.spec-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 4px; }.rows h4 { margin: 0; font-size: 12.5px; color: var(--ink-muted); }-/* Deciding a row is a quiet word beside it, no box: Approve in the accent, Decline in grey, each lit only on hover. */-.spec-section-approve, .approve-row, .decline-row { min-height: var(--tap); padding: 0 10px; border: 0; border-radius: 8px; background: none; font-weight: 600; white-space: nowrap; cursor: pointer; }-.spec-section-approve, .approve-row { color: var(--accent-strong); }-.decline-row { color: var(--ink-muted); }-.spec-section-approve:hover, .approve-row:hover { background: var(--accent-soft); }+.spec-section-approve, .approve-row, .decline-row { min-height: var(--tap); padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: none; font-weight: 600; white-space: nowrap; cursor: pointer; }+.spec-section-approve { border: 0; color: var(--accent-strong); }+.spec-section-approve:hover { background: var(--accent-soft); }+.approve-row { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }+.approve-row:hover { background: var(--accent-strong); border-color: var(--accent-strong); }+.decline-row { border-color: var(--line-strong); color: var(--ink-muted); }.decline-row:hover { background: var(--reject-soft); color: var(--reject); }-.spec-decision-actions { display: flex; align-items: center; gap: 2px; margin: -11px -6px -11px 0; cursor: default; }-.detail-decision-actions { margin: 4px 0 0 -10px; }+.spec-decision-actions { display: flex; align-items: center; gap: 8px; cursor: default; }.detail-decision-actions { margin: 0 0 12px; }+.detail-decision-actions kbd { margin-left: 6px; font: 11px var(--mono); opacity: .75; }.spec-reason-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 16px; background: rgb(15 23 42 / 45%); }.spec-reason-dialog { width: min(100%, 420px); display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 60px rgb(0 0 0 / 24%); }.spec-reason-dialog h2 { margin: 0; font-size: 17px; }@@ -460,17 +489,11 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }.spec-reason-dialog input { width: 100%; min-height: var(--tap); padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 13px; }.spec-reason-dialog .actions { display: flex; flex-wrap: wrap; gap: 8px; }.spec-reason-dialog .actions button { min-height: var(--tap); }-.srow { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 10px; padding: 9px 8px; border-top: 1px solid var(--line); align-items: baseline; cursor: pointer; }-.srow:hover { background: var(--surface-2); }-.srow.on { background: color-mix(in srgb, var(--ink) 7%, transparent); }-.srow code { font: 600 12px var(--mono); color: var(--ink-muted); }-.srow.on code { color: var(--ink); }-.srow-text .chip { margin-right: 6px; }#spec-list:focus, #doctrine-list:focus { outline: none; }#spec-list:focus-visible, #doctrine-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }-.rule-source, .rule-reason { display: block; color: var(--ink-muted); font-size: 11.5px; line-height: 1.5; }-.rule-reason { margin-top: 3px; }-@media (width < 480px) { .srow { grid-template-columns: 3em minmax(0, 1fr); gap: 8px; } }+.rule-source, .rule-reason { color: var(--ink-muted); font: inherit; }+.srow .meta > .gate { margin-left: 0; }+.srow .meta > .rule-reason { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }.flow { position: relative; margin: 0 0 12px; padding: 10px 12px 8px; overflow-x: auto; }.flow svg { display: block; width: 100%; min-width: 680px; max-width: 920px; height: auto; margin: 0 auto; }.flow figcaption { color: var(--ink-faint); font-size: 12px; padding: 2px 34px 0 2px; }@@ -685,7 +708,11 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }.proof-stats-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }.proof-stats-grid b { font-size: 14px; font-variant-numeric: tabular-nums; }.proof-stats-grid small { overflow-wrap: anywhere; font-size: 11px; color: var(--ink-muted); }+.proof-stats-flow { border-top: 1px solid var(--line); padding-top: 7px; min-width: 0; }+.proof-stats-bottleneck { margin: 7px 0 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }.proof-stats-detail { border-top: 1px solid var(--line); padding-top: 5px; font-size: 11px; }.proof-stats-detail p { margin: 5px 0 0; overflow-wrap: anywhere; }@media (width < 480px) { .proof-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }++.milestone-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }diff --git a/docs/shots/demo.mjs b/docs/shots/demo.mjsindex 4195e3c4..da0d58c0 100644--- a/docs/shots/demo.mjs+++ b/docs/shots/demo.mjs@@ -56,7 +56,7 @@ async function buildBoard(base, env) {const repo = join(base, 'demo-board');await mkdir(repo, { recursive: true });command('git', ['init', '-q', '-b', 'main'], repo, env);- command(process.execPath, [BIN, 'init'], repo, env);+ command(process.execPath, [BIN, 'init', '--model', 'Demo coordinator'], repo, env);await writeFile(join(repo, 'pullboard.json'), JSON.stringify({ name: 'Demo board', project: 'Demo project', gate: 'node --check src/demo.js', spec: 'SPEC.md', verify: { policy: 'any', family: 'require' }, lease: '2h', lanes: { app: { owns: ['src/'], specs: ['G'] }, review: { owns: [], specs: [] } }, shared: [] }, null, 2) + '\n');await writeFile(join(repo, 'SPEC.md'), '# Demo\n\n## G · Goals\n- G1 [approved, must] A demo item exists to show the board. | gate: none\n- G2 [approved, must] The verified item shows its review history. | gate: none\n');command('git', ['add', '-A'], repo, env);diff --git a/docs/shots/desktop.png b/docs/shots/desktop.pngindex 338bbcc2..b4c5566f 100644Binary files a/docs/shots/desktop.png and b/docs/shots/desktop.png differdiff --git a/docs/shots/phone.png b/docs/shots/phone.pngindex 9b8eee4d..608c87d1 100644Binary files a/docs/shots/phone.png and b/docs/shots/phone.png differdiff --git a/docs/shots/shots.test.js b/docs/shots/shots.test.jsindex 7557ef88..fc7f3cc4 100644--- a/docs/shots/shots.test.js+++ b/docs/shots/shots.test.js@@ -3,8 +3,10 @@* and fit the size budgets so they stay useful in the README and the site.*/import assert from 'node:assert/strict';-import { readFileSync, statSync } from 'node:fs';-import { join } from 'node:path';+import { spawnSync } from 'node:child_process';+import { chmodSync, cpSync, 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';import { fileURLToPath } from 'node:url';import { evaluationValue } from './devtools-evaluation.mjs';@@ -52,6 +54,37 @@ test('the demo board stages a Shouts conversation [I11,I13]', () => {assert.ok(state.shouts.some((shout) => shout.shout_text.includes(`src/demo.js:1@${receipt.shout_evidence_commit}`)), 'the code reference points at the reviewed fix');});+test('the demo board declares every agent\'s model [I11,I13]', () => {+ const fixture = mkdtempSync(join(tmpdir(), 'pullboard-demo-model-'));+ try {+ const source = fileURLToPath(ROOT);+ const root = join(fixture, 'repo');+ mkdirSync(root);+ for (const directory of ['src', 'bin', 'docs/shots', 'skills']) cpSync(join(source, directory), join(root, directory), { recursive: true });+ for (const file of ['test/chrome-fixture.js', 'test/fixture-child.js', 'package.json']) 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 env = { ...process.env, PATH: [shims, process.env.PATH].filter(Boolean).join(delimiter) };+ delete env.PULLBOARD_MODEL;+ const result = spawnSync(process.execPath, [join(root, 'docs/shots/demo.mjs'), '--board-only'], { cwd: root, env, encoding: 'utf8' });+ assert.equal(result.status, 0, `the isolated real demo board rebuild succeeds: ${result.stderr}\n${result.stdout}`);+ const state = JSON.parse(readFileSync(join(root, 'docs/demo/api/v1/boards/demo-board/state.json'), 'utf8')).state;+ const models = new Map(state.agents.map((agent) => [agent.agent_id, agent.agent_model]));+ const events = JSON.parse(readFileSync(join(root, 'docs/demo/api/v1/boards/demo-board/events.json'), 'utf8')).events;+ assert.ok(events.some((event) => event.event_kind === 'join' && event.event_by === 'coordinator'), 'the first coordinator registration is in the full event log');+ for (const event of events.filter((move) => move.event_by !== 'person')) {+ const detail = JSON.parse(event.event_detail);+ assert.ok(typeof detail.model === 'string' && detail.model.trim() && detail.model !== 'unknown', `${event.event_by} ${event.event_kind} declares its model`);+ }+ assert.deepEqual([...models].sort(), [['app-1', 'Demo builder'], ['coordinator', 'Demo coordinator'], ['review-1', 'Demo reviewer']]);+ } 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']);@@ -128,7 +161,7 @@ test('the demo rebuild script uses a temporary repo and isolated home [I11,I13]'const script = readFileSync(shots('demo.mjs'), 'utf8');assert.match(script, /mkdtemp\(join\(tmpdir\(\)/);assert.match(readFileSync(shots('demo-env.mjs'), 'utf8'), /, HOME: home, PULLBOARD_HOME: home/);- assert.match(script, /process\.execPath, \[BIN, 'init'\]/);+ assert.match(script, /process\.execPath, \[BIN, 'init', '--model', 'Demo coordinator'\]/);});test('a Chrome evaluation exception fails the screenshot capture [I11,I13]', () => {diff --git a/docs/shots/shouts.png b/docs/shots/shouts.pngindex dd8d1d2b..b288c4ac 100644Binary files a/docs/shots/shouts.png and b/docs/shots/shouts.png differ