Skip to content

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

fix(view): a new board's activity fits a 320px phone [N26]

Corey Olsona5eb078872e7
diff --git a/src/view.css b/src/view.css
index 29bdcd3f..6ccdaae5 100644
--- a/src/view.css
+++ b/src/view.css
@@ -640,7 +640,7 @@ code.inline.long { white-space: break-spaces; overflow-wrap: anywhere; }
.fact-code .muted { margin-left: 4px; font-size: 12px; }
.fact-code .ref { margin-left: 4px; }
.ref-missing { display: inline-block; }
-.feed .act { display: flex; gap: 0 5px; align-items: baseline; min-width: 0; }
+.feed .act { display: flex; gap: 0 5px; align-items: baseline; min-width: 0; overflow-wrap: anywhere; }
.feed .act .what { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; color: var(--ink-muted); }
.feed .act .said { flex: 1 1 0; min-width: 0; margin-left: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-muted); }
.feed .act .said code { white-space: nowrap; }
diff --git a/test/cockpit/detail.test.js b/test/cockpit/detail.test.js
index 49abcfbf..c196fb63 100644
--- a/test/cockpit/detail.test.js
+++ b/test/cockpit/detail.test.js
@@ -112,7 +112,7 @@ test('opening an item loads its detail on demand [N26,A2]', { timeout: 150_000 }
criterion: 'The greeting renders from the snapshot alone.',
check: ['true', 'green'],
brief: 'Keep the greeting short.',
- verdicts: [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it\nverified against agent-approved G1']],
+ verdicts: [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it']],
moves: ['add', 'claim', 'submit', 'reject', 'claim', 'submit', 'accept'],
facts: ['The corrected greeting renders offline.'],
}, 'the detail carries what the summary leaves out');
@@ -148,7 +148,7 @@ test('opening an item loads its detail on demand [N26,A2]', { timeout: 150_000 }
await chrome.waitFor("document.body.classList.contains('snapshot') && !!data?.project && snapshotReplay.index === snapshotReplay.events.length && view.item === 1 && !!document.querySelector('#detail .tl')");
const exported = await chrome.stable(DETAIL);
assert.equal(exported.criterion, 'The greeting renders from the snapshot alone.');
- assert.deepEqual(exported.verdicts, [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it\nverified against agent-approved G1']]);
+ assert.deepEqual(exported.verdicts, [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it']]);
assert.deepEqual(exported.facts, ['The corrected greeting renders offline.']);
await searchFor(chrome, 'zeppelin', 15_000); // budget: hang-only ceiling for a search the page answers itself.
await chrome.waitFor("!!document.querySelector('#find-results [data-find=\"item:2\"]')");
diff --git a/test/cockpit/fixture.js b/test/cockpit/fixture.js
index 5f18a1f9..8d3b257a 100644
--- a/test/cockpit/fixture.js
+++ b/test/cockpit/fixture.js
@@ -80,6 +80,8 @@ function project(box, name, spec = SPEC, extra = {}) {
delete initEnv.PULLBOARD_MODEL;
// Set the fixture-only opt-out in the machine home that this exact init environment will use.
disableFixtureBackgroundView(initEnv, box.dir);
+ // The spec is in place before init, so the board's approval baseline holds its approved rows as the person's (#960).
+ writeFileSync(join(repo, 'SPEC.md'), spec);
box.runWithEnv(repo, initEnv, 'init');
const config = { gate: 'true', spec: 'SPEC.md', verify: 'any', lease: '2h', lanes: { web: { owns: ['web/'], specs: ['G'] } }, shared: [], ...extra };
writeFileSync(join(repo, 'pullboard.json'), JSON.stringify(config, null, 2));
diff --git a/test/cockpit/snapshot.test.js b/test/cockpit/snapshot.test.js
index 32afbaa8..93d93d21 100644
--- a/test/cockpit/snapshot.test.js
+++ b/test/cockpit/snapshot.test.js
@@ -730,7 +730,7 @@ test('the export asks for the full board [N26,A2]', { timeout: 90_000 }, // budg
})()`);
assert.ok(opened.title.includes('Offline greeting'), `the address opens item #1: ${opened.title}`);
assert.equal(opened.criterion, criterion, 'the exported item shows its criterion');
- assert.deepEqual(opened.verdicts, [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it\nverified against agent-approved G1']],
+ assert.deepEqual(opened.verdicts, [['REJECT', 'the first greeting needs a correction'], ['ACCEPT', 'the page shows it']],
'the exported item shows both verdicts with their notes');
assert.deepEqual(opened.moves, ['add', 'claim', 'submit', 'reject', 'claim', 'submit', 'accept'], 'the exported thread shows every move');
assert.deepEqual(opened.facts, ['The corrected greeting renders offline.'], 'the exported thread shows its fact');