Repository navigation
fix(server): recognize remotes in partial clones - #138
Conversation
Git appends the partial-clone filter to fetch lines in `git remote -v` (`origin <url> (fetch) [blob:none]`). The three remote-line parsers were anchored after `(fetch)`/`(push)`, so partial clones lost repository identity, listRemotes dropped the remote, and ensureRemote added a duplicate. Accept an optional trailing bracketed filter in all three. Closes #135 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Agent work on this PREstimated cost $0.00 · 0 responses · 73 sessions · 12.5 h wall time
Flags: 6 human corrections · 123 large tool outputs · 1 permission request · 64 repeated commands · 15 repeated failures · 36 repeated reads · 11 repeated skill loads · 73 sessions with usage bound to no task Details: snapshot, prices, coverage, counters
Token counters by model (native counter semantics; never added across semantics): Selected rates (USD per million tokens). These rates value the report at the selected schedule date; they do not establish historical prices or subscription spending.
Other output and reasoning are priced without double counting inclusive native output. Missing rates remain unknown. Local measurement from native records; usage totals are not billing. Updated in place by |
|
What: The exact candidate passes independent review with no blocking findings. Reviewed exact head: Review findings: none. Scope and delivery: eight files match #135; all six upstream source/test edits are recorded in both fork registries. No UI, contract, migration, versioning, or live-state work is implicated. The candidate is exact and the PR is mergeable; this review makes no merge claim or full-suite claim. Verdict: success, no supported actionable finding in the reviewed scope. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
What: Partial Git clones keep repository identity and resolve their existing remotes correctly.
Why: Three server parsers rejected the
[blob:none]suffix that Git adds after(fetch)ingit remote -v.So what: One server-only PR closes #135; the user reviews and merges it. Independent exact-head review passed; the PR remains unmerged.
The same one-line regex change accepts an optional trailing bracketed filter after
(fetch)or(push)inRepositoryIdentityResolver,GitVcsDriverCoreandGitVcsDriver. Regression tests use temporary repositories configured with Git's real promisor/filter settings; ordinary remote coverage remains. All six edited upstream source/test files are listed inscripts/fork-upstream-edits.txtand assigned to the feature indocs/fork-features.md. The implementation can go upstream unchanged.Closes #135. Parent: #113.
Elon record
Requirements and who asked: User, 2026-10-02: smallest server-only fix across all three confirmed parsers, focused red/green proof, upstream-edit records, one independently reviewed PR against
main, no merge.Deleted: No shared parser refactor, UI, migrations, deployment, installation, broad checks, sibling-work cleanup or versioning.
Bottleneck: End-anchored remote-line regex excludes the optional partial-clone filter suffix.
Checked myself: Inspected all three source regexes, canonical remote output with
[blob:none], complete eight-file final diff, red baseline record and green proof logs.Proof
Base:
86d3269c6eac9dde4697a0fce105efc2abb907e9. Candidate:e90c0147a5c3ad693de2f371b27c648a42804889.GitVcsDriverCore.test.ts:1612on an untouched line. Initial lint invocation found no files; corrected invocation actually linted the targets.git diff --checkpassed.Executed commands (worktree root unless stated):
The first command is RED, the second is GREEN; all subsequent commands exit 0. Fork feature map: 24 features OK; upstream-base fork stack check OK. Initial lint path argument was incorrect due to zsh word splitting; corrected with separate array elements. Initial fork check used a fork base instead of the upstream merge-base; corrected to the explicit upstream merge-base above. No repository configuration was changed to make proof pass.
No repo-wide tests, lint or typecheck were run. This is focused proof, not a claim of full-suite coverage. Fresh
mainadvanced tod0fbed7482655a492d44bdb5c7893751034fba91in unrelated thread-effort files; no overlap with this eight-file diff and GitHub reports the PR mergeable. The tested candidate remains unchanged.Review and cost
Independent reviewer: GPT-6-Luna via Codex, Prism role
reviewer, threadsub.sub.sub.46b03420-8643-4703-8756-8602f14b39fb.dispatcher-44fcc5b593e0.dispatcher-bd006a50f509.reviewer-39ea349ada3e.Verdict: success, no actionable findings, on exact head
e90c0147a5c3ad693de2f371b27c648a42804889. Published findings. Verified newest-first commit status list: contextreview/independent, statesuccess, creatorlukemaj, target URL the findings above. The reviewer posted both the findings and status through the authenticated account.Agent Observer:
sync, thenpublish --task toolboxmd/chromeria#135 --repo toolboxmd/chromeria --pr 138succeeded and published the cost record. Measurement gap: the report has zero attributed responses and flags sessions bound to no task. Its$0.00must not be treated as a reliable cost estimate; actual task cost remains unknown. The publish requirement is met, with attribution limitations recorded.Ready for user review. GitHub Check, all three Test Server shards, Fork Stack Model, Rust and Release Smoke passed on the candidate; the general Test job is still running. No full-CI success claim. No merge or installation authorized for this task.
Reversible assumptions and limits
/tmp/chromeria-135-gitfor the fresh worktree to leave the canonical checkout and its Git metadata read only. Existing worktrees and branches are untouched.VERSIONor.version-policy.json; the user explicitly excluded versioning.Canonical handoff: #135 (comment)
Models/harnesses: coordination and dispatch by GPT-6.1-Sol through Codex; implementation by Prism-routed Claude Opus 5.5 through Claude Code; independent review by GPT-6-Luna through Codex.