Skip to content

chore: simplify repository layout and agent skills - #5

Merged
feichai0017 merged 1 commit into
mainfrom
chore/repository-layout
Nov 15, 2026
Merged

feichai0017 merged 1 commit into
mainfrom
chore/repository-layout

Conversation

@feichai0017

@feichai0017 feichai0017 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Project authoring skills belong under .agents/skills/. The counting-only example is an installed-wheel regression control, so it now lives under tests/installed/ and still runs from the isolated built wheel.

This removes the source-mirror manifest, duplicate LICENSE/NOTICE copies, superseded source audit and pointer-only architecture-plan page. Runtime, Rust core, model implementations and their ownership tests are unchanged. The active DeepSeek kernel sources under its model package remain intact.

Third-party attribution remains in the root and three model-package NOTICE files, with the original attribution sections byte-identical. Those four notices are the only remaining case-insensitive Resin name matches in tracked files. Package names are still OrbitInfer. The source check now validates package names, model imports and packaged notices without freezing the tree to an old 616-file inventory. The initial test evidence remains explicitly historical. External updates are reviewed manually; there is no automatic synchronization.

This PR is stacked on #4, which depends on #3. It does not merge either pending owner change.

Upstream review, checked 2026-11-15

Compared the original source revision a1989594d81921be3bffe43804eb0550b216ca64 with current upstream main a6d046f: one commit, 10 files, +532/-405.

  • Replaces the exact-token trie with a SHA-256 checkpoint index and LRU cache; longest usable-prefix lookup and page-owner eviction remain.
  • Holds an incremental per-request prefix identity extended by accepted output, avoiding reconstruction of the whole token identity for each publication.
  • Adds/updates prefix hashing, namespace, eviction and overlap controls. This is not a replacement for our explicit model/weights/layout/shard identity or outcome/retirement receipts.
  • Both newly added engine regressions were temporarily adapted to the current OrbitInfer constructor and passed: growing_prefix_identity_keeps_media_namespace_and_accepted_decode_suffix and drained_continuation_prefix_includes_previously_accepted_output. Temporary sources/logs remain outside Git.
  • The exact upstream prefix module was also compiled in an isolated temporary crate on Rust 1.96: all 8 unit cases passed. This is module validation, not an upstream full-suite or performance claim.
  • No upstream runtime change is ported here. A hash-index adoption should be reviewed and measured separately against the current cache owners.

Handoff

  • Commit: 8ca8e45.
  • Scope: repository layout, source/package checks and documentation. No runtime behavior, protocol or dependency change.
  • Validation: uv run --no-sync python scripts/check.py passed (311 Rust tests; 2,461 Python passed, 551 explicit skips; formatting, Clippy, doctests, Ruff, isolated CPU wheel/runtime check and all three model builds/imports). ty check, uv lock --check --offline, git diff --check and all moved skill links pass.
  • uv build --sdist passes. Archive inspection confirms no removed snapshot/example paths and byte-identical current LICENSE/NOTICE. Original attribution sections in all four notices remain unchanged.
  • Final head 8ca8e45 has 5/5 CI checks passed: Linux/macOS full gates and 50-round controls, Clippy and lint/types, and Apple/MLX controls. No GPU/model qualification, package publication or changes to OrbitKV/OrbiTE.
  • Net delta: -4,428 lines (+118/-4,546); 25 files including detected moves.

@feichai0017
feichai0017 marked this pull request as ready for review November 15, 2026 12:46
Copilot AI balanced review requested due to automatic review settings November 15, 2026 12:46

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 insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@feichai0017
feichai0017 changed the base branch from feat/orbitkv-local-dram to main November 15, 2026 12:58
@feichai0017
feichai0017 merged commit 46d5a40 into main Nov 15, 2026
5 checks passed
@feichai0017
feichai0017 deleted the chore/repository-layout branch November 16, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants