Skip to content

chore(sync): cherry-pick 6 upstream-clean commits - #111

Closed
KooshaPari wants to merge 6 commits into
masterfrom
sync/upstream-clean-batch-2026-10-17
Closed

KooshaPari wants to merge 6 commits into
masterfrom
sync/upstream-clean-batch-2026-10-17

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

User description

upstream-clean batch (2026-10-17)

Six cherry-picks from upstream 1jehuang/jcode, identified in D-prep as no-conflict candidates (~/.jcode/scratch/audit/D-prep-cherrypick-analysis.md). Each commit preserves its original subject and author metadata. The -x flag adds (cherry picked from commit <upstream-sha>) to every commit body.

Cherry-picks

# New SHA Upstream SHA Subject
1 f796f5181 d0091d078 fix(fuzzy): remove redundant slice conversion in position tracker
2 0ceb0a9a4 5cbb82c81 test: guard CLI parse exit statuses (refs 1jehuang#1823)
3 7c61f8f74 0d240f1d4 ios: support all orientations so App Store accepts iPad multitasking build
4 fd36c2987 4121a46e6 Add optional pinned Nix development shell
5 fd7d62c2d 458384094 Add .gitattributes so line endings do not depend on each contributor's global config
6 9355e74e1 7e696d778 docs: plan guided bring-your-own Google OAuth setup

Categories

Verification

No conflicts. No force-resolves. Branch off 748eeaa1e (docs handoff).


CodeAnt-AI Description

Support all iPad orientations and add contributor setup guidance

What Changed

  • The iOS app now supports portrait, upside-down portrait, and both landscape orientations for iPad multitasking.
  • Contributors can use an optional pinned Nix development environment on Linux or macOS. Git also now normalizes text line endings across contributor machines.
  • New CLI checks verify that invalid commands show usage errors, help and version exit successfully, and parsing does not create application state.
  • Adds a plan for guided Google setup with a user's own OAuth app, including setup steps and common failure guidance. This is documentation, not an implemented wizard.

Impact

✅ iPad apps support all orientations
✅ Consistent text line endings across contributor machines
✅ Optional pinned Rust setup for Nix contributors

💡 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 identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

1jehuang and others added 6 commits October 16, 2026 23:37
…s global config

Without it, text=auto is decided by core.autocrlf per machine, so the same file
is CRLF for one contributor and LF for the next. Edits written by tooling that
emits LF then land inside a CRLF working tree.

Kept minimal on purpose: a single rule, text=auto, which normalises in the
repository and converts on checkout, and still lets git detect binaries so it
is safe to apply to the whole tree.

Scope, measured rather than assumed. This makes the stored form consistent
across machines. It does NOT silence the repeated "LF will be replaced by CRLF"
warning during staging. That warning comes from core.safecrlf, which defaults
to warn and is per-machine configuration that a repository file cannot set.
Verified both halves: with only .gitattributes the warning still appears;
adding core.safecrlf=false locally removes it.

Committed blobs were never polluted (13 of 13 files edited this way contained
no CR), so neither half is about repairing bad commits.

(cherry picked from commit 4583840)
Copilot AI balanced review requested due to automatic review settings October 17, 2026 07:09
@codeant-ai

codeant-ai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 9355e74 Oct 17, 2026 · 07:09 07:14

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.

@codeant-ai

codeant-ai Bot commented Oct 17, 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

@coderabbitai

coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 50 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9802476e-9b57-44d1-b6be-74982581c08e
📥 Commits

Reviewing files that changed from the base of the PR and between 6cf71ed and 9355e74.

⛔ Files ignored due to path filters: 1
  • flake.lock is excluded by !**/*.lock
📒 Files selected for processing: 7
  • .gitattributes
  • CONTRIBUTING.md
  • crates/jcode-fuzzy/src/lib.rs
  • docs/GOOGLE_GUIDED_SETUP.md
  • flake.nix
  • ios/Sources/JCodeMobile/Info.plist
  • tests/cli_exit_status.rs
  • 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:L This PR changes 100-499 lines, ignoring generated files label Oct 17, 2026
@codeant-ai

codeant-ai Bot commented Oct 17, 2026

Copy link
Copy Markdown

CodeAnt Nitpicks

2 code suggestions

1. This normalizes repository blobs but leaves checkout line endings controlled by each contributor’s core.autocrlf, so working trees still differ as the preceding comment describes.

Possible bug · .gitattributes:10


2. This enables upside-down portrait without rotating the scanner’s capture preview, leaving the camera image inverted relative to the interface while scanning.

Logic error · ios/Sources/JCodeMobile/Info.plist:27

@codeant-ai

codeant-ai Bot commented Oct 17, 2026

Copy link
Copy Markdown

CodeAnt PR Risk: Low Risk

  • The PR appears safe to merge; the code changes are limited, and the new CLI tests cover exit codes and output streams.
  • The Nix shell is optional, and the Google setup document clearly labels its flow as a plan rather than an implemented feature.

Assessed commit: 9355e74e1ca4

KooshaPari added a commit that referenced this pull request Oct 17, 2026
Squash-merged from origin/sync/upstream-clean-batch-2026-10-17 with one
add/add conflict on docs/GOOGLE_GUIDED_SETUP.md resolved by taking the
KCode fork's existing 'Status: implemented' content (the upstream
batch's 'Status: plan' predates the KCode implementation landing).

tx-agent:     jcode
tx-validated: manual
tx-scope:     sync/upstream-clean-batch-2026-10-17
tx-intent:    forward-path 2026-10-17 batch merge (cherry-pick 6)
tx-pr:        111
@KooshaPari

Copy link
Copy Markdown
Owner Author

Squash-merged into master via the forward-path 2026-10-17 batch (see commit on master). Closing as completed.

@KooshaPari KooshaPari closed this Oct 17, 2026
@kilo-code-bot

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

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (8 files)
  • .gitattributes - No issues
  • CONTRIBUTING.md - No issues (adds optional Nix dev shell docs)
  • crates/jcode-fuzzy/src/lib.rs - No issues (minor cleanup)
  • docs/GOOGLE_GUIDED_SETUP.md - No issues (plan-only doc)
  • flake.lock - No issues (lockfile)
  • flake.nix - No issues (dev shell)
  • ios/Sources/JCodeMobile/Info.plist - No issues (orientation support)
  • tests/cli_exit_status.rs - No issues (new tests)

Reviewed by free · Input: 825.6K · Output: 38.8K · Cached: 19.6M

KooshaPari added a commit that referenced this pull request Oct 17, 2026
…ash commits)

5 of 6 audited forward-path PRs squash-merged into master via the
2026-10-17 batch (security, PR94 blockers, cherry-picks, stdin, println,
docs in priority order). 30 files / +2,900 / -78 LOC across the batch.

Master pre-batch:  3f4746e
Master post-batch: 521c66e

Per-PR squash SHAs:
  #108 -> 827ff9d  (cherry-pick from 17632a2b0)
  #109 -> 2f29ed0  (cherry-pick from 365d0a13a)
  #111 -> a1e19e5  (1 add/add conflict resolved: docs/GOOGLE_GUIDED_SETUP.md)
  #112 -> no-op      (rustls patch already in master; PR closed)
  #113 -> 7fdbe2f  (landed at cycle start; file-level cherry-pick of
                       update_product.rs only)
  #114 -> 521c66e

Source artifacts (canonical): phenotype-registry/audits/kcode-fork-forward-path-2026-10-17/
This directory: docs/audits/2026-10-17-forward-path-batch/  (HTML + PDF + README)

tx-agent:     jcode
tx-validated: manual
tx-scope:     docs/audits/2026-10-17-forward-path-batch/
tx-intent:    persist forward-path batch deliverables in source repo
tx-pr:        115
@KooshaPari KooshaPari reopened this Nov 5, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

@KooshaPari

Copy link
Copy Markdown
Owner Author

Closing under the host-ops closure audit (2026-11-11): the same change already landed on master (matching commit subject); this PR is the leftover branch. The branch sync/upstream-clean-batch-2026-10-17 is preserved on the remote, so the work is recoverable with git fetch origin sync/upstream-clean-batch-2026-10-17 or by reopening this PR. Nothing was deleted.

@KooshaPari KooshaPari closed this Nov 11, 2026
@KooshaPari
KooshaPari deleted the sync/upstream-clean-batch-2026-10-17 branch November 27, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants