Skip to content

fix(repo-keeper): match mid-name .pre-warm / .resume-build residue (#16014) - #16331

Merged
developing-today-fleet[bot] merged 2 commits into
mainfrom
lane-1537g/16014-residue-guard
Nov 27, 2026
Merged

developing-today-fleet[bot] merged 2 commits into
mainfrom
lane-1537g/16014-residue-guard

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16014

What

RESIDUE_RE in nixos/home/laptop-repo-keeper.sh anchored the .pre-warm and resume-build alternatives at the start of a path segment, so the mid-name residue forms the warm-up scripts actually produce — e.g. bin/codex-proxy.mjs.pre-warm-20261024 (one of the 34 residue paths PR #4320 itself deleted) — were not guarded, and the keeper test seeded only the leading-dot shape that already matched.

  • \.pre-warm[^/]* → [^/]*\.pre-warm[^/]* (covers both leading .pre-warm-state and mid-name codex-proxy.mjs.pre-warm-<date>)
  • adds [^/]*\.resume-build(-[^/]*)? alongside the exact-basename resume-build (covers bin/foo.resume-build)
  • keeper test seeds both new exact shapes in the residue case, which asserts the snapshot is refused and every seeded path is reported

Oracle / no over-broadening

Checked mechanically against the keeper's own grep -Ei application: all previously matched classes (.bak, .bak-*, .backup, leading .pre-warm, exact resume-build, *.mjs.new) still match; the two mid-name forms now match; legitimate shapes still do not (bin/codex-proxy.mjs, src/pre-warm.txt, bin/resume-builder.md, docs/file.backup2, x/resume-build.txt, ordinary tracked files).

Verification

Pending at open: bash nixos/home/laptop-repo-keeper.test.sh on this exact head via fleet-command dispatch — run link and log verdict will be posted here and on #16014 before merge. Merge only on log-verified success + CLEAN/MERGEABLE + head stable.

Authored by lane 1537-G (alpha DRIVE) via the Git-API contents route only (no clones, no local builds). Claim: #16014 (comment)

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-27T21:47:18Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3eac2937-ffce-4e37-97d5-12f0a339125d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Agent note · verification evidence — lane 1537-G

Verification run: fleet-command run 46072581289 (developing-today/fleet) https://github.com/developing-today/fleet/actions/runs/46072581289 — completed / success, dispatch_id 1537G-16331, ref pinned to this PR's exact head.

Log verified firsthand (job 140752931586):

  • Target HEAD exact: a2cb085b4026c57678c6e00972826b637e95fd73 (line 704 of the job log; the in-leg git rev-parse HEAD equality test passed before the test ran)
  • all laptop-repo-keeper tests passed (21:53:48Z), step outcome=success, 0 FAIL: lines in the log

The keeper suite includes the new residue case shapes from this PR (bin/codex-proxy.mjs.pre-warm-20261024, bin/foo.resume-build): the residue case asserts the snapshot is refused and every seeded path is reported.

Pre-merge state: OPEN, non-draft, CLEAN / MERGEABLE, head a2cb085 stable. Merging under standing merge authority.

@developing-today-fleet
developing-today-fleet Bot merged commit fc67c2f into main Nov 27, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the lane-1537g/16014-residue-guard branch November 27, 2026 22:05
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.

repo-keeper: residue guard misses mid-name .pre-warm-* files — PR #4320's RESIDUE_RE only matches leading-dot basenames

0 participants