Skip to content

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

docs(demo): refresh export from accepted view [I13,A10]

Corey Olson2dc9f50f4627
diff --git a/docs/demo/index.html b/docs/demo/index.html
index 263ca95b..b1273edf 100644
--- a/docs/demo/index.html
+++ b/docs/demo/index.html
@@ -153,7 +153,8 @@ const firstLine = (text) => String(text ?? '').split('\n').map((line) => line.tr
// 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';
-const verdictHtml = (v) => '<div class="verdict ' + (v.decision === 'ACCEPT' ? 'yes' : 'no') + '"><b>' + esc(v.decision) + ' ' + esc(v.reason) + '</b><span class="by">' + esc(v.by) + ' · ' + when(v.at) + ' · at ' + esc(String(v.commit || '').slice(0, 12)) + '</span><div class="note">' + esc(v.note) + '</div></div>';
+/** 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(v.by) + ' · ' + when(v.at) + ' · at ' + esc(String(v.commit || '').slice(0, 12)) + '</span><div class="note">' + linked(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: ['open', ''], withdrawn: ['withdrawn', ''] };
const chip = (s) => '<span class="chip ' + STATES[s][1] + '">' + STATES[s][0] + '</span>';
@@ -718,13 +719,14 @@ function renderGroup(group) {
const needs = group.repos.flatMap((repo) => projectNeeds(repo.board).map((row) => ({ ...row, repo })));
$('group-needs').innerHTML = needs.length ? needs.map((row) => {
const titles = new Map(row.repo.board.items.map((item) => [String(item.id), item.title]));
- return '<button class="group-need" data-root="' + esc(row.repo.root) + '" type="button"><b>' + esc(row.repo.name) + '</b><code>' + esc(row.ref) + '</code><span>' + rich(row.text, titles, false) + '</span><em>' + esc(row.what) + (row.at ? ', ' + age(row.at) : '') + ' →</em></button>';
+ const text = rich(row.text, titles).replaceAll('<button class="ref" data-go=', '<button class="ref" data-root="' + esc(row.repo.root) + '" data-go=');
+ return '<div class="group-need"><b>' + esc(row.repo.name) + '</b><code>' + esc(row.ref) + '</code><span>' + text + '</span><button data-root="' + esc(row.repo.root) + '" type="button"><em>' + esc(row.what) + (row.at ? ', ' + age(row.at) : '') + ' →</em></button></div>';
}).join('') : '<div class="empty">Nothing needs you across this project.</div>';
const events = group.repos.flatMap((repo) => {
const titles = new Map(repo.board.items.map((item) => [String(item.id), item.title]));
- return repo.board.events.map((event) => ({ ...event, repo, title: event.item_id ? titles.get(String(event.item_id)) : null }));
+ return repo.board.events.map((event) => ({ ...event, repo, titles, title: event.item_id ? titles.get(String(event.item_id)) : null }));
}).sort((a, b) => b.event_at.localeCompare(a.event_at)).slice(0, 80);
- $('group-activity').innerHTML = events.length ? byDay(events, (event) => event.event_at, (event) => '<div><time>' + clock(event.event_at) + '</time><div class="act"><b class="repo-label">' + esc(event.repo.name) + '</b> <span>' + esc(event.event_by) + ' ' + esc(event.event_kind) + (event.item_id ? ' #' + event.item_id + (event.title ? ' ' + rich(event.title, new Map(), false) : '') : '') + '</span></div></div>') : '<div class="empty">No activity yet.</div>';
+ $('group-activity').innerHTML = events.length ? byDay(events, (event) => event.event_at, (event) => '<div><time>' + clock(event.event_at) + '</time><div class="act"><b class="repo-label">' + esc(event.repo.name) + '</b> <span>' + esc(event.event_by) + ' ' + esc(event.event_kind) + (event.item_id ? ' #' + event.item_id + (event.title ? ' ' + rich(event.title, event.titles).replaceAll('<button class="ref" data-go=', '<button class="ref" data-root="' + esc(event.repo.root) + '" data-go=') : '') : '') + '</span></div></div>') : '<div class="empty">No activity yet.</div>';
}
/**
@@ -745,6 +747,8 @@ function milestoneItem(entry, p) {
return {
label: local ? '#' + entry.id : String(entry.id),
title: item ? item.title : read ? entry.title : '',
+ root,
+ titles: new Map((root === view.root ? p.items : root ? named[0].items : []).map((i) => [String(i.id), i.title])),
state: read ? stateOf(read) : null,
word: entry.status,
open: item ? { root, id } : null,
@@ -760,10 +764,14 @@ function milestoneItem(entry, p) {
* title is the row's tooltip. An item that opens is a button; one that cannot says why instead.
*/
function milestoneRow(row, titles) {
- const title = row.title ? inline(String(row.title).replace(/\s+/g, ' '), titles, false) : '<span class="muted">' + esc(row.why) + '</span>';
+ const title = row.title ? inline(String(row.title).replace(/\s+/g, ' '), row.titles || titles).replaceAll('<button class="ref" data-go=', '<button class="ref" data-board="' + esc(row.root) + '" data-go=') : '<span class="muted">' + esc(row.why) + '</span>';
const inner = '<span class="dot' + (row.state ? ' ' + row.state : '') + '"></span><span class="t"><span class="id">' + esc(row.label) + '</span>' + title + '</span>' + (row.state ? chip(row.state) : '<span class="chip">' + esc(row.word) + '</span>');
if (!row.open) return '<li><div class="milestone-item" title="' + esc(row.title ? row.title + ' (' + row.why + ')' : row.why) + '">' + inner + '</div></li>';
- return '<li><button class="milestone-item" data-go="item:' + row.open.id + '"' + (row.open.root === view.root ? '' : ' data-board="' + esc(row.open.root) + '"') + ' title="' + esc(row.title) + '" type="button">' + inner + '</button></li>';
+ const attributes = 'class="milestone-item" data-go="item:' + row.open.id + '"' + (row.open.root === view.root ? '' : ' data-board="' + esc(row.open.root) + '"') + ' title="' + esc(row.title) + '"';
+ // A title with its own links needs a separate containing control, never a nested button.
+ return title.includes('class="ref"')
+ ? '<li><div ' + attributes + ' role="button" tabindex="0">' + inner + '</div></li>'
+ : '<li><button ' + attributes + ' type="button">' + inner + '</button></li>';
}
/**
@@ -778,11 +786,11 @@ function roadmapCards(p, titles) {
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>' + name + '</h2>' + (rows.length ? '<span class="milestone-count">' + done + '/' + rows.length + ' done</span>' : '') + '</header>'
+ 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, false) + '</p>' : '') + '</article>';
+ + (milestone.note ? '<p class="milestone-note">' + rich(milestone.note, titles) + '</p>' : '') + '</article>';
}).join('');
}
@@ -826,7 +834,7 @@ function render() {
];
const drafts = p.spec.filter((r) => r.status === 'draft').length;
$('needs').hidden = !needs.length && !drafts;
- $('needs').innerHTML = '<div class="head"><i></i>Needs you</div>' + needs.slice(0, 6).map(([target, ref, text, what, at]) => '<button class="ny" data-go="' + esc(target) + '" type="button"><code>' + esc(ref) + '</code><span>' + rich(text, titles, false) + '</span><em>' + esc(what) + (at ? ', ' + age(at) : '') + ' →</em></button>').join('') + (needs.length > 6 ? '<div class="muted more">and ' + (needs.length - 6) + ' more</div>' : '') + (drafts ? '<button class="ny" data-go="tab:spec" type="button"><code>' + drafts + '</code><span>draft spec rows to approve or drop</span><em>review →</em></button>' : '');
+ $('needs').innerHTML = '<div class="head"><i></i>Needs you</div>' + needs.slice(0, 6).map(([target, ref, text, what, at]) => '<div class="ny"><code>' + esc(ref) + '</code><span class="ny-text">' + rich(text, titles) + '</span><button class="ny-open" data-go="' + esc(target) + '" type="button"><em>' + esc(what) + (at ? ', ' + age(at) : '') + ' →</em></button></div>').join('') + (needs.length > 6 ? '<div class="muted more">and ' + (needs.length - 6) + ' more</div>' : '') + (drafts ? '<div class="ny"><code>' + drafts + '</code><span class="ny-text">draft spec rows to approve or drop</span><button class="ny-open" data-go="tab:spec" type="button"><em>review →</em></button></div>' : '');
const lanes = p.lanes;
const working = lanes.filter((l) => l !== 'coordinator');
@@ -860,11 +868,11 @@ function render() {
const hold = s === 'open' ? heldLanes.get(i.lane) : null;
const waits = s === 'open' && i.blockedBy.length ? i.blockedBy : [];
const gated = waits.length > 0 || !!hold;
- const pills = (waits.length ? '<span class="gate">' + waits.map((id, index) => '<span class="wait-unit">' + (index ? '' : 'waits on ') + '<button class="ref" data-go="item:' + id + '" type="button">#' + id + '</button></span>').join(', ') + '</span>' : '') + (hold ? '<span class="gate">lane held: ' + esc(hold.hold_reason) + '</span>' : '');
+ const pills = (waits.length ? '<span class="gate">' + waits.map((id, index) => '<span class="wait-unit">' + (index ? '' : 'waits on ') + '<button class="ref" data-go="item:' + id + '" type="button">#' + id + '</button></span>').join(', ') + '</span>' : '') + (hold ? '<span class="gate">lane held: ' + linked(hold.hold_reason, titles) + '</span>' : '');
const tag = s === 'building' && i.owner ? '<span class="chip busy" title="building, held by ' + esc(i.owner) + '">' + esc(i.owner) + '</span>'
: s === 'verify' && i.reviewer ? '<span class="chip warn" title="reviewing until ' + esc(when(i.reviewUntil)) + '">' + esc(i.reviewer) + ' reviewing</span>'
: s === 'open' ? (gated ? '<span class="chip gate">' + (waits.length ? 'gated' : 'lane held') + '</span>' : '<span class="chip free">unclaimed</span>') : chip(s);
- return '<li class="row' + (view.item === i.id ? ' on' : '') + (gated ? ' gated' : '') + '" data-item="' + i.id + '"><span class="dot ' + s + '"></span><div><div class="t"><span>#' + i.id + '</span>' + rich(i.title, titles) + '</div><div class="meta"><span>' + esc(i.lane) + '</span>' + (i.specs.length ? '<span>' + esc(i.specs.join(', ')) + '</span>' : '') + (who ? '<span>' + esc(who) + '</span>' : '') + pills + '<span>' + age(i.updatedAt) + '</span>' + (rejected(i) ? '<span class="why">' + esc(i.verdict.reason + ': ' + firstLine(i.verdict.note)) + '</span>' : '') + '</div></div>' + tag + '</li>';
+ return '<li class="row' + (view.item === i.id ? ' on' : '') + (gated ? ' gated' : '') + '" data-item="' + i.id + '"><span class="dot ' + s + '"></span><div><div class="t"><span>#' + i.id + '</span>' + rich(i.title, titles) + '</div><div class="meta"><span>' + esc(i.lane) + '</span>' + (i.specs.length ? '<span>' + esc(i.specs.join(', ')) + '</span>' : '') + (who ? '<span>' + esc(who) + '</span>' : '') + pills + '<span>' + age(i.updatedAt) + '</span>' + (rejected(i) ? '<span class="why">' + linked(i.verdict.reason + ': ' + firstLine(i.verdict.note), titles) + '</span>' : '') + '</div></div>' + tag + '</li>';
}).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);
@@ -881,12 +889,12 @@ function render() {
const back = rejected(item);
const earlier = back ? item.verdicts.slice(0, -1) : item.verdicts;
$('detail').innerHTML = '<div class="stack"><div><h2><span>#' + item.id + '</span>' + rich(item.title, titles) + '</h2><div class="meta spaced">' + chip(s) + '<span class="chip">' + esc(item.lane) + '</span><span class="chip">' + esc(item.route) + '</span></div></div>'
- + (back ? '<div class="sentback"><h3>Sent back' + (s === 'building' ? ', being reworked' : s === 'verify' ? ', resubmitted' : s === 'withdrawn' ? ', then withdrawn' : '') + '</h3>' + verdictHtml(item.verdict) + '</div>' : '')
+ + (back ? '<div class="sentback"><h3>Sent back' + (s === 'building' ? ', being reworked' : s === 'verify' ? ', resubmitted' : s === 'withdrawn' ? ', then withdrawn' : '') + '</h3>' + verdictHtml(item.verdict, titles) + '</div>' : '')
+ (item.criterion ? '<div><h3>Criterion</h3><div class="text">' + rich(item.criterion, titles) + '</div></div>' : '')
- + (cited.length ? '<div><h3>Spec rows it serves</h3>' + cited.map((r) => '<div class="rowref"><code>' + esc(r.id) + '</code><div>' + esc(r.text) + ' <span class="chip ' + tone(r.status) + '">' + esc(r.status) + '</span></div></div>').join('') + '</div>' : '')
+ + (cited.length ? '<div><h3>Spec rows it serves</h3>' + cited.map((r) => '<div class="rowref"><code>' + esc(r.id) + '</code><div>' + linked(r.text, titles) + ' <span class="chip ' + tone(r.status) + '">' + esc(r.status) + '</span></div></div>').join('') + '</div>' : '')
+ (item.brief ? '<div><h3>Brief</h3><div class="text muted">' + rich(item.brief, titles) + '</div></div>' : '')
+ '<div><h3>People and commits</h3><dl class="kv">' + (item.owner && s === 'building' ? '<dt>holding</dt><dd>' + esc(item.owner) + '</dd>' : '') + (item.builtBy ? '<dt>built by</dt><dd>' + esc(item.builtBy) + '</dd>' : '') + (item.verifiedBy ? '<dt>verified by</dt><dd>' + esc(item.verifiedBy) + '</dd>' : '') + (item.commit ? '<dt>commit</dt><dd><code>' + esc(item.commit.slice(0, 12)) + '</code></dd>' : '') + (item.merged ? '<dt>merged</dt><dd><code>' + esc(item.merged.slice(0, 12)) + '</code></dd>' : '') + (item.blockedBy.length ? '<dt>waits on</dt><dd class="waits-on">' + item.blockedBy.map((id) => '<span class="wait-unit"><button class="ref" data-go="item:' + id + '" type="button">#' + id + '</button></span>').join(', ') + '</dd>' : '') + '</dl></div>'
- + (back && !earlier.length ? '' : '<div><h3>' + (back ? 'Earlier verdicts' : 'Verdicts') + '</h3>' + (earlier.length ? earlier.map(verdictHtml).join('') : '<div class="muted">None yet.</div>') + '</div>')
+ + (back && !earlier.length ? '' : '<div><h3>' + (back ? 'Earlier verdicts' : 'Verdicts') + '</h3>' + (earlier.length ? earlier.map((v) => verdictHtml(v, titles)).join('') : '<div class="muted">None yet.</div>') + '</div>')
+ '<div><h3>History</h3>' + timeline(item) + '</div>'
+ '<div class="links"><button data-shout="' + esc(item.lane) + '" data-about="' + item.id + '" type="button">Shout the ' + esc(item.lane) + ' lane about #' + item.id + '</button><button data-new type="button">New item</button></div></div>';
}
@@ -915,10 +923,10 @@ function render() {
$('agents').innerHTML = p.agents.length ? p.agents.map((a) => {
const mine = holding(a);
return '<div class="agent"><div><b title="' + esc(a.agent_path) + '">' + esc(a.agent_id) + '</b><span class="muted">' + esc(a.agent_lane) + ' · ' + esc(a.agent_route) + '</span>' + (a.lastMoveAt ? '<time data-ago="' + esc(a.lastMoveAt) + '" title="last moved ' + when(a.lastMoveAt) + '">' + ago(a.lastMoveAt) + '</time>' : '') + '</div>'
- + (mine.length ? mine.map((i) => '<button data-go="item:' + i.id + '" type="button"><span>#' + i.id + ' ' + rich(i.title, titles, false) + '</span>' + (i.reviewer === a.agent_id ? '<span class="chip warn">reviewing</span>' : chip(stateOf(i))) + '</button>').join('') : '<small>idle</small>') + '</div>';
+ + (mine.length ? mine.map((i) => '<div class="agent-work" data-item="' + i.id + '"><span>#' + i.id + ' ' + rich(i.title, titles) + '</span>' + (i.reviewer === a.agent_id ? '<span class="chip warn">reviewing</span>' : chip(stateOf(i))) + '</div>').join('') : '<small>idle</small>') + '</div>';
}).join('') : '<div class="empty">No agents yet.</div>';
const held = new Map(p.holds.map((h) => [h.hold_lane, h]));
- $('lanes').innerHTML = working.map((l) => '<div class="lane"><span><b>' + esc(l) + '</b> ' + (held.has(l) ? '<span class="chip no">held by ' + esc(held.get(l).hold_by) + '</span> <span class="muted">' + esc(held.get(l).hold_reason) + '</span>' : '<span class="chip ok">open</span>') + '</span>' + (held.has(l) ? '<button class="ghost" data-release="' + esc(l) + '" type="button">Release</button>' : '') + '</div>').join('');
+ $('lanes').innerHTML = working.map((l) => '<div class="lane"><span><b>' + esc(l) + '</b> ' + (held.has(l) ? '<span class="chip no">held by ' + esc(held.get(l).hold_by) + '</span> <span class="muted">' + linked(held.get(l).hold_reason, titles) + '</span>' : '<span class="chip ok">open</span>') + '</span>' + (held.has(l) ? '<button class="ghost" data-release="' + esc(l) + '" type="button">Release</button>' : '') + '</div>').join('');
for (const kind of ['spec', 'doctrine']) {
const rows = kind === 'spec' ? p.spec : p.practice;
@@ -932,23 +940,23 @@ function render() {
const head = r.section !== section ? '<h4>' + esc(r.section) + '</h4>' : '';
section = r.section;
const declined = kind === 'doctrine' && r.status === 'wont';
- const text = declined ? '<s>' + esc(r.standardText || r.text) + '</s>' : esc(r.text);
- const reason = declined && r.reason ? '<small class="rule-reason">Reason: ' + esc(r.reason) + '</small>' : '';
+ 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>' : '';
const source = kind === 'doctrine' ? '<small class="rule-source">' + esc(ruleSource(r)) + '</small>' : '';
return head + '<div class="srow' + (view.row[kind] === r.id ? ' on' : '') + '" data-row="' + kind + ':' + esc(r.id) + '"><code>' + esc(r.id) + '</code><span><span class="chip ' + tone(r.status) + '">' + esc(r.status) + '</span>' + source + '</span><span>' + text + reason + '</span></div>';
}).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 practice rows yet: they live in PRACTICE.md.') + '</div>';
const row = rows.find((r) => r.id === view.row[kind]);
const citing = row ? p.items.filter((i) => i.specs.includes(row.id)) : [];
const declined = kind === 'doctrine' && row && row.status === 'wont';
- const text = row ? declined ? '<s>' + esc(row.standardText || row.text) + '</s>' : esc(row.text) : '';
+ const text = row ? declined ? '<s>' + linked(row.standardText || row.text, titles) + '</s>' : linked(row.text, titles) : '';
const source = kind === 'doctrine' && row ? '<span class="chip">' + esc(ruleSource(row)) + '</span>' : '';
- const reason = declined && row.reason ? '<dt>reason</dt><dd>' + esc(row.reason) + '</dd>' : '';
+ const reason = declined && row.reason ? '<dt>reason</dt><dd>' + linked(row.reason, titles) + '</dd>' : '';
const home = kind === 'doctrine' && row && row.origin === 'standard' ? 'Standard rules come with Pullboard; override or decline one in PRACTICE.md.' : 'Rows change in ' + (kind === 'spec' ? 'SPEC.md' : 'PRACTICE.md') + ', and only you approve them.';
- $(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(row.status) + '</span>' + (row.tier ? '<span class="chip">' + esc(row.tier) + '</span>' : '') + source + '</div><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) => '<button data-go="item:' + i.id + '" type="button">#' + i.id + ' ' + rich(i.title, titles, false) + '</button>').join('') + '</div>' : '<div class="muted">None yet.</div>') + '</div><div class="muted">' + home + '</div></div>' : '<div class="empty">Pick a row to see it, and the items that cite it.</div>';
+ $(kind + '-detail').innerHTML = row ? '<div class="stack tight"><h2><span>' + esc(row.id) + '</span>' + text + '</h2><div class="meta"><span class="chip ' + tone(row.status) + '">' + esc(row.status) + '</span>' + (row.tier ? '<span class="chip">' + esc(row.tier) + '</span>' : '') + source + '</div><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>';
}
if (keep('pb.flow') !== 'hidden') $('flow').innerHTML = flowSvg(p);
- $('activity').innerHTML = p.events.length ? byDay(p.events, (e) => e.event_at, (e) => '<div><time>' + clock(e.event_at) + '</time><div class="act"><b>' + esc(e.event_by) + '</b> ' + esc(e.event_kind) + (e.item_id ? ' <button class="ref" data-go="item:' + e.item_id + '" type="button">#' + e.item_id + '</button>' + (titles.has(String(e.item_id)) ? ' <span class="what">' + esc(titles.get(String(e.item_id))) + '</span>' : '') : '') + '</div></div>') : '<div class="empty">No activity yet.</div>';
+ $('activity').innerHTML = p.events.length ? byDay(p.events, (e) => e.event_at, (e) => '<div><time>' + clock(e.event_at) + '</time><div class="act"><b>' + esc(e.event_by) + '</b> ' + esc(e.event_kind) + (e.item_id ? ' <button class="ref" data-go="item:' + e.item_id + '" type="button">#' + e.item_id + '</button>' + (titles.has(String(e.item_id)) ? ' <span class="what">' + rich(titles.get(String(e.item_id)), titles) + '</span>' : '') : '') + '</div></div>') : '<div class="empty">No activity yet.</div>';
showTab();
}
@@ -1048,7 +1056,9 @@ function answer(id) {
view.answering = ask ? { root: view.root, id: ask.shout_id } : null;
$('answering').hidden = !ask;
$('answering-who').textContent = ask ? ask.shout_from : '';
- $('answering-q').textContent = ask ? ask.shout_text : '';
+ const question = ask ? linked(ask.shout_text, new Map(data.project.items.map((i) => [String(i.id), i.title]))) : '';
+ if (question.includes('<button class="ref"')) $('answering-q').innerHTML = question;
+ else $('answering-q').textContent = ask ? ask.shout_text : '';
if (ask) $('shout-to').value = ask.shout_from;
$('shout-to').disabled = Boolean(ask);
$('shout-send').textContent = ask ? 'Answer' : 'Shout';
@@ -1201,16 +1211,14 @@ function fold(open) {
$('proj-switch').setAttribute('aria-expanded', String(open));
}
-/**
- * Show another project: mark it at once, dim the old one's panes until its board arrives. Given an
- * item, its board opens on that item; with record false the history entry stays as it is, for a
- * move that came from the entry.
- */
-function switchTo(root, item = null, record = true) {
+/** Show another project and its item; history restores keep the tab their entry named. */
+function switchTo(root, target = null, record = true) {
answer(null);
view.root = root;
- view.item = item;
+ const item = typeof target === 'number' ? target : /^item:(\d+)$/.exec(target || '');
+ view.item = typeof item === 'number' ? item : item ? Number(item[1]) : null;
view.adding = false;
+ if (record && view.item !== null) { view.tab = 'items'; keep('pb.tab', view.tab); }
keep('pb.project', root);
if (record) address(false);
fold(false);
@@ -1220,7 +1228,7 @@ function switchTo(root, item = null, record = true) {
document.body.classList.add('switching');
refresh().catch(() => { $('live').textContent = 'offline: is pullboard view still running?'; }).finally(() => {
document.body.classList.remove('switching');
- if (item !== null && view.root === root && view.tab === 'items') reveal();
+ if (view.item !== null && view.root === root && view.tab === 'items') reveal();
});
}
@@ -1230,7 +1238,7 @@ document.addEventListener('click', (event) => {
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.root) switchTo(t.dataset.root);
+ if (t.dataset.root) switchTo(t.dataset.root, t.dataset.go || '');
else if (t.dataset.tab) { openTab(t.dataset.tab); showTab(); }
else if (t.dataset.go) go(t.dataset.go, t.dataset.board);
else if (t.dataset.item) pick(Number(t.dataset.item));
@@ -1242,6 +1250,14 @@ document.addEventListener('click', (event) => {
else if (t.dataset.shout) { answer(null); $('shout-to').value = t.dataset.shout; $('shout-text').value = '#' + t.dataset.about + ': '; openTab('shouts'); showTab(); $('shout-text').focus(); }
else if (t.dataset.new !== undefined) { view.adding = true; render(); $('add-title').focus(); }
});
+/** Let a Roadmap row with independent inline links keep its keyboard button behavior. */
+document.addEventListener('keydown', (event) => {
+ if (!['Enter', ' '].includes(event.key)) return;
+ const row = event.target.closest('.milestone-item[role="button"]');
+ if (event.target !== row) return;
+ event.preventDefault();
+ go(row.dataset.go, row.dataset.board || view.root);
+});
// The form covers the picked item rather than dropping it, so Cancel brings it back.
$('new-item').addEventListener('click', () => { view.adding = true; render(); $('add-title').focus(); });
$('add-cancel').addEventListener('click', () => { view.adding = false; render(); });
diff --git a/docs/demo/view.css b/docs/demo/view.css
index f434b7ac..6b9df189 100644
--- a/docs/demo/view.css
+++ b/docs/demo/view.css
@@ -51,12 +51,13 @@ button, input, select, textarea { font: inherit; color: inherit; }
.group-view { display: grid; gap: 14px; max-width: 1000px; }
.group-panel { padding: 14px 16px; }
.group-panel h2 { margin: 0 0 10px; font-size: 17px; }
-.group-need { display: grid; grid-template-columns: minmax(90px, auto) auto minmax(0, 1fr) auto; align-items: baseline; gap: 5px 10px; width: 100%; padding: 9px 0; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; }
+.group-need { display: grid; grid-template-columns: minmax(90px, auto) auto minmax(0, 1fr) auto; align-items: baseline; gap: 5px 10px; width: 100%; padding: 9px 0; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; }
.group-need:hover { background: var(--surface-2); }
.group-need > b { color: var(--ink-muted); }
.group-need > code { color: var(--accent-strong); }
.group-need > span { overflow-wrap: anywhere; }
-.group-need > em { color: var(--ink-faint); font-size: 12px; font-style: normal; }
+.group-need > button { min-height: 44px; border: 0; padding: 0; background: none; cursor: pointer; text-align: right; }
+.group-need > button em { color: var(--ink-faint); font-size: 12px; font-style: normal; }
.repo-label { color: var(--ink-muted); }
.need { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font: 700 11.5px/1.5 var(--mono); text-align: center; }
.products { padding-top: 6px; }
@@ -97,8 +98,8 @@ main { padding: 16px 18px 28px; }
.milestone-progress rect { fill: var(--accent); }
.milestone ul { display: grid; gap: 2px; margin: 0 -9px; padding: 0; list-style: none; }
.milestone-item { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 44px; padding: 0 9px; border: 1px solid transparent; border-radius: 10px; background: none; text-align: left; }
-button.milestone-item { cursor: pointer; }
-button.milestone-item:hover { background: var(--surface-2); }
+.milestone-item[data-go] { cursor: pointer; }
+.milestone-item[data-go]:hover { background: var(--surface-2); }
.milestone-item .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.milestone-item .t code { white-space: nowrap; }
.milestone-item .id { margin-right: 6px; color: var(--ink-faint); font: 500 12px var(--mono); }
@@ -118,13 +119,13 @@ button.milestone-item:hover { background: var(--surface-2); }
main { padding: 12px 10px 24px; }
.two, .two.narrow { grid-template-columns: minmax(0, 1fr); }
.group-need { grid-template-columns: minmax(80px, auto) auto minmax(0, 1fr); }
- .group-need > em { grid-column: 3; }
+ .group-need > button { grid-column: 3; }
}
@media (width < 480px) {
.group-need { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; }
.group-need > b { grid-column: 1; }
.group-need > code { grid-column: 2; }
- .group-need > span, .group-need > em { grid-column: 1 / -1; }
+ .group-need > span, .group-need > button { grid-column: 1 / -1; }
.tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 0; }
.tab { display: grid; grid-template-rows: auto 13px; justify-items: center; align-content: center; padding: 7px 2px 5px; font-size: 13.5px; }
.tab b { margin: 0; line-height: 13px; }
@@ -145,12 +146,13 @@ input:disabled { background: var(--surface-2); color: var(--ink-muted); }
.needs-you .head.quiet { color: var(--ink-muted); font-weight: 600; }
.needs-you .ask + .head.quiet { margin-top: 12px; }
.needs-you .more { padding: 2px 4px; }
-.ny { display: grid; grid-template-columns: auto minmax(5em, 1fr) minmax(0, max-content); gap: 10px; align-items: baseline; text-align: left; border: 0; background: none; padding: 6px 4px; border-radius: 8px; cursor: pointer; width: 100%; }
+.ny { display: grid; grid-template-columns: auto minmax(5em, 1fr) minmax(0, max-content); gap: 10px; align-items: baseline; text-align: left; border: 0; background: none; padding: 6px 4px; border-radius: 8px; width: 100%; min-height: 44px; }
.ny:hover { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.ny code { font: 600 12px var(--mono); }
-.ny span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-muted); }
+.ny .ny-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-muted); }
+.ny .ny-open { min-height: 44px; border: 0; padding: 0; background: none; color: var(--warn); cursor: pointer; text-align: right; }
.ny em { font-style: normal; color: var(--warn); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
-@media (width < 480px) { .ny { grid-template-columns: auto minmax(0, 1fr); row-gap: 1px; } .ny em { grid-column: 2; } }
+@media (width < 480px) { .ny { grid-template-columns: auto minmax(0, 1fr); row-gap: 1px; } .ny .ny-open { grid-column: 2; } }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 6px 4px; }
.ask > p { grid-column: 1; margin: 0; overflow-wrap: anywhere; }
.ask small { color: var(--ink-muted); }
@@ -232,7 +234,7 @@ input:disabled { background: var(--surface-2); color: var(--ink-muted); }
.rowref { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; font-size: 13px; padding: 3px 0; }
.rowref code { font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
-.links button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 3px 9px; cursor: pointer; font-size: 12.5px; }
+.links-item { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 3px 9px; cursor: pointer; font-size: 12.5px; min-height: 44px; display: flex; align-items: center; }
.panel-form { display: grid; gap: 10px; }
.panel-form label, .inline label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-muted); }
@@ -248,7 +250,7 @@ input:disabled { background: var(--surface-2); color: var(--ink-muted); }
.feed > div:first-child, .feed > .day + div { border-top: 0; }
.feed .day { margin: 0; padding: 12px 0 4px; font: 600 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }
.feed .day:first-child { padding-top: 6px; }
-.feed button.ref, .ask button.ref, .detail button.ref { border: 0; background: none; padding: 0; color: var(--accent-strong); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; display: inline; min-height: 0; vertical-align: baseline; line-height: inherit; font: inherit; }
+button.ref { width: auto; min-height: 0; border: 0; border-radius: 0; background: none; padding: 0; color: var(--accent-strong); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; display: inline; vertical-align: baseline; line-height: inherit; font: inherit; }
code.inline { padding: 0 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); font: .92em var(--mono); white-space: break-spaces; }
.code { display: block; margin: 6px 0 2px; padding: 6px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font: 12px/1.55 var(--mono); white-space: pre; overflow-x: auto; overflow-wrap: normal; }
.code > span { display: block; padding-right: 12px; }
@@ -263,9 +265,9 @@ code.inline { padding: 0 3px; border-radius: 3px; background: color-mix(in srgb,
.agent > div { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.agent > div > .muted { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent time { margin-left: auto; color: var(--ink-faint); font: 12px var(--mono); }
-.agent button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; border: 0; background: none; padding: 2px 0; text-align: left; cursor: pointer; }
-.agent button > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.agent button:hover > span:first-child { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
+.agent-work { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; border: 0; background: none; padding: 2px 0; text-align: left; cursor: pointer; }
+.agent-work > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.agent-work:hover > span:first-child { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.lane { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.lane:first-child { border-top: 0; }
.rows { padding: 4px 10px 10px; }
diff --git a/docs/shots/desktop.png b/docs/shots/desktop.png
index 3fcd8761..ccc1c70e 100644
Binary files a/docs/shots/desktop.png and b/docs/shots/desktop.png differ
diff --git a/docs/shots/phone.png b/docs/shots/phone.png
index ddb7b2eb..aced8ee1 100644
Binary files a/docs/shots/phone.png and b/docs/shots/phone.png differ
diff --git a/docs/shots/tour.svg b/docs/shots/tour.svg
index b51ee390..44a1e05a 100644
--- a/docs/shots/tour.svg
+++ b/docs/shots/tour.svg
@@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" class="tour-card" viewBox="0 0 640 420" width="640" height="420" role="img" aria-labelledby="tour-title tour-description">
<title id="tour-title">The tour, in thirty seconds</title><desc id="tour-description">Eight steps: a real change is submitted, rejected, fixed, tested and accepted before it merges.</desc>
-<metadata id="tour-transcript">[{&quot;text&quot;:&quot;pullboard tour: a coordinator and two scripted agents run real commands on a throwaway repo. No model runs.&quot;,&quot;at&quot;:56},{&quot;text&quot;:&quot;1 The person approved one spec row. The coordinator files it as work.&quot;,&quot;at&quot;:3631},{&quot;text&quot;:&quot; G1: greet(name) returns \&quot;Hello, &lt;name&gt;!\&quot;; a blank name greets the world: \&quot;Hello, world!\&quot;&quot;,&quot;at&quot;:3632},{&quot;text&quot;:&quot; coordinator $ pullboard add app Greeting --specs G1 --criterion \&quot;greet() meets G1\&quot;&quot;,&quot;at&quot;:4034},{&quot;text&quot;:&quot; #1&quot;,&quot;at&quot;:4144},{&quot;text&quot;:&quot;2 A builder agent gets its own worktree in the app lane and claims the next item. Its criterion freezes.&quot;,&quot;at&quot;:5345},{&quot;text&quot;:&quot; coordinator $ pullboard worktree app&quot;,&quot;at&quot;:5752},{&quot;text&quot;:&quot; made greeter-app-1 on branch app/1, joined as app-1 in the app lane&quot;,&quot;at&quot;:5927},{&quot;text&quot;:&quot; app-1 $ pullboard next&quot;,&quot;at&quot;:6327},{&quot;text&quot;:&quot; claimed #1: Greeting&quot;,&quot;at&quot;:6473},{&quot;text&quot;:&quot; criterion: greet() meets G1&quot;,&quot;at&quot;:6473},{&quot;text&quot;:&quot;3 It writes greet(), tests the happy path and submits. Its own gate is green.&quot;,&quot;at&quot;:7674},{&quot;text&quot;:&quot; app-1 $ git commit -q -m \&quot;feat(app): greet by name [G1]\&quot;&quot;,&quot;at&quot;:8510},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:9520},{&quot;text&quot;:&quot; submitted #1 at feb99cd2f4d3; gate green in 0s&quot;,&quot;at&quot;:9893},{&quot;text&quot;:&quot;4 A second agent checks out exactly that commit and tries the edge the builder skipped.&quot;,&quot;at&quot;:11100},{&quot;text&quot;:&quot; coordinator $ pullboard worktree review&quot;,&quot;at&quot;:11501},{&quot;text&quot;:&quot; made greeter-review-1 on branch review/1, joined as review-1 in the review lane&quot;,&quot;at&quot;:11654},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach feb99cd2f4d3&quot;,&quot;at&quot;:12061},{&quot;text&quot;:&quot; review-1 $ node -e \&quot;greet(&apos;&apos;)\&quot;&quot;,&quot;at&quot;:12477},{&quot;text&quot;:&quot; Hello, !&quot;,&quot;at&quot;:12503},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 reject --reason BEHAVIOR_MISMATCH --note \&quot;greet(&apos;&apos;) returns \\\&quot;Hello, !\\\&quot;; G1 says a blank name greets the world\&quot;&quot;,&quot;at&quot;:12904},{&quot;text&quot;:&quot; rejected #1: BEHAVIOR_MISMATCH; it is open again for rework&quot;,&quot;at&quot;:13024},{&quot;text&quot;:&quot;5 The builder&apos;s next session starts from the board, not from memory.&quot;,&quot;at&quot;:14226},{&quot;text&quot;:&quot; app-1 $ pullboard resume&quot;,&quot;at&quot;:14632},{&quot;text&quot;:&quot; sent back: #1 BEHAVIOR_MISMATCH by review-1: greet(&apos;&apos;) returns \&quot;Hello, !\&quot;; G1 says a blank name greets the world&quot;,&quot;at&quot;:14745},{&quot;text&quot;:&quot; next: pullboard claim 1, fix what the verifier found, and submit again&quot;,&quot;at&quot;:14745},{&quot;text&quot;:&quot;6 It fixes the edge, adds a test that pins it, and submits a new commit.&quot;,&quot;at&quot;:15954},{&quot;text&quot;:&quot; app-1 $ pullboard claim 1&quot;,&quot;at&quot;:16357},{&quot;text&quot;:&quot; claimed #1 until 2026-10-06T14:00:00.000Z; criterion frozen as f25f8056cb7f&quot;,&quot;at&quot;:16462},{&quot;text&quot;:&quot; app-1 $ git commit -q -am \&quot;fix(app): a blank name greets the world [G1]\&quot;&quot;,&quot;at&quot;:16872},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:17563},{&quot;text&quot;:&quot; submitted #1 at ab3d51bc927b; gate green in 0s&quot;,&quot;at&quot;:17875},{&quot;text&quot;:&quot;7 The verifier breaks the fix on purpose, to prove the new test can fail, then restores it and accepts.&quot;,&quot;at&quot;:19081},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach ab3d51bc927b&quot;,&quot;at&quot;:19487},{&quot;text&quot;:&quot; review-1 $ node --test # with the fix removed&quot;,&quot;at&quot;:19917},{&quot;text&quot;:&quot; # pass 1&quot;,&quot;at&quot;:19985},{&quot;text&quot;:&quot; # fail 1&quot;,&quot;at&quot;:19985},{&quot;text&quot;:&quot; review-1 $ git checkout -- src/greet.mjs&quot;,&quot;at&quot;:20395},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 accept --note \&quot;removed the blank-name fix: its new test failed; restored, both pass\&quot;&quot;,&quot;at&quot;:20821},{&quot;text&quot;:&quot; verified #1: CRITERION_MET&quot;,&quot;at&quot;:20980},{&quot;text&quot;:&quot;8 The coordinator merges it. The ledger is the receipt.&quot;,&quot;at&quot;:22181},{&quot;text&quot;:&quot; coordinator $ git merge -q --ff-only app/1&quot;,&quot;at&quot;:22584},{&quot;text&quot;:&quot; coordinator $ pullboard merged 1 ab3d51bc927b&quot;,&quot;at&quot;:23030},{&quot;text&quot;:&quot; #1 merged as ab3d51bc927b&quot;,&quot;at&quot;:23152},{&quot;text&quot;:&quot; coordinator $ pullboard ledger&quot;,&quot;at&quot;:23562},{&quot;text&quot;:&quot; 1 verified by a second agent · 0 awaiting verification · 1 rejection along the way&quot;,&quot;at&quot;:23651},{&quot;text&quot;:&quot; | # | Lane | Item | Spec | Built by | Verified by | Commit | Merged |&quot;,&quot;at&quot;:23651},{&quot;text&quot;:&quot; | 1 | app | Greeting | G1 | app-1 | review-1 | ab3d51bc927b | ab3d51bc927b |&quot;,&quot;at&quot;:23651},{&quot;text&quot;:&quot;Nothing shipped until a second agent verified it.&quot;,&quot;at&quot;:23651},{&quot;text&quot;:&quot; Look around: cd greeter &amp;&amp; pullboard log&quot;,&quot;at&quot;:23651}]</metadata>
+<metadata id="tour-transcript">[{&quot;text&quot;:&quot;pullboard tour: a coordinator and two scripted agents run real commands on a throwaway repo. No model runs.&quot;,&quot;at&quot;:81},{&quot;text&quot;:&quot;1 The person approved one spec row. The coordinator files it as work.&quot;,&quot;at&quot;:3973},{&quot;text&quot;:&quot; G1: greet(name) returns \&quot;Hello, &lt;name&gt;!\&quot;; a blank name greets the world: \&quot;Hello, world!\&quot;&quot;,&quot;at&quot;:3973},{&quot;text&quot;:&quot; coordinator $ pullboard add app Greeting --specs G1 --criterion \&quot;greet() meets G1\&quot;&quot;,&quot;at&quot;:4383},{&quot;text&quot;:&quot; #1&quot;,&quot;at&quot;:4536},{&quot;text&quot;:&quot;2 A builder agent gets its own worktree in the app lane and claims the next item. Its criterion freezes.&quot;,&quot;at&quot;:5745},{&quot;text&quot;:&quot; coordinator $ pullboard worktree app&quot;,&quot;at&quot;:6150},{&quot;text&quot;:&quot; made greeter-app-1 on branch app/1, joined as app-1 in the app lane&quot;,&quot;at&quot;:6548},{&quot;text&quot;:&quot; app-1 $ pullboard next&quot;,&quot;at&quot;:6956},{&quot;text&quot;:&quot; claimed #1: Greeting&quot;,&quot;at&quot;:7225},{&quot;text&quot;:&quot; criterion: greet() meets G1&quot;,&quot;at&quot;:7225},{&quot;text&quot;:&quot;3 It writes greet(), tests the happy path and submits. Its own gate is green.&quot;,&quot;at&quot;:8430},{&quot;text&quot;:&quot; app-1 $ git commit -q -m \&quot;feat(app): greet by name [G1]\&quot;&quot;,&quot;at&quot;:9252},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:10690},{&quot;text&quot;:&quot; submitted #1 at 4c2b69e3da47; gate green in 0s&quot;,&quot;at&quot;:11199},{&quot;text&quot;:&quot;4 A second agent checks out exactly that commit and tries the edge the builder skipped.&quot;,&quot;at&quot;:12400},{&quot;text&quot;:&quot; coordinator $ pullboard worktree review&quot;,&quot;at&quot;:12811},{&quot;text&quot;:&quot; made greeter-review-1 on branch review/1, joined as review-1 in the review lane&quot;,&quot;at&quot;:13080},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach 4c2b69e3da47&quot;,&quot;at&quot;:13489},{&quot;text&quot;:&quot; review-1 $ node -e \&quot;greet(&apos;&apos;)\&quot;&quot;,&quot;at&quot;:13910},{&quot;text&quot;:&quot; Hello, !&quot;,&quot;at&quot;:13940},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 reject --reason BEHAVIOR_MISMATCH --note \&quot;greet(&apos;&apos;) returns \\\&quot;Hello, !\\\&quot;; G1 says a blank name greets the world\&quot;&quot;,&quot;at&quot;:14347},{&quot;text&quot;:&quot; rejected #1: BEHAVIOR_MISMATCH; it is open again for rework&quot;,&quot;at&quot;:14558},{&quot;text&quot;:&quot;5 The builder&apos;s next session starts from the board, not from memory.&quot;,&quot;at&quot;:15767},{&quot;text&quot;:&quot; app-1 $ pullboard resume&quot;,&quot;at&quot;:16175},{&quot;text&quot;:&quot; sent back: #1 BEHAVIOR_MISMATCH by review-1: greet(&apos;&apos;) returns \&quot;Hello, !\&quot;; G1 says a blank name greets the world&quot;,&quot;at&quot;:16437},{&quot;text&quot;:&quot; next: pullboard claim 1, fix what the verifier found, and submit again&quot;,&quot;at&quot;:16437},{&quot;text&quot;:&quot;6 It fixes the edge, adds a test that pins it, and submits a new commit.&quot;,&quot;at&quot;:17637},{&quot;text&quot;:&quot; app-1 $ pullboard claim 1&quot;,&quot;at&quot;:18043},{&quot;text&quot;:&quot; claimed #1 until 2026-10-06T14:00:00.000Z; criterion frozen as a26fca30b8d4&quot;,&quot;at&quot;:18263},{&quot;text&quot;:&quot; app-1 $ git commit -q -am \&quot;fix(app): a blank name greets the world [G1]\&quot;&quot;,&quot;at&quot;:18668},{&quot;text&quot;:&quot; app-1 $ pullboard submit 1&quot;,&quot;at&quot;:19488},{&quot;text&quot;:&quot; submitted #1 at 68f78e1c728d; gate green in 0s&quot;,&quot;at&quot;:19871},{&quot;text&quot;:&quot;7 The verifier breaks the fix on purpose, to prove the new test can fail, then restores it and accepts.&quot;,&quot;at&quot;:21080},{&quot;text&quot;:&quot; review-1 $ git switch -q --detach 68f78e1c728d&quot;,&quot;at&quot;:21483},{&quot;text&quot;:&quot; review-1 $ node --test # with the fix removed&quot;,&quot;at&quot;:21908},{&quot;text&quot;:&quot; # pass 1&quot;,&quot;at&quot;:21978},{&quot;text&quot;:&quot; # fail 1&quot;,&quot;at&quot;:21978},{&quot;text&quot;:&quot; review-1 $ git checkout -- src/greet.mjs&quot;,&quot;at&quot;:22379},{&quot;text&quot;:&quot; review-1 $ pullboard verify 1 accept --note \&quot;removed the blank-name fix: its new test failed; restored, both pass\&quot;&quot;,&quot;at&quot;:22800},{&quot;text&quot;:&quot; verified #1: CRITERION_MET&quot;,&quot;at&quot;:23038},{&quot;text&quot;:&quot;8 The coordinator merges it. The ledger is the receipt.&quot;,&quot;at&quot;:24248},{&quot;text&quot;:&quot; coordinator $ git merge -q --ff-only app/1&quot;,&quot;at&quot;:24650},{&quot;text&quot;:&quot; coordinator $ pullboard merged 1 68f78e1c728d&quot;,&quot;at&quot;:25087},{&quot;text&quot;:&quot; #1 merged as 68f78e1c728d&quot;,&quot;at&quot;:25207},{&quot;text&quot;:&quot; coordinator $ pullboard ledger&quot;,&quot;at&quot;:25609},{&quot;text&quot;:&quot; 1 verified by a second agent · 0 awaiting verification · 1 rejection along the way&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; | # | Lane | Item | Spec | Built by | Verified by | Commit | Merged |&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; | 1 | app | Greeting | G1 | app-1 | review-1 | 68f78e1c728d | 68f78e1c728d |&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot;Nothing shipped until a second agent verified it.&quot;,&quot;at&quot;:25698},{&quot;text&quot;:&quot; Look around: cd greeter &amp;&amp; pullboard log&quot;,&quot;at&quot;:25698}]</metadata>
<style>
.tour-card{--surface:#ffffff;--line:#dce5df;--ink:#101714;--muted:#4f5b55;--faint:#65746b;--blue:#315f8f;--violet:#6547bc;--green:#087546;--green-soft:#dff4e8;--red:#b33026;--red-soft:#fce8e5;--highlight:#edf7f1;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
@media(prefers-color-scheme:dark){.tour-card{--surface:#111714;--line:#34443a;--ink:#e9eeeb;--muted:#b6c3bc;--faint:#9cafa3;--blue:#80bfff;--violet:#c1aeff;--green:#61e6b1;--green-soft:#163829;--red:#ff8a80;--red-soft:#321917;--highlight:#193426}}