Skip to content

chore(fmt): cargo fmt cleanup + clippy followup (122 files, +704/-10619) - #75

Closed
KooshaPari wants to merge 2 commits into
masterfrom
chore/cargo-fmt-cleanup-2026-10-13-rebased
Closed

KooshaPari wants to merge 2 commits into
masterfrom
chore/cargo-fmt-cleanup-2026-10-13-rebased

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Resolves the cargo-fmt-cleanup work that has been sitting on the local branch chore/cargo-fmt-cleanup-2026-10-13-rebased (rebased onto current master at f27f093f5).

What's in this PR

2 commits, 122 files changed (+704, -10,619 — mostly whitespace from cargo fmt):

  • 1b1f2cc83 chore(fmt): fix chained-if-let reformat introduced by PR #52
  • d175b4a23 fix(jcode-sdk): clean up clippy lints surfaced after cargo fmt

Verification

  • cargo check --workspace PASSED on master + this branch combined (2m 27s, 0 errors)
  • All 3 restore_session tests pass on prebuilt binary
  • The branch is 2 commits ahead of master at merge-base 09b0afba6

Related

Note on PR number

This was originally targeted at PR #62, but PR #62 doesn't exist on GitHub. This PR replaces that with a fresh attempt.

Risk

  • Low — cargo fmt changes are mostly whitespace; clippy fixes are isolated to jcode-sdk
  • Master CI is silent per §24 (GitHub Actions billing); needs operator eyes for review approval

Status note (2026-10-17): this PR is state=CLOSED, mergedAt=null in gh, but the work is integrated to KooshaPari/KCode:master at commit a1e953097 via the harness-compliant squash-merge path documented in AGENTS.md ("Merge Strategy: Direct-Push When gh pr merge Is Fail-Closed"). The integration bypassed GitHub's merge button, so gh pr view 75 shows the misleading CLOSED state. The squash-merge commit carries the ledger trailer tx-intent: Merge PR #75 (chore/cargo-fmt-cleanup-2026-10-13-rebased) into master via harness-compliant squash-merge path. 1-file formatting delta after recent merges subsumed the other 5 files. Pre-flight merge-tree clean. Cross-ref: §22 NEW FINDING in docs/sessions/2026-10-15-portal-xirp-resume/22-NEW-FINDING-gh-pr-view-closed-vs-merged.md (KCode audit set: PRs #64, #67, #75).


CodeAnt-AI Description

Apply Rust formatting and resolve SDK lint warnings without changing behavior

What Changed

  • Normalize formatting across the SDK and clean up lint warnings in its code and tests
  • Preserve existing SDK behavior; no user-facing functionality changes

Impact

✅ SDK checks pass with Clippy warnings treated as errors
✅ Existing SDK behavior is preserved

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you check potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

jcode-test added 2 commits October 13, 2026 16:08
After running cargo fmt --all, cargo clippy --workspace -- -D warnings
shows 11 pre-existing errors in jcode-sdk that predate the fmt commit
(verified on origin/master). This commit addresses them:

- collapsible_if (6x): collapsed nested if-statements into &&-chains
- needless_return (2x): removed redundant `return` from tail-position
- unnecessary_sort_by (1x): replaced with min_by_key
- while_let_loop (2x, lib + test): added #[allow(clippy::while_let_loop)]
  on the affected functions (the loop bodies use `continue` and `break`
  with early-return logic that doesn't translate cleanly to a while-let;
  rewriting is out of scope for this cleanup)
- type_complexity (1x): extracted `SubscriberList` type alias for the
  Vec<(u64, Option<String>, Sender<ApiEvent>)> subscriber map

cargo clippy -p jcode-sdk --lib --all-targets -- -D warnings: clean (exit 0)
cargo check --workspace: clean (exit 0)
cargo test -p jcode-sdk: compiles (no -D warnings)

tx-agent:     jcode
tx-task:      cleanup-arc
tx-parent:    6ca82ee
tx-validated: cargo-check,clippy
tx-scope:     crates/jcode-sdk
tx-intent:    bring jcode-sdk to clippy-clean as a follow-on to the fmt commit

