Skip to content

chore(j5): follow-ups from the v0.1.11 advance (#1066) - #1226

Merged
Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1066-advance-cleanup
Nov 24, 2026
Merged

Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1066-advance-cleanup

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Problem

The v0.1.11 advance (#1205) left three follow-ups on #1066: a J5 guard upstream now ships itself, an AGENTS.md rule the dev runner made mostly obsolete, and #444, which upstream fixed.

Closes #444: a remote update now points the service unit at the runtime it committed. Upstream pingdotgg#19652 (d0d0608b6b, in v0.1.11): Launcher calls #repointServiceUnit(committed.targetVersion) after the commit and reloads the unit. J5 only renames the program to j5, in SERVICE_UNIT_PROGRAMS. Proof: apps/server/src/serviceLauncher.test.ts, "commits and repoints $name only after the trial reports prepared" (systemd, launchd, Task Scheduler) and "keeps a durable commit through unit failure and retries a failed reload on restart". Both pass on this branch. The repoint runs in the running supervisor's code, so a service whose supervisor predates the v0.1.11 advance stays stale until someone runs j5 update or j5 service install once on that machine; from then on, updates from the app keep it current. The issue's give-back item is moot: upstream shipped this as pingdotgg#19652.

What changed

  • GB-32.

    • Upstream's fullDetail condition in apps/mobile/src/features/threads/thread-work-log.tsx now skips !row.workEntry.questionAnswer itself, as in v0.1.11.
    • This drops the "J5 (case 99)" comment on it, its row in apps/mobile/src/j5/upstreamSeams.test.ts, and case 99's sentence saying the row draws no raw item JSON.
  • AGENTS.md rule 3. I checked the runner before changing the text, with node scripts/dev-runner.ts dev --dry-run and the live server's variables inherited (T3CODE_PORT=4773, T3CODE_HOST=127.0.0.1, J5CODE_HOME=~/.j5code):

    Where it ran serverPort baseDir
    In a worktree derived (13879) the worktree's .j5code
    Outside a worktree 13773 ~/.j5code, so state goes to ~/.j5code/dev
    Outside a worktree, J5CODE_HOME=/srv/other-live 13773 /srv/other-live

    --port and --host have no fallback to the environment, and createDevRunnerEnv overwrites T3CODE_PORT and drops T3CODE_HOST. The existing tests "ignores the parent T3 server's T3CODE_PORT and T3CODE_HOST" and "drops an inherited T3CODE_HOST and T3CODE_LAN from a parent T3 server" cover this.

    So rule 3 now covers only what still applies: an inherited J5CODE_HOME in a plain clone, for dev servers and for the server CLI (pair falls back to it outside a worktree). I removed the env -u … prefixes that no longer do anything: AGENTS.md's dev-server and sharing lines, and test-t3-app, which runs in a worktree and now uses upstream's plain vp run dev. FORK case 68 no longer lists that edit.

Upstream impact

  • apps/mobile/src/features/threads/thread-work-log.tsx: case 99. The J5 edits shrink; the fullDetail lines now match v0.1.11.
  • .agents/skills/test-t3-app/SKILL.md: case 68. One J5 edit is dropped and the start command matches upstream's.

Checklist

  • One concern: the description has no "also". All three items are follow-ups from the v0.1.11 advance on Upstream advance: follow-ups from give-backs that landed upstream #1066.
  • Tests cover the changed behavior. No behavior changes: one comment and one seam row are removed, and the rest is docs. The seam test passes.
  • UI changes: none.
  • Live testing: nothing to test live. The runner's behavior was checked with --dry-run (table above).
  • Upstream-owned files: each one is recorded in FORK.md (cases 99 and 68 updated)
  • Upstream product: no change to what upstream does.
  • Surfaces: none apply.
  • Docs: AGENTS.md and FORK.md updated. No product definitions change.

vp run check:changed passes: format, lint, knip, typecheck, tests and React compiler.

Built by Claude Opus 5.5 in Claude Code (J5 Code Crew builder seat).

🤖 Generated with Claude Code

- GB-32: upstream now skips raw item detail for an answered question, so
  drop the J5 comment, its seam row and FORK case 99's sentence.
- AGENTS.md rule 3: the dev runner ignores an inherited T3CODE_PORT and
  T3CODE_HOST, so only J5CODE_HOME outside a worktree still needs unsetting;
  drop the env -u prefixes that no longer do anything, here and in
  test-t3-app (FORK case 68).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Nov 24, 2026 2:14am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 5 billable files and costs up to $1.25.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 50 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 65 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between aabc4a1 and f1eb77a.

Files selected for processing: 5

  • .agents/skills/test-t3-app/SKILL.md
  • AGENTS.md
  • FORK.md
  • apps/mobile/src/features/threads/thread-work-log.tsx
  • apps/mobile/src/j5/upstreamSeams.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jacksondr5
Jacksondr5 enabled auto-merge (squash) November 24, 2026 02:14
@github-actions github-actions Bot added the size:S 10-29 effective changed lines (test files excluded in mixed PRs). label Nov 24, 2026
@Jacksondr5
Jacksondr5 merged commit 85a5f9d into j5/main Nov 24, 2026
39 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/1066-advance-cleanup branch November 24, 2026 02:40

This branch was successfully deployed

1 active deployment
Preview — f1eb77ac Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep the service's supervisor current after an update from the app

1 participant