Skip to content

oss-sync: GID cache, launch perf, entrypoint set -e fix, setting-sources and plugin-sync pin - #4

Open
ramseymcgrath wants to merge 2 commits into
mainfrom
oss-sync/2026-11-19
Open

ramseymcgrath wants to merge 2 commits into
mainfrom
oss-sync/2026-11-19

Conversation

@ramseymcgrath

@ramseymcgrath ramseymcgrath commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Weekly sync from the private back2base repo. This update (2026-11-26) extends the 2026-11-19 sync through 2e75df1, the current private main. Verdicts are classified from touched paths and commit subjects.

Ported (earlier push, through af9472e)

Commit Verdict Change
fb8536a PORT Consult the docker GID cache before spawning the probe (gid.go)
4aa3cd7 PORT Skip embedded-FS hash when nothing was extracted; memoize gitRoot (run.go)
78e4abc PORT Content-address the repo overview by git tree hash
0f259c2 PARTIAL _vlog fix so a false verbose guard no longer aborts entrypoint.sh under set -e, plus bats regression

Ported (this update, af9472e..2e75df1, 50 commits considered)

Commit Verdict Change
cd68a7c PORT --setting-sources user on the interactive launch (compose.go + test) and the overview scan, so host-repo hooks do not run in the container
64fe718 PORT Pin syncClaudeAiPlugins/syncClaudeAiSkills false in defaults and in render-hooks.py, with 3 bats tests
408f4e5 PARTIAL Only the overview --no-session-persistence hunk; the rest is subscriptions, cloud env, R2 sessions

Skipped (no shared surface or out of README scope)

  • Codex delegation/steering, Tones steering, hook-message prompt management, power-steering, statusline Codex quota, OTEL/Datadog telemetry, codex-shim (9775beb datadog profile, 18f8f6b, f4b2d85, 2056852, 5b4a583, 60a6a3f, 0ca32b4, e7641ab, 111d725, 8f9874e, 85bb578, ff57267, 506f75b, 1d4ebad): no Codex in this repo.
  • Cloud only: named subscriptions 813f2c9/955dcb0, sessions and recall 829b1ab/9bffa22/259a464/352ec7c/b1c28fa, bridge bbac792, update staleness 536614e, and all workers/, services/, auth0/ commits (c11bc34, f0155e8, 1118d3f, 92ef65c, b3ad4e2, a78e676, 14bd5c0, 2e8f3e3, 6a11f7e, 318db32, 9ced399, 4381ca2, dependabot bumps 700df42/d9b0f86/f94d3a4/7665145/c99bc4d).
  • CI/runner only: f9cf369, 3ae3b15, 19e0dc1.

Held back, needs decision

  • Mixed shared/cloud hunks: 8efc6b2 (launch screen and command cleanup), 0d2b0f1 (security remediation touching Dockerfile, entrypoint, firewall), 4c60697 and 2e75df1 (Claude Code version bumps; this repo pins different versions and model refs), plus the items from the earlier list (model support chain, compose to docker run, container hardening).
  • 408f4e5 also fixes clean --dry-run without --old; this repo has no --dry-run, so n/a.

Build / test

go build ./..., go vet ./..., go test ./... pass. bats is not installed here, so the new hooks-manifest tests and the prelaunch-overview change were not run by bats; bash -n and a JSON parse of defaults/settings.json pass.

Leak scan

Scanned the added lines for back2base.net, ramseymcgrath, gmail.com, auth0, account_id, 32-hex IDs, sk-ant-, ghp_, github_pat_, private keys. No hits.

Synced-from: 2e75df189bfc4ef81dd6927b8d76c21df8dff181

…set -e fix)

- gid: consult the cache before spawning the docker probe (fb8536a)
- run: skip embedded-FS hashing when nothing was extracted; memoize gitRoot (4aa3cd7)
- container: content-address the repo overview by git tree hash (78e4abc)
- entrypoint: route verbose logging through _vlog so a false verbose guard
  can no longer abort startup under set -e (0f259c2, hand-ported)

Synced-from: af9472ef14ac2e66d10f878b0bf1c654f433935d

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TTkk48rxb1LPWmQcRLmV6
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-11-19T14:09:25.684681Z 40b4c5c 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.

@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: 40b4c5c2d7

ℹ️ 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 on lines +50 to +54
if [ -n "$tree_hash" ] && [ -f "$hash_file" ] \
&& [ "$(cat "$hash_file" 2>/dev/null)" = "$tree_hash" ] \
&& grep -q 'back2base:overview-begin' "$claude_md" 2>/dev/null; then
echo ":: overview: repo unchanged (tree ${tree_hash:0:8}…) — keeping existing overview" >&2
return 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the cached overview across startup regeneration

On normal default/auto-profile launches, this cache never hits: filter_mcp_by_profile in entrypoint.sh replaces .mcp.json on every start, making it newer than CLAUDE.md. The subsequent generate_claude_md invokes render-claude-md.py, whose mtime-based invalidation rebuilds the file from the template and removes the overview markers before this check runs. Consequently, an unchanged repository still incurs the Claude overview call and nondeterministic prompt rewrite every launch. Preserve the overview during base-file regeneration, or cache its body separately and splice it back without invoking Claude.

Useful? React with 👍 / 👎.

…verview no-persist)

- Launch claude with --setting-sources user so a host repo's
  .claude/settings.json hooks do not run in the container (compose.go and
  the prelaunch overview scan).
- Pin syncClaudeAiPlugins/syncClaudeAiSkills false in defaults and on every
  render-hooks boot, with bats coverage.
- Run the overview scan with --no-session-persistence.

Synced-from: 2e75df189bfc4ef81dd6927b8d76c21df8dff181
@ramseymcgrath ramseymcgrath changed the title oss-sync 2026-11-19: GID cache, launch perf, entrypoint set -e fix oss-sync: GID cache, launch perf, entrypoint set -e fix, setting-sources and plugin-sync pin Nov 26, 2026
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.

2 participants