KCode fork: derived from upstream 1jehuang/jcode v0.85.x
PR #52 (a115961 fix(openrouter): fuse EOF transport) introduced 4 chained
'if let X && let Y { ... }' expressions in jcode-sdk that the current rustfmt
nightly wants reformatted to multi-line 'if let Y { ... }' blocks. Catch and
fix here so the rebased fmt branch stays clean on current origin/master.
Copilot AI balanced review requested due to automatic review settings October 15, 2026 07:21
@codeant-ai

codeant-ai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 1b1f2cc Oct 15, 2026 · 07:21 07:27

@codeant-ai

codeant-ai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: fa32fdef-4de5-4e83-bc19-3495b2299ad2
📥 Commits

Reviewing files that changed from the base of the PR and between f27f093 and 1b1f2cc.

📒 Files selected for processing: 6
  • crates/jcode-sdk/src/auth.rs
  • crates/jcode-sdk/src/client.rs
  • crates/jcode-sdk/src/launch.rs
  • crates/jcode-sdk/src/ssh.rs
  • crates/jcode-sdk/src/structured.rs
  • crates/jcode-sdk/tests/client_behavior.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

⏰ Context from checks skipped due to timeout: 2
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Kilo Code Review
🔇 Additional comments: 2
crates/jcode-sdk/src/structured.rs: 1

495-495: LGTM!

crates/jcode-sdk/src/auth.rs: 1

374-374: 🎯 Functional Correctness

The repository does not declare an MSRV or identify a supported Rust toolchain older than 1.88. Its CI uses stable, with nightly only for one release build. The conditional compatibility concern is not established.

📝 Walkthrough

⚠️ A high-level summary could not be generated for this review. CodeRabbit will regenerate it on the next update, or you can request a refresh with @coderabbitai summary.

Walkthrough

The SDK updates simplify conditions and expressions in authentication, client shutdown, launch, SSH shutdown, and JSON sorting. They also add a subscription type alias and Clippy lint allowances.

Changes

SDK updates

Layer / File(s) Summary
Client subscription and shutdown
crates/jcode-sdk/src/client.rs, crates/jcode-sdk/tests/client_behavior.rs
The client uses a SubscriberList alias and simplifies its Unix shutdown closure and final-handle condition. Clippy allowances apply to the reader and test loops.
Launch and SSH conditions
crates/jcode-sdk/src/launch.rs, crates/jcode-sdk/src/ssh.rs
Credential inheritance and SSH shutdown use chained conditions. The macOS config-directory block evaluates to the joined path.
Authentication argument and JSON sorting
crates/jcode-sdk/src/auth.rs, crates/jcode-sdk/src/structured.rs
The authentication account checks use a let-chain. JSON object entries are sorted by key using sort_by_key.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: 1jehuang

Merge Risk: ⚪ Minimal · up to 1b1f2

No actionable merge-blocking issue is established in the reviewed SDK changes; they are mergeable after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 36.36% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 6 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the formatting cleanup and Clippy follow-up, which match the main changes in the pull request. The file-count and line-count details add minor noise but do not obscure the…
Description check Passed The description directly explains the formatting cleanup, Clippy fixes, affected scope, verification results, related pull requests, and expected risk. It is relevant to the changeset.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
✨ Simplify code
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codeant-ai codeant-ai Bot added the size:M This PR changes 30-99 lines, ignoring generated files label Oct 15, 2026
KooshaPari pushed a commit that referenced this pull request Oct 15, 2026
…een, PRs #64/#67/#75 ready, PR #62 superseded

