Skip to content

feat(id): S2 of #14056 — feature hygiene from single variant source - #14503

Open
dezren39 wants to merge 1 commit into
mainfrom
oc-code-02/23501-s2-hygiene
Open

dezren39 wants to merge 1 commit into
mainfrom
oc-code-02/23501-s2-hygiene

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Implements slice S2 of #14056 (plan §7.4 / §10), rebased onto current origin/main.

Carries forward the S1 input (catalogue + manifest + hash) and the prior oc-code-05/23501-s2-hygiene work (commit eedfe0f), with the S2 done check now verified since the #14315 upstream blocker resolved (#14325 merged; Fleet Actions run 45440505886 green).

Done check evidence:

  • python3 -I pkgs/id/composition/validate.py passes (incl. new check 8).
  • bash pkgs/id/composition/golden/recheck.sh reproduces canonical bytes AND BLAKE3 hash.
  • cargo tree -e features -p id byte-identical for the Nix invocation (--features web,sandbox,ssh,world) and the cargo invocation (--features web,ssh); nix eval of id-web/id-lib buildFeatures returns the variant sets.
  • cargo check -p id-web --all-targets passes locally; remote cargo check -p id-store green.
  • build-sh-test, just-recipes-check, just --fmt --check / --dump pass.

Closes the S2 slice of #14056 (leaves S3 world split, S4+ profiles, Roc composer, catalogue hash spec untouched per scope).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T17:22:42Z",
    "session_id": "ses_e5df17a7e73ffeYm39xoTzzLeN",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "oc-code-02/6310-creator-v3-safety-outline",
      "sha": "831716d093fedb512a0e631a5b7bff8a7b6534f5"
    },
    "auth_subject": "any-n",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

- Pin resolver = "3" in the pkgs/id workspace manifest (plan §7.4).
- Remove id-web/sandbox (evidence: gated only test helpers; tests keep
  support via the id-worlds dev-dependency) and its cfg gates.
- Document member-default divergences; root facade owns effective defaults.
- Add composition/variants.toml as the single profile source consumed by
  flake.nix, justfile and scripts/build.sh; validate.py check 8 pins it.

Done check verified: Nix id-web and cargo web feature graphs are
byte-identical (cargo tree -e features); validate.py, golden recheck
(bytes + BLAKE3 hash), build-sh-test and just-recipes-check pass.

Slice S2 of #14056.
@coderabbitai

coderabbitai Bot commented Nov 24, 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 37 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a324d3af-2b91-49ae-888f-9a60efb33583
Commits

Reviewing files that changed from the base of the PR and between a05815e and 28b30fb.

Files selected for processing: 14

  • pkgs/id/Cargo.toml
  • pkgs/id/composition/README.md
  • pkgs/id/composition/catalogue.toml
  • pkgs/id/composition/s2-feature-hygiene.md
  • pkgs/id/composition/validate.py
  • pkgs/id/composition/variants.toml
  • pkgs/id/crates/id-web/Cargo.toml
  • pkgs/id/crates/id-web/src/world_ws.rs
  • pkgs/id/flake.nix
  • pkgs/id/just-recipes.json
  • pkgs/id/justfile
  • pkgs/id/scripts/build-sh-test.sh
  • pkgs/id/scripts/build.sh
  • pkgs/id/scripts/variant-features.sh
  • 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

This branch has not been deployed

No deployments
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.

1 participant