Skip to content

fix: accept an existing bounded AGENTS.md for cursor, copilot and gemini init (port of #140 to main) - #141

Merged
PatrickSys merged 1 commit into
mainfrom
fix/port-140-agents-md-alias-20261204
Dec 4, 2026
Merged

PatrickSys merged 1 commit into
mainfrom
fix/port-140-agents-md-alias-20261204

Conversation

@PatrickSys

@PatrickSys PatrickSys commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Why

#140 was squash-merged into factory/038 by mistake. main still refuses an existing managed AGENTS.md when someone reinstalls through init --tools cursor, copilot, or gemini without a generation manifest.

What

  • Refresh the existing block through the shared root adapter and record it in the new manifest. Preflight and rendering use the same marker parser, which skips fenced examples and preserves text outside the managed block.
  • Refuse unmarked, example-only, and malformed files before writing. Default setup still leaves root governance opt-in, and unrelated adapter files still require manifest ownership.

Testing

  • Windows, Node 24.14.1. Focused governance tests passed 30/30, init passed 100/100, and setup passed 14/14.
  • Full rerun across 38 files passed with 2,150 passed, 4 skipped, and 0 failed. Fetching the missing release-tag Git objects into the partial clone restored the 19 historical-update fixtures.
  • Proof staleness check covered 11 runners. CLI help, fixture init/next/preflight, packaged install, and the Phase 08 packed workflow evaluation passed.

Port the root governance compatibility fix from #140 and reuse the same marker parser for preflight and rendering.

Agent: codex/01a23fec-5602-7f61-b9c5-cd3a4f6a5087
@vercel

vercel Bot commented Dec 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
workspine Ready Ready Preview Dec 4, 2026 7:37am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T07:38:43.341256Z 3232e7c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@PatrickSys
PatrickSys merged commit ed4b7cc into main Dec 4, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 3232e7c6 Deployed Dec 4, 2026 by vercel[bot]
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.

1 participant