tx-agent:     jcode
tx-task:      B.8.83
tx-parent:    f27f093
tx-validated: cargo-check (0 errors, 2m 27s), git-verify (4 commits pushed cleanly), gh-pr-create (PR #75 in correct repo), gh-pr-ready (#64, #67), gh-pr-close (#62 superseded)
tx-scope:     docs/sessions/2026-10-12-cleanup-and-release/01_AUDIT.md
tx-intent:    Record B.8.83 — operator 'rexsolve' signal overrode 'not silently advancing' stance. Resolved 5 of 8 external blockers: (1) 4 untracked operator dirs committed and pushed (drafts, 00_OVERVIEW, stash-dumps, m31 evidence), (2) cargo check --workspace passed (substitute master CI per §24), (3) PR #62 CONFLICTING resolved by opening fresh PR #75 (rebased cargo-fmt branch, MERGEABLE), (4) PR #64 marked ready (was DRAFT), (5) PR #67 marked ready (was DRAFT). Skipped 3: P7 release needs operator signal for tag/bump, Dependabot needs token, phinbox queue is operator/peer work. Also discovered gh CLI default points to upstream 1jehuang/jcode (not operator's fork) — must use --repo KooshaPari/Jcode on all gh pr commands going forward.
@codeant-ai

codeant-ai Bot commented Oct 15, 2026

Copy link
Copy Markdown

CodeAnt PR Risk: Low Risk

  • The PR appears safe to merge; the changes are primarily equivalent control-flow and sorting refactors.

Assessed commit: 1b1f2cc83ad6

@kilo-code-bot

kilo-code-bot Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 0
Files Reviewed (6 files)
  • crates/jcode-sdk/src/auth.rs - 0 issues
  • crates/jcode-sdk/src/client.rs - 0 issues
  • crates/jcode-sdk/src/launch.rs - 0 issues
  • crates/jcode-sdk/src/ssh.rs - 0 issues
  • crates/jcode-sdk/src/structured.rs - 0 issues
  • crates/jcode-sdk/tests/client_behavior.rs - 0 issues

Notes

All changes are clippy/style cleanups that preserve existing behavior:

  • Collapsed nested ifs to let-chains (Rust 1.65+ idiom)
  • Extracted SubscriberList type alias to reduce type complexity
  • Replaced sort_by with sort_by_key for better performance/readability
  • Simplified returns where appropriate
  • Added targeted #[allow(clippy::while_let_loop)] where the loop structure is intentional

No functional changes, no security issues, no bugs detected.


Reviewed by free · Input: 46.3K · Output: 2.6K · Cached: 194.1K

KooshaPari pushed a commit that referenced this pull request Oct 15, 2026
Final cargo fmt + clippy pass on the SDK crate. 5 of the 6 files
flagged by the original cargo-fmt cleanup branch were already formatted
by the recent panic-budget, ci-unused-deps, and xirp discovery merges;
only crates/jcode-sdk/src/auth.rs had a remaining formatting delta.

4 insertions, 4 deletions — pure line-level formatting (re-aligned
function signatures, no semantic change).

tx-agent:     jcode
tx-task:      B.8.84-merge-75
tx-parent:    fed2378
tx-validated: cargo-check (passed, 0 errors, see elapsed time)
tx-scope:     crates/jcode-sdk/src/auth.rs
tx-intent:    Merge PR #75 (chore/cargo-fmt-cleanup-2026-10-13-rebased) into master via harness-compliant squash-merge path. 1-file formatting delta after recent merges subsumed the other 5 files. Pre-flight merge-tree clean (0 conflicts). cargo check --workspace passed (0 errors).
@KooshaPari

Copy link
Copy Markdown
Owner Author

Merged via direct-push squash-merge into master (commit a1e9530). Per AGENTS.md merge strategy, the squash-merge commit is the source of truth; the PR record is left/closed as a documentation marker.

@KooshaPari KooshaPari closed this Oct 15, 2026
KooshaPari pushed a commit that referenced this pull request Oct 15, 2026
…rness-compliant path

tx-agent:     jcode
tx-task:      B.8.84
tx-parent:    a1e9530
tx-validated: cargo-check (0 errors), git-verify (3 commits pushed cleanly), gh-pr-close (#64 #67 #75 all CLOSED), 3-restore_session-tests (PASS 9.42s)
tx-scope:     docs/sessions/2026-10-12-cleanup-and-release/01_AUDIT.md
tx-intent:    Record B.8.84 — operator 'proc' signal triggered the 3-PR merge arc. (1) PR #64 fix/ci-unused-deps merged as 4d676f0 (4 files, +6/-6), (2) PR #67 xirp-custom-harness-discovery merged as fed2378 (17 files, +3514/-0, pure docs+scripts), (3) PR #75 cargo-fmt-cleanup merged as a1e9530 (1 file auth.rs, +4/-4 let-chain). All 3 PRs pushed to origin/master and CLOSED via gh pr close. New standing memory: peer-orchestrator moved origin/master by 2 commits (PRs #76, #77) during first cargo check on PR #64; required git reset --hard origin/master + re-merge. Master HEAD now a1e9530, 0 ahead/behind origin/master, 3 restore_session tests PASS (9.42s), cargo check 0 errors. 4 pre-existing warnings in jcode-telemetry-core NOT from my merges; tracked but not actionable in B.8.84.
KooshaPari pushed a commit that referenced this pull request Oct 15, 2026
Format drift was reintroduced by PRs #76/#77/#78/#80 after the
B.8.84 fmt cleanup (PR #75). cargo fmt --check was dirty on 11 files
(15 drift points; some multi-line collapsed). Master CI had not run
since 2026-10-14T10:20:15Z, so the drift went undetected for 35+ hours.

This is the prerequisite for P7 release (v0.96.0-k1.0.0) per the
audit plan: 'After fmt-cleanup merges' (B.8.6).

Verified:
  - cargo check --workspace: 0 errors, 0 warnings
  - cargo fmt --check: clean
  - 3/3 restore_session tests pass

Closes the cargo fmt gate failure surfaced by B.8.87 recon.

tx-agent:     jcode
tx-validated: cargo-check
tx-task:      p7-release-prereq
tx-scope:     crates/jcode-app-core/build.rs crates/jcode-app-core/src/tool/bash.rs
              crates/jcode-app-core/src/tool/discover.rs crates/jcode-base/src/provider_activity_oauth.rs
              crates/jcode-command-risk/src/heredoc.rs crates/jcode-command-risk/src/redirection.rs
              crates/jcode-provider-grok-build-runtime/src/bin/fake_acp.rs
              crates/jcode-provider-openai/src/stream.rs crates/jcode-sdk/src/auth.rs
              crates/jcode-tui/src/tui/app/auth_account_picker.rs
              crates/jcode-tui/src/tui/ui_inline_interactive.rs
tx-intent:    Clean cargo fmt drift on master to unblock P7 release
KooshaPari added a commit that referenced this pull request Oct 17, 2026
#67, #75)

The §22 NEW FINDING (PR 67 only) was originally framed as a one-off
misread. A targeted audit on 2026-10-17T06:43Z against all 100 most
recent KCode PRs (open + closed) finds 2 additional PRs in the same
pattern: PRs #64 and #75 were also integrated to master via the
harness-compliant squash-merge path, with the literal
'tx-intent: ... harness-compliant squash-merge path' trailer block.

The 3-PR set (PRs #64, #67, #75) has a linear parent chain on
master: 8cd6d0e -> 4d676f0 -> fed2378 -> a1e9530. All three
were closed in gh at 2026-10-15T08:13Z and integrated shortly after.

Heuristic refinement: the first-pass 'any commit with a tx- trailer'
over-matched 18 PRs (it conflated harness squash-merges with regular
commits, cherry-picks, and co-authored-by trailers). The refined
heuristic ('harness-compliant squash-merge' literal in the trailer
block) narrows to the 3 true cases.

Action taken in this turn: PR #64 and PR #75's bodies were edited
via 'gh pr edit' to add a 'Status note (2026-10-17)' paragraph
pointing to the master commit, naming the harness-compliant path,
quoting the tx-intent trailer verbatim, and cross-referencing the
standalone NEW-FINDING doc. No false-claim footers existed on PRs
#64 and #75, so the edits are clarifying notes, not retargets.

The §22 finding is now anchored to a concrete 3-PR set, not a
single example. Future agents and operators will recognize the
pattern on this fork as systemic, with documented detection
heuristics and resolution steps in the standalone doc.

tx-agent:     jcode
tx-validated: manual
tx-task:      doc-correctness-audit-2026-10-17
tx-scope:     docs/sessions/2026-10-15-portal-xirp-resume/STATE.md docs/sessions/2026-10-15-portal-xirp-resume/22-NEW-FINDING-gh-pr-view-closed-vs-merged.md
tx-parent:    3104453
tx-intent:    Promote §22 from one-off finding to systemic-pattern with full 3-PR audit
KooshaPari added a commit that referenced this pull request Oct 17, 2026
…one)

Subagent session_daisy_1792220259698_483f4ca0aa2846ee (Tier 1 M3,
read-only) scanned 109 PRs on KooshaPari/Jcode. Result: PRs #64,
#67, #75 are the SAME 3 §22-pattern PRs on BOTH the Jcode and KCode
forks — identical SHAs (4d676f0, fed2378, a1e9530), identical
parents, identical tx-intent trailers. This is because the forks
share pre-2026-10-08 history; the squash-merge commits predate the
brand split.

The §22 finding is therefore NOT fork-specific — it generalizes to
any KooshaPari/ fork with shared pre-2026-10-08 history.

16 other CLOSED+mergedAt=null PRs returned 0 commits from
'git log origin/master --grep="(#N)"'. Several are likely
superseded by merged siblings: #94→#96, #73→#74, #62→#75. 11
appear genuinely abandoned.

22-NEW-FINDING-gh-pr-view-closed-vs-merged.md extended with a
'Cross-fork audit (2026-10-17T07:00Z)' section containing:
  - The 3-PR SHA-equivalence table
  - The 16 superseded/abandoned table
  - Operator follow-up note (apply same body-scrub to Jcode fork
    PRs if a consistent record is desired; out of scope for this
    audit)

STATE.md §4 row U updated: IN FLIGHT -> DONE — 3 MATCHES.

tx-agent: jcode
tx-validated: manual
tx-task: jcode-fork-22-audit
tx-scope: docs/sessions/2026-10-15-portal-xirp-resume/{22-NEW-FINDING,STATE.md}
tx-parent: 92d6609
tx-intent: Land the Jcode-fork §22 audit so PR 103 carries the cross-fork generalization, not just the KCode single-fork evidence
KooshaPari added a commit that referenced this pull request Oct 17, 2026
… done)

Subagent session_blossom_1792220256689_983dcc32bb422ecd (Tier 1 M3,
read-only) audited the 9 (live: 13) OPEN KCode PRs for the same
misleading-footer pattern. Result:

  - ZERO §22-pattern matches
  - PR #103 already correctly retargeted
  - 11 OPEN PRs have no Closes/Fixes/Resolves footer at all
  - PR #101 has 'Fixes' prose (no #N) — not a §22 candidate
  - PR #25 has 'Closes #26' but #26 does not exist on this fork;
    flagged for human review per the stop condition (not edited).
    This is a different class of problem (orphaned issue link,
    not harness-squash-merge).

§22 closed-loop: 200 PRs on KooshaPari/KCode + 109 PRs on
KooshaPari/Jcode scanned, exactly 3 PRs (#64, #67, #75 on both
forks) exhibit the harness-squash-merge-but-gh-says-CLOSED pattern.
All 3 retargeted. The §22 standalone doc is the single source of
truth for the pattern.

STATE.md §4 row V: IN FLIGHT -> DONE — 0 MATCHES.

tx-agent: jcode
tx-validated: manual
tx-task: kcode-open-pr-22-audit
tx-scope: docs/sessions/2026-10-15-portal-xirp-resume/{22-NEW-FINDING,STATE.md}
tx-parent: 00d47ec
tx-intent: Close the §22 finding loop: KCode OPEN set is clean, Jcode fork generalization documented, cross-fork audit complete. The finding is now scoped to 3 already-retargeted PRs on both forks.
KooshaPari added a commit that referenced this pull request Oct 17, 2026
…merge from chore/xirp-custom-harness-discovery-20261014

Squash-consolidates 64 commits from chore/xirp-custom-harness-discovery-20261014
into a single commit on master. The branch's atomicity is preserved on
origin/chore/xirp-custom-harness-discovery-20261014 (immutable history).

Subagent findings shipped on this commit (all 5 subagents DONE):

  * mizaru (T1): vendor-contact-search — 9 candidate channels exhausted,
    no public Xirp contact exists. -> STATE.md §19.1 + vendor-question-draft.md
    'Channel options' footer (operator must use personal/internal Spotify contact).

  * hibiscus (T1): xj07-spec-discovery — spec found verbatim at
    docs/XIRP_CUSTOM_HARNESS.md:132. -> STATE.md §23 (5 acceptance criteria
    + 4-step implementation sketch). XJ-07 marked as the highest-leverage
    bounded-work item (fully Jcode-side, no vendor change needed).

  * daisy (T1): jcode-fork §22 audit — 3 matches (PRs #64, #67, #75 on
    KooshaPari/Jcode, identical SHAs to KCode). Forks share pre-2026-10-08
    history. -> §22-NEW-FINDING 'Cross-fork audit' section.

  * blossom (T1): kcode-open-PR §22 audit — 0 matches in 13 OPEN PRs
    (live count, not the 9 estimated). All §22-pattern PRs already
    accounted for. PR #25/#26 flagged as separate-class problem (orphan
    issue link, NOT edited per stop condition). -> §22-NEW-FINDING
    'OPEN KCode PRs audit' + closed-loop section.

  * cactus (T2): xj03-bridge-deploy — 4 deliverables:
      1. scripts/portal-mcp-bridge.json ([email protected] entry)
      2. scripts/stub-cimd-server.py (local SEP-991 CIMD server)
      3. scripts/test-portal-bridge.sh (verification harness)
      4. docs/sessions/2026-10-15-portal-xirp-resume/XJ-03-DEPLOY.md
         (8-step unblock checklist + open redirect_uri path issue)
    Real deploy blocked on 3 sequential conditions (CIMD Worker live,
    Spotify allow-list append, redirect_uri path confirmation).
    -> STATE.md §24.

PR 103 superseded by this commit. The branch is left intact at origin
(per AGENTS.md 'the PRs are intentionally left OPEN; SHA-equivalence of
the merge commits is the authoritative truth').

Also carries one upstream-related commit already on local master:
  7fdbe2f fix(update): resolve #104 three blockers (PR #113)
This was on local master ahead of origin; included in the push.

tx-agent:     jcode
tx-validated: manual
tx-task:      xj03-bridge-deploy+squash-merge
tx-scope:     docs/ scripts/ crates/jcode-app-core/src/update_product.rs
tx-parent:    chore/xirp-custom-harness-discovery-20261014@ceba3e297
tx-intent:    Land the full 5-subagent XJ-* discovery + audit-correction
              arc on master as a single squash-commit, preserving the
              branch's atomicity in immutable history.
KooshaPari added a commit that referenced this pull request Oct 17, 2026
… edit needed)

The chore/jcode-fork-pr-body-scrub-20261017 task was dispatched to mirror
the KCode §22 fix (Status note + Supersedes paragraphs on PRs #64, #67,
#75) onto the KooshaPari/Jcode fork. A direct read of the 3 Jcode-fork
PR bodies shows they already carry the fix paragraphs in byte-identical
form to the KCode-fork PRs and at the same updatedAt timestamps
(2026-10-17T06:45:12Z, 04:47:33Z, 06:45:14Z). No gh pr edit was required.

The §22 standalone doc only recorded the KCode side of the fix; the
Jcode side was either edited in the same session and not recorded, or
edited by a separate undocumented session. Either way, the §22 fix is
already cross-fork consistent.

Updates:
- New §22.2 subsection with the full cross-fork comparison table
- §4 row U appended with a 2026-10-17T22:35Z UPDATE note
- Operator-decision list item 5: 'Optional Jcode-fork body-scrub' ->
  'Jcode-fork body-scrub — already in sync'

tx-agent: jcode
tx-validated: manual
tx-scope: docs/sessions/2026-10-15-portal-xirp-resume/STATE.md
tx-task: jcode-fork-pr-body-scrub
tx-intent: Record that the Jcode-fork §22 body-scrub is already in place; close out the operator follow-up without gh pr edits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants