fix(pstack-c1): fold design-twice into Section 1 of the eng review section, per-host transcript table, fixture and slice-cap repairs

The remote free run reported nine failures in seven files, all from this
branch: four tests encode plan-eng-review's one companion section
(eng-scope-entry-ap, autoplan-methodology-names, plan-review-cases,
review-checklists), so the design-twice pass now lives inside Section 1 of
sections/review-sections.md with the skeleton, manifest and
bin/gstack-autoplan-snapshot.ts back at main; the Codex render of
context-restore named ~/.claude/ through the all-hosts transcript table, so
{{TRANSCRIPT_SOURCES}} renders this host's row only; the transcript fixture
is declared in FREE_FIXTURES; and the two new periodic cases took the census
to 39 slices, so evals-periodic.yml's eval-slices max-parallel goes 38 -> 40.
Pins: 11 plan-eng-review re-pins at +2,896; maxSizeRatio 1.2400 (measured
1.2389); Codex gpt-5.4 overlay 159,588 bytes.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-26 22:02:47 +00:00
1 parent 6b530ccc0b
commit 0119569a6e
19 files changed
+195 -212

No files matched your search

+13 -9
View File
@@ -48,16 +48,20 @@ describe('context-restore carve: the transcript fallback', () => {
expect(skeleton).toMatch(/HARD GATE:\*\* Do NOT implement code changes/);
});
test('the host table comes from hosts/*.ts and carries Claude Code, Codex and the Capy row', () => {
const table = generateTranscriptSources();
expect(section).toContain(table);
for (const host of ALL_HOST_CONFIGS.filter(h => h.transcripts)) {
expect(table).toContain('| ' + host.displayName + ' | \u0060' + host.transcripts!.root + '\u0060 |');
}
test("the host table comes from hosts/*.ts: this host's row plus the Capy row, never another host's paths", () => {
const ctx = (host: string) => ({ host, skillName: 'context-restore', paths: { binDir: '$GSTACK_BIN' } }) as never;
expect(ALL_HOST_CONFIGS.filter(h => h.transcripts).map(h => h.name).sort()).toEqual(['claude', 'codex']);
expect(table).toContain('~/.claude/projects/<slug>/*.jsonl');
expect(table).toContain('~/.codex/sessions/');
expect(table).toContain('| Capy (any model) | none |');
const claude = generateTranscriptSources(ctx('claude'));
expect(section).toContain(claude);
expect(claude).toContain('| Claude Code | `~/.claude/projects/<slug>/*.jsonl` |');
expect(claude).not.toContain('~/.codex/');
const codex = generateTranscriptSources(ctx('codex'));
expect(codex).toContain('| OpenAI Codex CLI | `~/.codex/sessions/');
expect(codex).not.toContain('~/.claude/');
const cursor = generateTranscriptSources(ctx('cursor'));
expect(cursor).toContain('| Cursor | none |');
expect(cursor).not.toContain('~/.claude/');
for (const table of [claude, codex, cursor]) expect(table).toContain('| Capy (any model) | none |');
expect(section).toMatch(/Capy[^\n]*say so and use the shared record and git/);
});