Skip to content

feat(corporate): expose native context-bound reads and assignment previews - #1094

Merged
rldyourmnd merged 6 commits into
devfrom
feat/corporate-context-reads
Oct 25, 2026
Merged

rldyourmnd merged 6 commits into
devfrom
feat/corporate-context-reads

Conversation

@rldyourmnd

@rldyourmnd rldyourmnd commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

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 a team_ 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-gen and full just cli-check passed 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.
  • Canonical corpus/projection coverage includes a populated real team DTO, opaque IDs, duplicate/oversized/control/foreign-team refusal, and seven-harness empty inventory. Real native TCP/vault tests cover named and legacy sessions, late responses after view changes, current policy revision changes and revocation without adding operation rows or changing cached contexts.
  • Host docs-static/docs-test previously passed (29 tests).
  • New mandatory Linux 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 head 8d6fe6064872852ed490c6d81aa83f270e0a4d8e passed 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.

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