Skip to content

fix(automation): run green unit baseline - #12

Merged
mkczarkowski merged 1 commit into
claude/context-loops-bootstrapfrom
codex/night-loop-baseline-fix-20260728
Jul 27, 2026
Merged

fix(automation): run green unit baseline#12
mkczarkowski merged 1 commit into
claude/context-loops-bootstrapfrom
codex/night-loop-baseline-fix-20260728

Conversation

@mkczarkowski

Copy link
Copy Markdown
Collaborator

What changed

  • runs the bounded loop against the green root unit-test suite instead of recursively including build-dependent smoke/E2E files
  • keeps external network denied while allowing loopback-only HTTP fixtures
  • requires a zero-failure baseline and zero-failure candidate gate
  • refreshes the generated repository map

Root cause

The first real launch after #11 merged failed closed during baseline capture. bun test recursively included build-dependent suites, while the all-network-denied sandbox also prevented the local HTTP fixture from binding. That produced 12 failures instead of the assumed 8, including duplicate (unnamed) failures, so baseline pinning stopped before any Codex iteration ran.

Safety impact

This makes the unattended lint loop stricter: the root unit suite must remain fully green (469 pass / 0 fail). Codex still has no network access. Outer gates can use loopback for local fixtures, but an explicit external HTTPS probe remains blocked.

Validation

  • bun test tests/night-loop.test.ts — 12 pass / 0 fail
  • bun run typecheck
  • bun run lint — 2 pinned warnings / 0 errors
  • networkless root unit gate — 469 pass / 0 fail
  • external HTTPS probe under the gate profile — blocked
  • bun run build
  • bun run examples:catalog:check
  • bun run repo-map:check

No agent iteration or automation PR was created by the failed launch.

@mkczarkowski mkczarkowski added the automation Automated maintenance and analysis changes label Jul 27, 2026 — with ChatGPT Codex Connector
@mkczarkowski
mkczarkowski marked this pull request as ready for review July 27, 2026 23:55
@mkczarkowski
mkczarkowski merged commit a9e4416 into claude/context-loops-bootstrap Jul 27, 2026
9 checks passed
mkczarkowski pushed a commit that referenced this pull request Jul 28, 2026
…green suite

Overnight loop iteration 5.
- @types/bun 1.3.12 -> 1.3.14 (the one safe patch from context/deps-analysis.md).
  Full gate green: typecheck OK, oxlint 2 warnings / 0 errors, bun test 491 pass /
  0 fail.
- Docs told a stale truth after PR #12 made the unit suite fully green: AGENTS.md
  and both loop-engineering skills now say "suite is green; any new failure is
  yours" instead of "8 pinned failures". deps-analysis marks the bump done.
- Skipped the planned codex-loop.yml draft — superseded by scripts/night-loop.mjs
  (PRs #11/#12); duplicating automation is loop waste.
- Verified external merges before building on them: full gate on a9e4416 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GpGAGRG6UpHpCzxzgqXgMt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation Automated maintenance and analysis changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants