Repository navigation
feat(corporate): expose native context-bound reads and assignment previews - #1094
Merged
Merged
Conversation
This was referenced Oct 25, 2026
rldyourmnd
marked this pull request as ready for review
October 25, 2026 20:25
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add authenticated native company observations for teams, visible/member projects, project detail, technologies, immutable mapping versions, organization-scoped catalog pages and assignment previews. Every new request captures an explicit saved context or resolves the selected default once; retained operations are never retargeted.
The held native enrollment verifies account/device/origin and fresh membership/capabilities before and after HTTP. Changed authority, foreign organization/project/account data and duplicate IDs refuse the result. Canonical generated DTO schemas and their source fixtures are included together. Projection drops unknown extensions recursively; typed additional-property maps retain their declared keys. Team IDs follow the actual opaque DTO contract: the server currently creates them with
operation_IDs. The reader bounds them and checks tenant/uniqueness without inventing ateam_namespace.All seven harnesses use the actual assignment API with an explicitly empty managed inventory. The result is observation-only and cannot authorize installation. The corporate catalog projects the public authoritative catalog; an assignment does not publish a private setup or promote experimental data. Private assigned coordinates resolve separately in previews, subject to their actual access.
Validation of unchanged native source after the ancestry-only merge at
7eeed6673a255d4337b08da50146131647568173:just cli-genand fulljust cli-checkpassed using existing managed native caches: Clippy, 68 library tests, integrations, optimized binaries and consumer proof (51 snapshot tables, SQLite 3.53.2). No checkout-local Cargo target was created.just cli-corporate-regress/CI code runs the optimized native binary against the actual API and an isolated migrated PostgreSQL database. It exercises two same-origin accounts with distinct keys, a preserved legacy enrollment, offline/authenticated personal views, company reads/mappings, harness-specific assignment selection, explicit project membership, revocation, replay and unchanged native identity/context/operation records. Only synthetic browser-code approval is supplied by the fixture. The exact final head8d6fe6064872852ed490c6d81aa83f270e0a4d8epassed this mandatory actual API/PostgreSQL journey in Linux job 121275420157: two independent accounts, seven harness previews, preserved legacy session, membership revocation refusal and zero added read-operation rows. All 27 repository jobs, all three desktop/package jobs, CLI archive jobs, CodeQL and branch policy passed.#1093 shipped to main through #1097; its ancestry return #1098 is being qualified before this integration. Part of #1072 under #1070; qualified checkout/project/harness bindings, cache policy, full installation delivery and remaining acceptance stay open. No live SSO linking, provider/harness writes or public client release tag is performed here. Roll back with a corrective revert through dev/main, preserving credentials and existing operations.