Skip to content

fix(ci): settle a Codex thread that asks for the measured baseline once the Corpus job passes - #418

Merged
DrunkOnJava merged 4 commits into
mainfrom
fix/train-baseline-threads
Oct 27, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
fix/train-baseline-threads

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

land.sh replies to and resolves a Codex review thread that only asks for the measured baseline, once the Corpus job passes on the PR's current head.

When the train merges main into a PR, the PR temporarily carries main's tools/corpus/baseline.tsv until its own CI run measures the merge. Codex reviews that intermediate commit and asks for the regenerated baseline. The train then commits the baseline the run measured, but the open thread still kept the PR from landing until a person answered it. This happened on #325 and #388 on 2026-10-27, and would recur on every decoder PR in the queue. The Corpus job's ratchet is exactly the check those threads ask for. So with Corpus green on the head, land.sh replies, citing the head, and resolves the thread.

Only threads opened by the Codex bot (chatgpt-codex-connector) whose first comment names tools/corpus/baseline.tsv or tools/oracle/baseline.tsv are touched. Every other thread still stops the train.

Spec reference

Maintainer tooling only.

Test plan

Source-provenance declaration

By submitting this PR I certify that my contribution does not incorporate executable code from any source whose license is incompatible with Apache-2.0. Specifically:

  • No Autodesk DWG SDK source (RealDWG, ObjectARX, ObjectDBX) or NDA-protected Autodesk documentation was consulted or imported.
  • No Open Design Alliance Teigha / Drawings SDK source was consulted or imported. The ODA's public Open Design Specification for .dwg files PDF is explicitly allowed (see CLEANROOM.md).
  • No GPL-licensed DWG implementation source (LibreDWG, etc.) was consulted or imported. This matters because dwg-rs is Apache-2.0 and must remain compatible.

My contribution is based on:

  • The ODA's freely-redistributable Open Design Specification for .dwg files (v5.4.1);
  • Public reverse-engineering notes, research papers, or blog posts cited inline;
  • Reading algorithm-description comments (not executable code) in permissively-licensed projects (MIT / Apache / BSD) to resolve spec ambiguities — disclose any such reading in this PR body so it can be recorded in CLEANROOM.md.

See CLEANROOM.md for the full allowed/forbidden source list and the honest scope of what "clean-room" means for this project.

Developer Certificate of Origin

By submitting this PR, I certify that the contribution complies with the
Developer Certificate of Origin 1.1.
Specifically, I affirm that the contribution is my own work (or rightfully
licensed to me) and that it can be distributed under the project's Apache-2.0
license.

I will sign off commits with git commit -s when asked, which adds a
Signed-off-by trailer to the commit message asserting the DCO.

…ce the Corpus job passes

The train's merge of main carries main's baselines until the PR's own CI run
measures the merge, and Codex reviews that intermediate commit and asks for
the regenerated baseline (#325 and #388 on 2026-10-27). The train then commits
the measured baseline, but the open thread kept the PR from landing until a
person answered it. With the Corpus job green on the current head, whose
ratchet is exactly that check, land.sh replies and resolves such threads; it
touches only the Codex bot's threads that name tools/corpus or
tools/oracle/baseline.tsv.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T23:39:24.302478Z 8434dfd New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7c788118a5

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/maintainer/train/land.sh Resolved
…e corpus baseline

Codex on #418: naming a baseline file is not enough; a finding about weakened
or retired oracle comparisons passes a green Corpus job (oracle_base.py lets
the PR's retired rows go) and must keep stopping the train. The thread's title
must now ask to regenerate or re-measure the corpus baseline, its text must
name tools/corpus/baseline.tsv, and it must not mention the oracle.
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 27, 2026 23:45
@DrunkOnJava
DrunkOnJava merged commit f6971e1 into main Oct 27, 2026
25 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/train-baseline-threads branch October 27, 2026 23:53
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