Skip to content

Benchmark: isolate page-intent skill input - #98

Merged
noeltock merged 1 commit into
mainfrom
codex/issue-90-page-engine
Sep 11, 2026
Merged

Benchmark: isolate page-intent skill input#98
noeltock merged 1 commit into
mainfrom
codex/issue-90-page-engine

Conversation

@noeltock

Copy link
Copy Markdown
Member

Problem

The page-intent benchmark engine loaded the whole skill bundle and tied its cache identity to registered-block authoring sources it never uses. Closes #90.

Solution

The page engine now reads only GUIDE.md then ASSEMBLE.md, and hashes that exact ordered text in its prompt identity and provenance. The public block-runner skill command still reads the complete bundle.

Diff

+180 −58 · 6 files · no public API or model call change

page engine: GUIDE.md + ASSEMBLE.md -> prompt + provenance + cache key
CLI skill:   complete bundle        -> unchanged

Testing & verification

Reviewed revision: 43f0922

  • npm run typecheck — passed.
  • npx --no-install vitest run dev/test/benchmark.test.ts dev/test/skill.test.ts dev/test/engine-skill.test.ts — passed.
  • npx --no-install vitest run dev/test/cli.test.ts -t 'prints the agent guide with skill' — passed.
  • git diff --check — passed.

Mocked filesystem/subprocess tests cover exact ordering, Unicode, missing selected input, newline normalisation, and selected versus excluded reference changes. The selected prompt is 27,566 UTF-8 source bytes at this revision; no model-quality, latency, or score claim was measured.

Risk / rollout

Historical records are untouched. The changed identity prevents reuse of the old full-bundle cache; reverting this commit restores the former prompt coupling.

@noeltock
noeltock force-pushed the codex/issue-90-page-engine branch from 43f0922 to c4c08f8 Compare September 11, 2026 12:18
@noeltock
noeltock force-pushed the codex/issue-90-page-engine branch from c4c08f8 to 6d349b3 Compare September 11, 2026 13:09
@noeltock
noeltock merged commit d498ecd into main Sep 11, 2026
9 checks passed
@noeltock
noeltock deleted the codex/issue-90-page-engine branch September 11, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmark engine: load only page-intent references and hash the actual prompt

1 participant