Repository navigation
oss-sync: GID cache, launch perf, entrypoint set -e fix, setting-sources and plugin-sync pin - #4
ramseymcgrath wants to merge 2 commits into
Conversation
…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
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
| 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 |
There was a problem hiding this comment.
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
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)_vlogfix so a false verbose guard no longer aborts entrypoint.sh underset -e, plus bats regressionPorted (this update,
af9472e..2e75df1, 50 commits considered)--setting-sources useron the interactive launch (compose.go + test) and the overview scan, so host-repo hooks do not run in the containersyncClaudeAiPlugins/syncClaudeAiSkillsfalse in defaults and in render-hooks.py, with 3 bats tests--no-session-persistencehunk; the rest is subscriptions, cloud env, R2 sessionsSkipped (no shared surface or out of README scope)
9775bebdatadog profile,18f8f6b,f4b2d85,2056852,5b4a583,60a6a3f,0ca32b4,e7641ab,111d725,8f9874e,85bb578,ff57267,506f75b,1d4ebad): no Codex in this repo.813f2c9/955dcb0, sessions and recall829b1ab/9bffa22/259a464/352ec7c/b1c28fa, bridgebbac792, update staleness536614e, and all workers/, services/, auth0/ commits (c11bc34,f0155e8,1118d3f,92ef65c,b3ad4e2,a78e676,14bd5c0,2e8f3e3,6a11f7e,318db32,9ced399,4381ca2, dependabot bumps700df42/d9b0f86/f94d3a4/7665145/c99bc4d).f9cf369,3ae3b15,19e0dc1.Held back, needs decision
8efc6b2(launch screen and command cleanup),0d2b0f1(security remediation touching Dockerfile, entrypoint, firewall),4c60697and2e75df1(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).408f4e5also fixesclean --dry-runwithout--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 -nand 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