Repository navigation
Conversation
This was referenced Oct 29, 2026
harnesses/{index,contract,claude}.js define the per-CLI contract and wrap
the fork's Claude modules without moving them. open-terminal builds its argv
through a pure buildLaunchArgs with today's output. The index gains runtime
and sessionFile columns through the writer's column reconcile.
…x port listTranscripts takes a transcript directory like upstream, folderForProject may return null, and groupsByProject, sessionIdFromPath and an id-detection capability join the contract. The changelog check counts harnesses/ as app code.
Owner
Author
|
Decided by Jean-Baptiste in person, 2026-11-03: rebase onto main (fix the moved bg-agents/remote requires and the README conflict), rerun CI, then JB tests a fresh packaged installer as ADR 0005 requires. |
# Conflicts: # .ai/contexts/README.md
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #820. First step of the Codex CLI support port. No visible change.
Adapted from upstream work by Ali Basiri (
ac72985f,f5e38a75). The fork had diverged too far to cherry-pick, so this wraps the fork's own modules instead of moving them.harnesses/{index,contract,claude}.js: upstream's registry names, plus a contract (TranscriptStore, TranscriptParser, Launcher, ActivityClassifier, optional UsageProvider, capability flags such as subagents, continuations, liveElsewhere, bgJobs, ideBridge, sandbox, schedule, remote) andassertHarness().test/harness-contract.test.jsruns against every registered adapter. Adapters are pure: no Electron, no DB.getHarness()is a later step.open-terminalbuilds its argv through a purebuildLaunchArgs(). Nine scenarios (new, resume, missing transcript, fork, fork with worktree, non-git worktree, named worktree, all options, permission mode) were characterised before the extraction and give the same argv after it. Worktree, sandbox, pre-launch and MCP wrapping stay in main.runtime TEXT DEFAULT 'claude'andsessionFile TEXTare added through the writer's column reconcile (ADR 0004); an old schema gains both with no row loss.harnesses/**is inbuild.files, and the module-layout guard now scansharnesses/.Schema note:
session-index-store.jsadds two nullable-default columns to the sessions table on a writable open (runtime TEXT DEFAULT 'claude',sessionFile). Nothing reads them yet and older builds ignore extra columns; this is the only persistent change in an otherwise behaviour-neutral port.Updated 2026-11-03: merged main (abd011b, v0.0.103) into the branch: README conflict resolved,
harnesses/requires repointed tosrc/main/bg-agents/bg-agentsandsrc/main/remote/remote-hostsafter the ADR 0005 moves. The diff against main is otherwise identical to the approved 1ac93ca.