Skip to content

test: drop hollow prompt and span pins - #1490

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-10780-delete-hollow-tests
Oct 17, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-10780-delete-hollow-tests

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Drop hollow prompt and span pins that production never runs.

Fixes CL-10780

@linear-code

linear-code Bot commented Oct 17, 2026

Copy link
Copy Markdown

CL-10780

@corbits-triage

corbits-triage Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review · Request changes

The hollow pins are gone. isSameTool, resolveModelFamilyPolicy, the grok prefix test, and the reactor-span observer tests remain.

Findings

  • src/agent/prompt-sizes.ts:203 — directorPromptSizeTable is only imported by the deleted size-budget describe. Knip and check:dead-exports both flag it. Delete the export. Keep assembleDirectorPrompt and canonicalToolNamesForDirector; the grok-prefix test still uses them.
  • packages/prompt-fragments/src/cards.ts:296 — proberCard no longer names assert-spans.ts. That string is shipped prompt prose, not a comment about the deleted hash pin. Put it back. This PR should not change a director prompt.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review · Approve

The hollow pins are gone. directorPromptSizeTable is gone. proberCard matches main again, including the assert-spans.ts line. The grok prefix, isSameTool, and resolveModelFamilyPolicy tests remain.

No findings.

@TheGreatAxios
TheGreatAxios merged commit 9305d2e into main Oct 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant