Skip to content

feat!: plan racks, cabling and replacements - #43

Merged
polaz merged 3 commits into
mainfrom
feat/#38-physical-design
Nov 2, 2026
Merged

polaz merged 3 commits into
mainfrom
feat/#38-physical-design

Conversation

@polaz

@polaz polaz commented Nov 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Add persisted physical definitions, front/rear rack editing, cable ends and breakout channels with paged, authorized projections.
  • Save installation and replacement plans using shared prerequisites, postconditions, material requirements, host-bounded atomic reservations and recoverable partial manual outcomes. Evaluate allocations against their required predecessor steps and recheck current conditions at completion. Explicit actual-state reports preserve work already performed despite discrepancies.
  • Review component and whole-device replacements from sites, locations, racks and component positions, with explicit endpoint correspondence and finite, correction-safe quality counts scoped to canonical selections. Physical identity, wiring, configuration, permissions and service evidence remain distinct.
  • Keep native one-shot observation bounded and report unavailable sources with command diagnostics. Unavailable collection publishes no empty inventory; frame validation and file publication failures remain errors.
  • Document engineering and review invariants for consumer-driven storage, authority, partial knowledge and enclosure geometry.

Validation

Focused disk-backed physical and plan regressions, native macOS collection, warning-denied Clippy, formatting, generated contracts, Vue typechecking/builds and real desktop/phone Chromium workflows pass locally on macOS. Required CI runs the full workspace, alloc-only checks, native observation checks on macOS and Windows, and CodeQL.

Uses the explicit development fixture actor. Production authentication, provider execution and installable releases have separate qualification.

Replaces #42.

Closes #38

BREAKING CHANGE: Native collection source failures now exit successfully without publishing a report. Callers must inspect the collection outcome and report existence. Invalid arguments, malformed frames and file publication errors still return nonzero. Host Policy requires an explicit maximum duration for new physical reservations.

Add typed physical definitions, rack elevations, cable ends and authorized
paged projections over the existing inventory.

Use shared plans, requirements and atomic reservations for installation,
materials, replacement review and recoverable partial manual outcomes.
Preserve unknown facts, surviving logical intent and unresolved physical work.
Keep replacement decisions separate from mapping, identity and service evidence.

Bound one-shot observation with source diagnostics and publish engineering
and review guidance for data ownership, storage and contextual workflows.

Closes #38

BREAKING CHANGE: Native collection source failures exit successfully without
publishing a report. Callers must inspect the outcome and report existence.
Invalid arguments, malformed frames and publication failures remain errors.
Host Policy requires an explicit maximum duration for new physical reservations.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T09:59:31.058043Z eac28bc New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 111 files, which is 11 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 1e6f056e-0151-45ec-b394-4b13886400ec
Commits

Reviewing files that changed from the base of the PR and between 5d88d94 and eac28bc.

