Skip to content

docs: record ECC backport in 2026-05-12 sync round log#73

Merged
Jamkris merged 1 commit into
mainfrom
docs/upstream-backport-note
May 13, 2026
Merged

docs: record ECC backport in 2026-05-12 sync round log#73
Jamkris merged 1 commit into
mainfrom
docs/upstream-backport-note

Conversation

@Jamkris
Copy link
Copy Markdown
Owner

@Jamkris Jamkris commented May 13, 2026

Summary

Adds a "Backports to upstream ECC" section to upstream/sync-rounds/2026-05-12.md recording the two block-no-verify bypass holes that flowed back upstream as affaan-m/everything-claude-code#1843.

Why

Per the dual-PR pattern in CONTRIBUTING.md: when a contribution to EGC is harness-agnostic and would also benefit ECC users, cross-link the two PRs so reviewers on either side can see the upstream/downstream pair. This is the first sync round where work flowed from EGC back to ECC, so the audit log should record it.

Test plan

  • `npm run lint` clean
  • `npm test` 279/279
  • Doc-only change; no source/script modifications

What ships in the upstream PR (cross-link)

  • core.hooksPath case-sensitivity bypass — was case-sensitive; `git -c core.hookspath=…` slipped past the guard.
  • -tn false positive — `COMMIT_SHORT_OPTIONS_WITH_VALUE` missing `'t'` falsely blocked legitimate `git commit -tn template`.

Both originally discovered in EGC PR #68 (commit fbf7908) by CodeRabbit's round-3 review.


Summary by cubic

Adds a “Backports to upstream ECC” section to upstream/sync-rounds/2026-05-12.md documenting two block-no-verify bypass fixes and cross-linking the upstream/downstream pair per the dual-PR pattern.

  • Bug Fixes
    • core.hooksPath case-insensitivity bypass: git -c core.hookspath=… was not caught.
    • -tn false positive: missing 't' in short options caused valid git commit -tn template to be blocked.

Written for commit e67c5e1. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • Updated audit log to document security fixes addressing two bypass vulnerabilities.
    • Added backport information detailing fixes shipped to upstream systems.

Review Change Stack

While porting 0dcde13 (block-no-verify shell-words rewrite) in
#68, CodeRabbit's round-3 review surfaced two real bypass holes
that EGC inherited verbatim from ECC:

- core.hooksPath case-sensitivity bypass (critical)
- -tn false positive (major)

Both fixes shipped to EGC in #68 (commit fbf7908). Also
backported upstream to ECC as affaan-m/everything-claude-code#1843
per the dual-PR pattern in CONTRIBUTING.md — first contribution
flowing the other direction from this sync round.

Audit log updated so the provenance is on the record.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3f6da0ee-c688-4b2a-9bc8-c696edb4194d

📥 Commits

Reviewing files that changed from the base of the PR and between 78bd25c and e67c5e1.

📒 Files selected for processing (1)
  • upstream/sync-rounds/2026-05-12.md

Walkthrough

A new "Backports to upstream ECC" subsection documents two security bypass vulnerabilities discovered during upstream ECC round-3 review: a core.hooksPath case-sensitivity bypass and a -tn false positive in commit option detection. The subsection records the EGC fix PR/commit and the upstream ECC backport PR reference.

Changes

Sync-round audit log update

Layer / File(s) Summary
Upstream ECC backport documentation
upstream/sync-rounds/2026-05-12.md
Adds a "Backports to upstream ECC" subsection documenting two bypass vulnerabilities (core.hooksPath case-sensitivity and -tn false positive) discovered in the upstream rewrite, the EGC fix location, and the upstream backport PR reference.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • Jamkris/everything-gemini-code#66: Establishes the per-commit ECC drift triage in the same sync audit log; this PR extends it with specific upstream bypass documentation.

Suggested labels

docs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: documenting ECC backports in the sync round log, which matches the file modification adding the 'Backports to upstream ECC' section.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/upstream-backport-note

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@Jamkris Jamkris merged commit b6f079b into main May 13, 2026
10 checks passed
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