Skip to content

P1 core-loop slice: meetings, faithfulness, calib, search, desktop - #26

Merged
Modsofthenation merged 4 commits into
mainfrom
cursor/p1-core-loop-slice-e5b1
Jul 26, 2026
Merged

Modsofthenation merged 4 commits into
mainfrom
cursor/p1-core-loop-slice-e5b1

Conversation

@Modsofthenation

Copy link
Copy Markdown
Owner

Summary

Implements the P1 follow-ups discussed for the solo EM workbench, on top of the Windows same-origin desktop API fix (includes PR #25 lineage).

1. Meeting transcript → MeetingSummary

  • New meeting_summaries table (default em_only, consent required)
  • Person page: paste transcript → local or AI summary; raw transcript stored as private document
  • Cloud AI respects Settings → meeting summary egress / local-only

2. Deeper faithfulness

  • Bias lint always builds evidence allowlist when cycleId/personId are present
  • Writing desk Apply all fixes mutates draft fields via server applyFaithfulnessFix
  • Expanded golden eval set (multi-cite, thin-evidence honesty, absolute+metric)

3. Deadline delivery (local)

  • GET /api/due-this-week + sticky Home tray
  • One OS Notification per session when permission granted (app must be open)

4. Calibration file bundles

  • Consistency page: export calib JSON / import director decisions into draft manager reviews

5. Framework versioning polish

  • Owner + effective dates, “framework insufficient” warnings
  • Migrate & publish with optional key map (supersedes prior version, remaps assignments)

6. Stagnation + search

  • FTS5 reviews_fts on finalize; /search page + reindex
  • Stagnation hints: flat overall / thin evidence across ≥3 cycles

7. Desktop reliability / distribution

  • Same-origin UI serve + Windows spawn hardening (from prior commits on this line)
  • get_app_version IPC; Settings Check for updates vs GitHub Releases
  • Signed silent auto-update still needs Tauri updater keys in CI (documented)

Test plan

  • pnpm --filter @prm/api test (48 pass)
  • Seed workspace → Person → save meeting summary with consent
  • Writing desk → Run lint / Apply all fixes with evidence present
  • Home due-this-week tray near cycle end
  • Consistency → export/import calib JSON
  • Roles → save metadata / migrate version
  • Search → reindex + query finalized text
  • After merge: new Windows desktop artifact unlocks past API offline
Open in Web Open in Cursor 

cursoragent and others added 4 commits July 26, 2026 00:01
Spawn Node with CREATE_NO_WINDOW, keep http://tauri.localhost (no mixed
content), broaden CORS for *.localhost, improve offline UI with log path,
and smoke-test the sidecar in CI.

Co-authored-by: Damon  <[email protected]>
Packaged builds now copy ui-dist into Tauri resources, pass PRM_UI_DIR to
the sidecar, and open the webview at http://127.0.0.1:8787/ so /api is
same-origin. Also harden Windows spawn logging and exe-relative sidecar
discovery.

Co-authored-by: Damon van der linde <[email protected]>
Ship MeetingSummary (consent + em_only), deeper faithfulness apply-all
with allowlists and expanded golden evals, due-this-week tray + OS
notifications, calibration export/import, framework owner/dates/migrate,
finalized review FTS + stagnation hints, and desktop version/update check
on top of the same-origin Windows API fix.

Co-authored-by: Damon van der linde <[email protected]>
@Modsofthenation
Modsofthenation marked this pull request as ready for review July 26, 2026 00:22
@Modsofthenation
Modsofthenation merged commit 7aa540d into main Jul 26, 2026
2 of 4 checks passed
@cursor
cursor Bot deleted the cursor/p1-core-loop-slice-e5b1 branch August 12, 2026 11:36
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.

2 participants