Files ignored due to path filters: 2
  • web/src/generated/omloom/v1/contracts.ts is excluded by !**/generated/**
  • web/src/generated/omloom/v1/workspace.ts is excluded by !**/generated/**
Files selected for processing: 111
  • AGENTS.md
  • README.md
  • crates/omloom-app/src/lib.rs
  • crates/omloom-contracts/build.rs
  • crates/omloom-contracts/src/equipment.rs
  • crates/omloom-contracts/src/equipment/tests.rs
  • crates/omloom-contracts/src/ids.rs
  • crates/omloom-contracts/tests/workspace.rs
  • crates/omloom-observe/src/command.rs
  • crates/omloom-observe/src/command/tests.rs
  • crates/omloom-observe/src/main.rs
  • crates/omloom-observe/src/native.rs
  • crates/omloom-observe/src/native/tests.rs
  • crates/omloom-observe/src/tests.rs
  • crates/omloom-store/benches/retrieval.rs
  • crates/omloom-store/examples/smoke.rs
  • crates/omloom-store/examples/workspace_bench.rs
  • crates/omloom-store/src/disk.rs
  • crates/omloom-store/src/disk/inventory.rs
  • crates/omloom-store/src/disk/tests.rs
  • crates/omloom-store/src/disk/tests/equipment.rs
  • crates/omloom-store/src/disk/workspace.rs
  • crates/omloom-store/src/disk/workspace/assets.rs
  • crates/omloom-store/src/disk/workspace/correction.rs
  • crates/omloom-store/src/disk/workspace/correction/undo.rs
  • crates/omloom-store/src/disk/workspace/current_facts/tests.rs
  • crates/omloom-store/src/disk/workspace/definitions.rs
  • crates/omloom-store/src/disk/workspace/physical.rs
  • crates/omloom-store/src/disk/workspace/physical/admission.rs
  • crates/omloom-store/src/disk/workspace/physical/availability.rs
  • crates/omloom-store/src/disk/workspace/physical/cables.rs
  • crates/omloom-store/src/disk/workspace/physical/clearance.rs
  • crates/omloom-store/src/disk/workspace/physical/completion.rs
  • crates/omloom-store/src/disk/workspace/physical/connector.rs
  • crates/omloom-store/src/disk/workspace/physical/coverage.rs
  • crates/omloom-store/src/disk/workspace/physical/current.rs
  • crates/omloom-store/src/disk/workspace/physical/equipment.rs
  • crates/omloom-store/src/disk/workspace/physical/flow.rs
  • crates/omloom-store/src/disk/workspace/physical/lifecycle.rs
  • crates/omloom-store/src/disk/workspace/physical/materials.rs
  • crates/omloom-store/src/disk/workspace/physical/positions.rs
  • crates/omloom-store/src/disk/workspace/physical/rack_grid.rs
  • crates/omloom-store/src/disk/workspace/physical/replacements.rs
  • crates/omloom-store/src/disk/workspace/physical/reservations.rs
  • crates/omloom-store/src/disk/workspace/physical/reviews.rs
  • crates/omloom-store/src/disk/workspace/physical/wiring.rs
  • crates/omloom-store/src/disk/workspace/requirements.rs
  • crates/omloom-store/src/disk/workspace/requirements/binding.rs
  • crates/omloom-store/src/disk/workspace/requirements/power.rs
  • crates/omloom-store/src/disk/workspace/responsibility.rs
  • crates/omloom-store/src/disk/workspace/source_layout/tests.rs
  • crates/omloom-store/src/disk/workspace/typed_values/tests.rs
  • crates/omloom-store/src/disk/workspace/working.rs
  • crates/omloom-store/src/lib.rs
  • crates/omloom-store/src/physical.rs
  • crates/omloom-store/src/physical/power.rs
  • crates/omloom-store/src/physical/power/tests.rs
  • crates/omloom-store/src/physical/tests.rs
  • crates/omloom-store/src/plans.rs
  • crates/omloom-store/src/plans/tests.rs
  • crates/omloom-store/src/requirements.rs
  • crates/omloom-store/src/requirements/tests.rs
  • crates/omloom-store/src/tests.rs
  • crates/omloom-store/tests/support/mod.rs
  • crates/omloom-store/tests/workspace.rs
  • crates/omloom-store/tests/workspace/physical.rs
  • crates/omloom-store/tests/workspace/physical/admission.rs
  • crates/omloom-store/tests/workspace/physical/availability.rs
  • crates/omloom-store/tests/workspace/physical/cables.rs
  • crates/omloom-store/tests/workspace/physical/clearance.rs
  • crates/omloom-store/tests/workspace/physical/endpoint_mappings.rs
  • crates/omloom-store/tests/workspace/physical/materials.rs
  • crates/omloom-store/tests/workspace/physical/mounting.rs
  • crates/omloom-store/tests/workspace/physical/occupancy.rs
  • crates/omloom-store/tests/workspace/physical/power.rs
  • crates/omloom-store/tests/workspace/physical/rack_grid.rs
  • crates/omloom-store/tests/workspace/physical/reviews.rs
  • crates/omloom-store/tests/workspace/physical/shared_loads.rs
  • crates/omloom-store/tests/workspace/responsibility.rs
  • docs/inventory.md
  • docs/storage.md
  • package.json
  • proto/omloom/v1/contracts.proto
  • proto/omloom/v1/workspace.proto
  • rust-toolchain.toml
  • web/app/App.vue
  • web/app/AssetEditor.vue
  • web/app/AvailabilityAccess.vue
  • web/app/BindingCheck.vue
  • web/app/CableEnds.vue
  • web/app/EndpointMappings.vue
  • web/app/EquipmentField.vue
  • web/app/MatingEditor.vue
  • web/app/PhysicalFacts.vue
  • web/app/PhysicalMaterials.vue
  • web/app/PhysicalOffers.vue
  • web/app/PhysicalPlanner.vue
  • web/app/PhysicalPositions.vue
  • web/app/PlacementSearch.vue
  • web/app/PlanStepControls.vue
  • web/app/PowerPathsPanel.vue
  • web/app/ReplacementReview.vue
  • web/app/RequirementsPanel.vue
  • web/app/api.ts
  • web/app/physical-elevation.ts
  • web/app/physical-units.ts
  • web/app/rack-grid.ts
  • web/browser/inventory.spec.mjs
  • web/tests/physical-elevation.test.mjs
  • web/tests/physical-units.test.mjs
  • web/tests/rack-grid.test.mjs

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 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

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3071e4f00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Require empty-slot evidence only for structural positions while retaining shared-capacity admission. Recognize dedicated port containment as an owner/operator inheritance source. Supply measured outgoing service margins in the independent replacement fixture.

Add disk-backed regressions for preview, reservation, completion and unchanged inheritance selections.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 86fe9bc80f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Qualify component-owned ports through their accepted HasPort relation. Extend the disk-backed regression across component, port and dedicated logical endpoint, including unchanged source selection and both inherited facets.

Provide explicit measured service clearances in the installation checkpoint browser fixture while retaining its prerequisite and postcondition assertions.
@polaz
polaz merged commit 95f7dc7 into main Nov 2, 2026
11 checks passed
@polaz
polaz deleted the feat/#38-physical-design branch November 2, 2026 10:12
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.

feat: plan physical infrastructure and replacements

1 participant