Skip to content

Commit dbc820c

Browse files
os-support-aiclaude
andcommitted
fix(pm): spell the validator fixture's target from TARGET_OWNER, not as a slug
`check:declared-population-live` reds on main after PR B: the only path-shaped literal `scripts/pm/fleet-write/validate.mjs` declares in its own body is the fixture's `repo: 'objectstack-ai/objectstack'`, a slug that names no tracked file, so the derivation reads the family as declaring a population that reaches nothing. The fixture now spells the target as `${TARGET_OWNER}/objectstack`, which the hint extractor admits nothing out of, so the family declares nothing of its own and keeps the population it inherits from `RELAY_FILES` in ops.mjs. No `no-path-population` marker: the family inherits four live leads through the import channel, and `check:pm-dispatch-gates`' live self-test refuses a family that carries the marker while naming paths. Claude-Session: https://claude.ai/code/session_01VhatbEZCV5JJBoU579UBCG Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7bae5b5 commit dbc820c

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎scripts/pm/fleet-write/validate.mjs‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,20 @@ const battery = (name) => {
339339
};
340340
let selfTestReachedVerdict = false;
341341

342-
/** A payload every case starts from; each case mutates a copy. */
342+
/**
343+
* A payload every case starts from; each case mutates a copy.
344+
*
345+
* The target is spelled from `TARGET_OWNER`, not as one quoted slug: the
346+
* dispatch derivation reads every separator-bearing literal in this module's
347+
* body as a path this gate declares, and a slug names no tracked file, so a
348+
* bare `owner/name` here is a dead declaration `check:declared-population-live`
349+
* refuses. This gate's real population is the relay's four files, inherited
350+
* from `RELAY_FILES` in `ops.mjs` and checked on disk by the self-test below.
351+
*/
343352
export function fixturePayload(overrides = {}) {
344353
return {
345354
request_id: 'fw-20260922T090000Z-abc123',
346-
repo: 'objectstack-ai/objectstack',
355+
repo: `${TARGET_OWNER}/objectstack`,
347356
session: 'session_01ABCDEFGHJKMNPQRSTVWXYZ',
348357
actions: [{ op: 'comment', issue: 19701, body: 'Hello from the relay.' }],
349358
...overrides,

0 commit comments

Comments
 (0)