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 -10
View File
@@ -2,10 +2,12 @@
* Transcript resolvers for /context-restore's no-checkpoint fallback
* (context-restore/sections/transcripts.md.tmpl).
*
* {{TRANSCRIPT_SOURCES}} → the table of transcript stores, one row per host
* that declares `transcripts` in hosts/<name>.ts,
* plus the Capy row (none; the harness keeps no
* transcript on the machine).
* {{TRANSCRIPT_SOURCES}} → the table of transcript stores for THIS host
* (its `transcripts` row from hosts/<name>.ts, or
* a none row) plus the Capy row (none; the harness
* keeps no transcript on the machine). Only the
* rendering host's paths appear: a Codex render
* never names ~/.claude/.
* {{TRANSCRIPT_DISCOVERY}} → the bash block that lists THIS host's transcript
* files for the current workspace only, inside the
* window, and prints `TRANSCRIPTS: none (...)` on
@@ -16,19 +18,20 @@
* never hand-writes them. test/context-restore-transcripts.test.ts runs the
* discovery block against fixture transcripts.
*/
import { ALL_HOST_CONFIGS, getHostConfig } from '../../hosts/index';
import { getHostConfig } from '../../hosts/index';
import type { TemplateContext } from './types';
export const CAPY_NO_TRANSCRIPTS = 'TRANSCRIPTS: none (Capy keeps no session transcript on this machine; use the shared record and git)';
export function generateTranscriptSources(): string {
const rows = ALL_HOST_CONFIGS
.filter(h => h.transcripts)
.map(h => `| ${h.displayName} | \`${h.transcripts!.root}\` | ${h.transcripts!.layout} |`);
export function generateTranscriptSources(ctx: TemplateContext): string {
const host = getHostConfig(ctx.host);
const row = host.transcripts
? `| ${host.displayName} | \`${host.transcripts.root}\` | ${host.transcripts.layout} |`
: `| ${host.displayName} | none | this host declares no transcript store gstack may read; use the shared record and git |`;
return [
'| Host | Transcripts | How this workspace\'s files are told apart |',
'|---|---|---|',
...rows,
row,
'| Capy (any model) | none | the harness keeps no transcript on the machine; say so and use the shared record and git |',
].join('\n');
}