Skip to content

eval selection: NOTICE.md/CHANGELOG.md/licenses should never widen the PR gate; register ETHOS.md's consumers (plus two prompt notes from #3493) #3499

Closed

Description

@capy-ai

Problem

Any PR that touches NOTICE.md, CHANGELOG.md, licenses/ or ETHOS.md makes the PR evals selection fall back to the whole gate. Evidence from #3493 (a docs-only PR: ETHOS.md principles, two SKILL.md.tmpl prose sections, docs, NOTICE.md and CHANGELOG.md):

  • The PR screen-summary job (run 40402488937) planned: [test:paid] plan: tier=gate profile=pr evalsAll=false — 82 planned across 1 slice(s), 0 skipped by diff, 62 excluded (Unknown dependencies restore every gate case and judge: ETHOS.md (real unknown dependency), NOTICE.md (real unknown dependency); …; known broad prompt checks deferred: eval-plan/SKILL.md, eval-plan/SKILL.md.tmpl).
  • gstack-ship-queue ready --pr 3493 screened the same selection: SCREEN: selection 112 e2e case(s) + 24 judge(s) (today's PR selection; T2's narrowed screen has not landed), dispatched as evals.yml run 40409629399. A local probe of computePaidCaseSelection with the lane's files minus ETHOS.md/NOTICE.md selects mode pr with one e2e case (plan-tune-inspect) and no judges.
  • scripts/test-pr-profile.ts labels both files real unknown dependency (unknownFileLabel), and test/pr-dependencies.test.ts:182 pins ETHOS.md as the canonical example of one.

So a licence line or a changelog entry costs a full gate screen (the Captain's estimate for #3493: about $30 planned for a docs PR) without any paid case reading the changed bytes.

Proposal

  1. Never-selecting release metadata. Treat NOTICE.md, CHANGELOG.md and licenses/** as files no paid case reads: add them to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts (or a sibling list with its own label, since they are not "free-only" test inputs but release metadata), with a comment naming why. The stamp already rewrites CHANGELOG.md on every train slot; today that is the one file guaranteed to differ at the stamp, and it should never widen the selection.
  2. Register ETHOS.md. office-hours/SKILL.md.tmpl and plan-ceo-review/SKILL.md.tmpl point at ETHOS.md, so the judge and e2e cases of those two skills are its real consumers. Register it under those cases in test/helpers/touchfiles-data.ts (the fix unknownFileLabel itself prints), and update test/pr-dependencies.test.ts:172-182, which currently uses ETHOS.md as the "real unknown dependency" example, to another genuinely unregistered file or a synthetic one.
  3. Keep the "unknown dependency restores the full gate" rule for everything else; this issue narrows the inputs, not the rule.

Two prompt notes from the same ship (sub-floor, recorded in #3493's Review notes)

  • plan-tune/SKILL.md.tmpl, Important Rules, "Observable questions are not the user's to answer": the bullet says a call that spends money or reaches a third-party system "is a one-way door and stays a question (see the rule above)", but the One-way doors rule above and scripts/one-way-doors.ts cover destructive, architectural and security questions only. Either reword to "is outside the observation rule and stays a question" or add spend/third-party patterns to one-way-doors.ts. docs/proactive.md already says it the first way (27305c2).
  • eval-plan/SKILL.md.tmpl, Step 1c rule 1: the heading "Nothing the candidate sees carries an eval word" is broader than the body, which exempts the project's own test directory and the skill text an arm loads as its own instructions. Rephrase the heading to match.

Both are .tmpl (prompt) edits, so they need bun run gen:skill-docs --host all, bun test test/parity-suite.test.ts and the skills' own paid cases (plan-tune-inspect; eval-plan has none registered).

Context

Filed from the /ship of #3493 (GSTA-124) at the Captain's request (GSTA-36). Related ship-queue backlog: #3485. The selection-mode evidence and the local probe are in that PR's body under "Eval Results".

Activity

  1. capy-ai commented on Oct 27, 2026

    @capy-ai
    ContributorAuthor

    Fixed by #3515 (v1.91.279.0): RELEASE_METADATA_FILES (NOTICE.md, LICENSE, licenses/) and captain/templates/ join FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts, and ETHOS.md is registered under the /office-hours and /plan-ceo-review cases in test/helpers/touchfiles-data.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions