-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Option B PR workflow — Codex review for code, direct-commit for data #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
2e7cd45
feat: Option B PR workflow — Codex review for code, direct-commit for…
gorajing e6ab051
fix: drop codex-review.yml — Codex review uses GitHub App, not workflow
gorajing c6d2c70
fix(auto-git): use -z for null-terminated git output to handle quoted…
gorajing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| <!-- | ||
| PR template for Zuhn. Codex reviews PRs against this scaffold and the | ||
| project's CLAUDE.md / AGENTS.md conventions. | ||
|
|
||
| Pure data updates (insights, principles, sources, views) flow through | ||
| post-ingest's auto-git step directly to main and do NOT use PRs. | ||
| This template is for code, schema, hooks, briefs, or docs. | ||
| --> | ||
|
|
||
| ## What this changes | ||
|
|
||
| <!-- 1-3 sentences naming the user-facing or behavior-facing change. --> | ||
|
|
||
| ## Why | ||
|
|
||
| <!-- The problem being solved or the capability being added. --> | ||
|
|
||
| ## Scope | ||
|
|
||
| - [ ] Code (scripts, schemas, agents, hooks) | ||
| - [ ] CI / GitHub workflows | ||
| - [ ] Tests | ||
| - [ ] Briefs / docs / README | ||
| - [ ] Skills | ||
| - [ ] Other: ____ | ||
|
|
||
| ## Risk surface | ||
|
|
||
| <!-- What could break if this is wrong? Which parts of the pipeline | ||
| does this touch? Add nothing if risk is low; add specifics if not. --> | ||
|
|
||
| ## Tests | ||
|
|
||
| <!-- New tests added, or rationale for not adding any. Reference test | ||
| files by path. --> | ||
|
|
||
| ## Out of scope | ||
|
|
||
| <!-- Adjacent things you noticed but did not fix here. Helps reviewers | ||
| calibrate scope and prevents scope-creep ratchet. --> | ||
|
|
||
| ## Verification | ||
|
|
||
| <!-- How you confirmed this works. Commands run, manual checks, etc. --> | ||
|
|
||
| --- | ||
|
|
||
| 🤖 If Codex review surfaces non-trivial findings, address or explicitly | ||
| acknowledge each one before merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isDataPathassumesgit diff --cached --name-onlyemits rawknowledge-base/...paths, but Git can C-quote non-ASCII filenames (defaultcore.quotePath=true), producing entries like"knowledge-base/domains/tmp-\303\261.md". In that casestartsWith("knowledge-base/")fails, so a pure data run is misclassified as containing non-data files and auto-git aborts unexpectedly. This regresses ingestion for valid Unicode-named files underknowledge-base/.Useful? React with 👍 / 👎.