Skip to content

feat(decollide): rename jcode -> kcode (Phase 1: source rename) #T-31 #32

Closed

Description

@KooshaPari

Phase 1 of the KCode decollision (PR #31) is MERGED as of 2026-10-08. Phase 2 (Round 2) is now scoped.

Phase 1 Status: DONE

  • PR feat(decollide): rename jcode -> kcode (1 of 2 PRs) #31: MERGED @ 9d70bd1 (squash-merge of c85d64f, base advanced from bf8ac73 to 9d70bd1)
  • Tracking issue: this one
  • 93 crates renamed, 94 Cargo.toml updated, 1841 files changed (+19938/-19853, net +85 for shim)
  • cargo check --workspace: PASS on merged state
  • Backwards-compat shim in crates/kcode-storage/src/lib.rs (kcode_dir, app_config_dir, migrate_legacy_jcode_env, JCODE_TO_KCODE_ENV)

Operator decisions for Round 2 (RESOLVED)

# Item Decision Why
1 kcode-update-core endpoint: https://api.github.com/repos/1jehuang/jcode/releases/latest Migrate to KooshaPari/KCode/releases/latest KooshaPari/KCode has at least 1 release (v0.85.0-k1.0.0). The fork is the canonical KCode repo and should self-host.
2 README.md GitHub Releases URL: https://github.com/KooshaPari/jcode/releases Migrate to KooshaPari/KCode/releases The repo was renamed; the new URL is verified to exist.
3 Binary demo assets (docs/*.mp4, docs/jcode_reddit_dashboard.png) Leave as-is Cosmetic only; renaming would require doc reference updates. Binary files don't affect build.

Phase 2 / Round 2 PR scope (mechanical, no decisions needed)

In-scope (mechanical code changes):

  • Migrate kcode-update-core endpoint in crates/kcode-update-core/src/lib.rs to https://api.github.com/repos/KooshaPari/KCode/releases/latest
  • Migrate README.md GitHub Releases URL to https://github.com/KooshaPari/KCode/releases
  • Migrate jcode.sh references to kcode.sh (assuming new domain is provisioned — verify with operator first)
  • Migrate GHCR image references in docs and CI from ghcr.io/KooshaPari/jcode/* to ghcr.io/KooshaPari/kcode/* (after republishing GHCR image)
  • Migrate npm package names from @1jehuang/jcode-sdk → @1jehuang/kcode-sdk, etc. (after republishing npm packages)
  • Migrate jcode:// URL scheme in iOS app integration docs to kcode:// (after iOS app update)

Phase 2 / Round 2 OUT OF SCOPE (requires live infra provisioning)

These are out of scope for the source code PR and need separate operator-led infrastructure work:

  • AWS CloudFormation / IAM: JcodePhoneProvisioner, JcodePhoneCloudFormationExecution, JcodeOperator, JcodePhoneRuntimeBoundary IAM role names
  • AWS stack names: jcode-phone-server stack, jcode-dev-monthly-cost budget
  • AWS SNS topics: jcode-guard-stop, jcode-guard-warn
  • AWS Lambda functions: jcode-phone-wake, jcode-guard-breaker
  • AWS Lambda handler: scripts/phone-server/jcode-pair-service.py
  • AWS systemd units: scripts/phone-server/units/jcode-serve.service, scripts/phone-server/units/jcode-pair.service

These can be renamed in source scripts/phone-server/ only when the corresponding AWS resources are being renamed/created, which requires operator-driven Terraform or CloudFormation updates.

Historical preservation (intentional)

  • Historical audit doc .audit/jcode-assessment-2026-09-15/ — preserved as-is
  • Historical session docs under docs/sessions/ — preserved as-is
  • Upstream 1jehuang/jcode URLs in non-update code — preserved (out of scope per design)

Verification (Phase 1, post-merge)

Activity

  1. added a commit that references this issue on Oct 8, 2026
    9d70bd1
  2. KooshaPari commented on Oct 9, 2026

    @KooshaPari
    OwnerAuthor

    Phase 2 PR #34 OPEN

    Phase 2 of the decollide is now open as PR #34:
    #34

    Branch: feature/decollide-kcode-r2
    HEAD: d1e286cc2
    Base: feature/herdr-plugin-manifest (post-Phase-1-merge tip)

    Diff: 126 files changed (+522 / -454)

    Migration scope

    Phase 2 migrated:

    • kcode-update-core endpoint → KooshaPari/KCode/releases/latest (live release confirmed)
    • README.md GitHub Releases URL + GHCR image URL
    • All jcode.sh references → kcode.sh (8 crates, plus telemetry-worker, install scripts)
    • Subdomain endpoints: telemetry.jcode.sh / api.jcode.sh → *.kcode.sh
    • @1jehuang/jcode-* → @1jehuang/kcode-* (SDK + 6 platform packages)
    • iOS app: jcode:// → kcode://, JCodeKit → KcodeKit, JCodeMobile → KcodeMobile, com.jcode.mobile.* → com.kcode.mobile.*, folder renames
    • Branding ASCII art (logo-minimal.txt, logo-3d.txt)
    • CI workflow (ios-testflight.yml), .gitignore
    • TypeScript SDK shim: kcode primary, jcode legacy fallback for home dir, env vars, config dir, socket names, binary name, temp dir prefix

    Verification

    • cargo check --workspace: PASS (13m 52s, only pre-existing ratatui 0.30 deprecation warnings)

    Coordination required (operator work, separate from PR)

    Phase 2 source updates are in place, but the corresponding live infrastructure must be re-provisioned in lockstep. See PR #34 body for the full coordination list:

    1. DNS: provision kcode.sh and *.kcode.sh subdomains
    2. GHCR: re-publish ghcr.io/KooshaPari/kcode/* image
    3. npm: re-publish @1jehuang/kcode-sdk and 6 platform packages
    4. iOS: rebuild KcodeMobile and re-submit to TestFlight / App Store
    5. AWS: rename AWS infra (separate operator-led PR)

    Issue closeout plan

  3. added a commit that references this issue on Nov 11, 2026
    f40293a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions