LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtSep 4, 2026, 1:24 PM
updatedAtSep 4, 2026, 2:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/18271
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 4, 2026, 2:22 PM

This repository calls no PR baseline, so its PR bodies are unchecked

Closed v13.2.0/archive-v13-2-0-chunk-19 enhancementaiarchitecturebuild
neo-opus-ada
neo-opus-ada commented on Sep 4, 2026, 1:24 PM

Context

Relocated from neomjs/neo-agent-skills#46, which I filed an hour earlier and am closing in favour of this. Not a duplicate — the same leaf in the repository where the work lands and where the gate that governs it lives. The move is forced by evidence, and the evidence is the point:

The Engine's PR-body lint requires a bare, standalone Resolves #N and rejects a qualified cross-repo close target. Measured — the restored gate failed PR #18270 on its first run with exactly that:

❌ Agent PR body is missing required template anchors.
   First missing: `Resolves #N` on its own line (mandatory closing keyword —
   `Refs`/`Related` alone is not sufficient …)

The PR body carried Resolves neomjs/neo-agent-skills#46. So a consumer-caller leaf tracked in the Skills repo cannot be closed by the PR that implements it, because this repository's own gate will not accept the reference. neomjs/neo-agent-skills#40 — the Brain's equivalent leaf — will hit this identically the moment someone implements it. Flagged to @neo-gpt-emmy, who owns the governance epic.

Live latest-open sweep: checked the latest 20 open issues in neomjs/neo at 2026-09-04T11:2xZ; no equivalent. #17783 is adjacent and explicitly routes this scope away — "neo-agent-skills#14 owns cross-repository callers and required-context binding" — and it is @neo-gpt's, scoped to R2/R3. A2A in-flight claim sweep: list_messages({status: 'all', limit: 30}) — no [lane-claim] on CI governance or baseline adoption. Memory Core rationale sweep: returned the deleted gate's catch history, recorded under The Problem. Own-assignment sweep: no open assigned ticket of mine covers CI governance.

The Problem

neo-agent-skills publishes reusable-pr-baseline.yml, a workflow_call workflow owning five guard jobs. Measured on origin/dev at 2026-09-04T10:53Z:

$ git grep -n "neo-agent-skills/.github/workflows" origin/dev -- .github/
(zero hits)

This repository calls it from nowhere, so the pr-body job has never run on an Engine PR.

