Skip to content

[codex] Harden OKF evidence privacy and source resolution - #18

Merged
HomenShum merged 2 commits into
mainfrom
codex/okf-prod-hardening
Jun 16, 2026
Merged

HomenShum merged 2 commits into
mainfrom
codex/okf-prod-hardening

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

Summary

  • hardens OKF public/private ownership and agent access paths
  • adds provider-egress enforcement for OKF embeddings with local fallback for private/blocked routes
  • resolves OKF evidence to literal source rows/cells and gates weak source-backed cell writes as needs_review
  • adds regression coverage for private overlays, promotion, source literal opening, embedding egress, and evidence write review

Validation

  • npm run prod:gate passed before commit:
    • npm audit, security gates, QA matrix, content fluency, proof freshness, SLO gate
    • TypeScript and Convex typecheck
    • Vitest: 111 files / 579 tests
    • product-memory Playwright: 26/26
    • production build and dist security gate

Notes

  • The working tree still contains unrelated local review/design-note edits that are intentionally not included in this PR.

@vercel

vercel Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
noderoom Ready Ready Preview, Comment Jun 16, 2026 7:27am

Request Review

Changes:

- Require requester actor proof for room-visible OKF read/search/Trace Lens APIs so anonymous API callers cannot read room OKF.

- Normalize legacy missing visibility while keeping OKF concepts, chunks, and retrieval events schema-compatible with existing production rows.

- Stamp Convex OKF retrieval events with public/private visibility and ownerId, and reject private retrieval events without an owner.

- Prevent private OKF concept owner spoofing by binding private upserts to the requesting room member.

- Preserve private agent trace visibility when reindexing traces into OKF concepts.

- Gate backlinks and neighbor expansion on root concept readability before following OKF graph edges.

- Filter Trace Lens concepts, edges, event queries, and hit ids through requester visibility checks.

- Extend Convex OKF runtime tests for missing requester rejection, owner-spoof rejection, private search boundaries, private Trace Lens events, hidden hit ids, edge filtering, and redacted promotion.

- Exempt decorative co-author avatars and source-chip dots from design contrast false positives.

- Append OKF retrieval/product review notes and add the June 16 UI/UX inspiration reference map.
@HomenShum
HomenShum merged commit 2e2bfbf into main Jun 16, 2026
3 of 6 checks passed
@HomenShum
HomenShum deleted the codex/okf-prod-hardening branch June 25, 2026 22:58
HomenShum added a commit that referenced this pull request Jun 29, 2026
- Name-box + value bar above the grid: the selected cell's A1 address + FULL value (recovery
  path for any clipped cell; Excel/Sheets convention) via dataframeCellAddress + displayCellValue.
- Row-density presets (Compact / Default / Comfortable) on the sheet, persisted per artifact in
  localStorage; Compact re-enables clip+nowrap (dense), Default/Comfortable wrap - ties back to
  the soft-wrap default from #2.
Column-resize (the third #18 part) deferred.

Verified live: namebox A1 / valuebar "CardioNova"; compact->nowrap, comfortable->normal; no errors.
Typecheck/build clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
…board nav (#6) onto the fleet editor

Reconciles PR #81 with the concurrent commit 94c2986 (Nebius) that replaced the #71 cell editor
and dropped #6. Rebased onto main's editingId/.r-cell-editor editor (kept intact) + layered additively:
- #18: row-density presets (Compact clips, Default/Comfortable wrap; persisted per artifact) +
  name-box/value-bar (selected cell A1 + full value) + .num nowrap.
- #6 (restored): grid keyboard grammar - arrows move the active cell, Tab moves, Enter/F2 opens
  the fleet's editor (beginEdit), gated on locked/proposed/merged.

Verified live: namebox A1 / valuebar CardioNova; compact->nowrap, comfortable->normal; ArrowDown
moves sel (cardionova->mercury), Enter opens .r-cell-editor; no console errors. Typecheck/build clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
feat(grid): name-box/value-bar + row-density presets (audit #18)
HomenShum added a commit that referenced this pull request Jun 29, 2026
…design audit #18/#20b/#12)

#18 GenericSheet column resize: drag the header's right edge (.r-col-resize),
per-column widths persist per-artifact to localStorage (BOUND >=60px). Verified
live 112->172px exact + persisted {company:172}.

#20b Work-surface tab overflow: a <details> dropdown lists every open tab when
>1 is open, navigates on select and auto-closes. Verified 5 tabs listed, active
state correct, click switches artifact.

#12 Landing join/create modals: useFocusTrap (Tab cycle + focus restore) on
both .r-room-modal dialogs; Escape-to-close already present.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
feat(surfaces): column-resize + tab-overflow + modal focus-trap (web-design audit #18/#20b/#12)

This branch was successfully deployed

1 active deployment
Preview — 55a8d56a Deployed Jun 16, 2026 by vercel[bot]
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