Not theoretical — a regression of a gate with a measured catch rate. Until 2026-08-26 this repository ran agent-pr-body-lint.yml, deleted in 91ae3604b4 (#17791). Memory Core holds repeated live catches before that: three PR bodies corrected at once for a missing self-identification anchor; a "seventh recorded hit" on the same lint with a new failure shape; a red body-lint on PR #14897 that, chased, also surfaced body-vs-branch drift across eleven commits. Since deletion, nothing has checked a PR body here, and the failure is silent — nothing red, nothing missing, just an unrun gate.

The paired local half is neo-agent-skills#24 (agent-preflight, Brain-hosted, unreachable from here). Both halves are currently absent for this repository.

The Architectural Reality

  • Called workflow: neo-agent-skills/.github/workflows/reusable-pr-baseline.yml — inputs required_base (default dev), node_version (default 24); no required secrets.
  • Caller obligation, per that file's own header: the caller owns its trigger, and types: [opened, edited, synchronize, ready_for_review] is required. edited is load-bearing — the pr-body job reads the live body, so a corrected body only re-runs if the caller fires on the edit. A reusable workflow cannot see its caller's on: block.
  • Working precedent: neomjs/devindex/.github/workflows/shared-pr-baseline.yml, green since 2026-08-29 — so cross-repo reusable calls are permitted here. It pins an older two-job version, so devindex is not getting pr-body, substrate-size or source-comment-archaeology either.
  • Zero Baseline runs in neo-agent-brain, neo-agent-institution, or neo-agent-skills itself.

Adoption is a consolidation, not an addition — the reusable workflow exposes no job-selection input, so a caller runs all five:

baseline job this repository today disposition
pr-base pr-base-guard.yml overlap
skills-materialized substrate-sync.yml is adjacent uncompared
source-comment-archaeology ticket-archaeology-lint.yml — path-scoped, mirrors DEFAULT_SCAN_PATHS; the baseline job has no path filter different scopes, not a superset
substrate-size none pure gain — closes the gap carried since c623b2f63c
pr-body none pure gain

The Fix

Add the caller with the required trigger, pinned to an immutable upstream commit. Record each overlap's disposition; delete nothing on an assumed equivalence.

Measured startup constraint, worth carrying — and my first diagnosis of it was wrong. A caller granting only contents: read produces startup_failure: no jobs, no logs, no annotations. A called job cannot request more permissions than its caller grants, and the baseline's pr-body job declares pull-requests: read because it fetches the pull request itself, so GitHub rejects the whole call before any job starts. Grant contents: read plus pull-requests: read.

I originally attributed this to a workflow-level concurrency: block, on the strength of a "minimal caller" that dispatched all five jobs. That experiment dropped concurrency AND permissions together, so it narrowed the cause to a set of two and I named one of them; the next push falsified it. neomjs/devindex's green caller reinforced the error — it runs on contents: read alone because it pins an older baseline with zero pr-body jobs, making it a precedent for the uses: coordinate and no evidence at all about permissions. concurrency is still omitted below, on its own merits: it is unnecessary on a caller whose only job is a uses:.

Decision Record impact

none. Adopts an already-selected split.

Acceptance Criteria

  • AC-1 — a caller workflow invokes reusable-pr-baseline.yml with types including opened, edited, synchronize, ready_for_review. Evidence: git grep "neo-agent-skills/.github/workflows" returning non-zero where it returned zero.
  • AC-2 — the five baseline / * jobs appear in gh pr checks on a real PR. Already observed: run 33865960472 dispatched all five.
  • AC-3 — red-first on the live PR: a body missing a required anchor makes baseline / PR body fail, and correcting it via gh pr edit turns it green with no push. Fully observed on head 468a374ce0: four runs on one unchanged SHA — success, success, failure (standalone Resolves removed), success (restored). Only baseline / PR body reddened; every sibling job stayed green, so the signal is scoped rather than a blanket re-run. This is what proves the edited trigger is wired, the one obligation the reusable workflow cannot self-check.
  • AC-4 — each of the three overlapping jobs has a recorded disposition: the superseded local workflow is deleted, or the reason it stays is written down. A census, not a spot-check.
  • AC-5 — substrate-size reports on Engine PRs. Observed green on run 33865960472 and every run since. It has only been shown to PASS; a PR touching a budgeted file is still needed to prove it can fail, which is Post-Merge Validation rather than an open AC. Note the layer: this restores a REPORTING check. dev carries no required_status_checks rule, so binding it as a merge gate stays with #17783 / neo-agent-skills#14.
  • AC-6 — neo-agent-skills#24's stale premise is corrected (it claims the hosted half was restored by #17917, which never merged). Done at IC_kwDOUEM8o88AAAABSiyxDA.

Out of Scope

  • What the five guards check — neo-agent-skills #15, #18, #25, #28/#29.
  • The Brain's caller — neo-agent-skills#40.
  • neo-agent-skills#24's doc fix. This makes that fix statable; it does not perform it.
  • Changing reusable-pr-baseline.yml, including adding job-selection inputs or teaching its pr-body job to accept cross-repo close targets. The latter is real and now demonstrated, but it is an upstream change, not a consumer leaf.
  • Re-pinning mechanics — neo-agent-skills#38.

Avoided Traps

  • Restoring agent-pr-body-lint.yml here. Exactly what #17917 attempted and @tobiu rejected: a per-repository restoration of governance five-plus repositories need identically.
  • Adding the caller and leaving the three local workflows silently in place. Two guards per concern with no stated owner; the next divergence between them is silent.
  • Deleting ticket-archaeology-lint.yml as superseded. It is path-scoped and the baseline job is not — different scopes, and the scope a guard is given is the blind spot it creates.
  • Treating this as one-line work. The file is short; the disposition of three live workflows in the main repository is not.

Related

  • neo-agent-skills#46 — this leaf as originally filed; closed in favour of this, with the reason.
  • neo-agent-skills#40 — the Brain's equivalent leaf, still open, and blocked by the same close-target gap.
  • neo-agent-skills#24 — the local half of the same enforcement pair.
  • neo-agent-skills#14 — the governance epic. @neo-gpt-emmy owns it.
  • #17791 — 91ae3604b4, the deletion that opened the gap.
  • #17917 — the closed-unmerged restoration attempt.
  • #17783 — adjacent post-split residuals; routes this scope away explicitly.

Origin Session ID: 7596538d-5324-419a-b043-95c585d833ea

Retrieval Hint: neomjs/neo calls no reusable PR baseline so pr-body and substrate-size never run on Engine PRs Retrieval Hint: Commit anchors 91ae3604b4 (the deletion) and c623b2f63c (the move that emptied the Engine side).

tobiu referenced in commit f58d233 - "ci: this repository calls the shared PR baseline, so its PR bodies are checked again (#18271) (#18270) on Sep 4, 2026, 2:22 PM
tobiu closed this issue on Sep 4, 2026, 2:22 PM