Skip to content

FE-1504: Run the process-model elicitor from the Petrinaut panel on one owned document - #9345

Open
lunelson wants to merge 4 commits into
ln/fe-1431-plugin-authoring-cyclefrom
ln/fe-1504-panel
Open

FE-1504: Run the process-model elicitor from the Petrinaut panel on one owned document#9345
lunelson wants to merge 4 commits into
ln/fe-1431-plugin-authoring-cyclefrom
ln/fe-1504-panel

Conversation

@lunelson

Copy link
Copy Markdown
Contributor

🌟 What is the purpose of this PR?

🔗 Related links

  • ...

🚫 Blocked by

  • ...

🔍 What does this change?

  • ...

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing
  • modifies an npm-publishable library and I have added a changeset file(s)
  • modifies a Cargo-publishable library and I have amended the version
  • modifies a Cargo-publishable library, but it is not yet ready to publish
  • modifies a block that will need publishing via GitHub action once merged
  • I am unsure / need advice

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change
  • are in a state where docs changes are not yet required but will be
  • require changes to docs which are made as part of this PR
  • require changes to docs which are not made in this PR
    • Provide more detail here
  • I am unsure / need advice

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph
  • affected the execution graph, and the turbo.json's have been updated to reflect this
  • I am unsure / need advice

⚠️ Known issues

🐾 Next steps

🛡 What tests cover this?

❓ How to test this?

  1. Checkout the branch / view the deployment
  2. Try X
  3. Confirm that Y

📹 Demo

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview Aug 27, 2026 5:58pm
hashdotdesign-tokens Ready Ready Preview Aug 27, 2026 5:58pm
petrinaut Ready Ready Preview Aug 27, 2026 5:58pm
petrinaut-docs Ready Ready Preview Aug 27, 2026 5:58pm

Request Review

lunelson commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

@github-actions github-actions Bot added area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/tests New or updated tests area/apps labels Aug 26, 2026
@lunelson lunelson changed the title Refuse cross-principal target-document access FE-1504: Run the process-model elicitor from the Petrinaut panel on one owned document Aug 26, 2026
@lunelson
lunelson force-pushed the ln/fe-1431-plugin-authoring-cycle branch from a92dca6 to 9543278 Compare August 26, 2026 17:16
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.62%. Comparing base (3db1b81) to head (2f8e236).

Additional details and impacted files
@@                          Coverage Diff                          @@
##           ln/fe-1431-plugin-authoring-cycle    #9345      +/-   ##
=====================================================================
+ Coverage                              60.76%   65.62%   +4.86%     
=====================================================================
  Files                                   1441      965     -476     
  Lines                                 143607   118274   -25333     
  Branches                                6662     3749    -2913     
=====================================================================
- Hits                                   87262    77618    -9644     
+ Misses                                 55254    39737   -15517     
+ Partials                                1091      919     -172     
Flag Coverage Δ
apps.hash-ai-worker-py ?
apps.hash-ai-worker-ts ?
apps.hash-api 14.68% <ø> (ø)
backend-integration-tests ?
blockprotocol.type-system ?
deer ?
error-stack ?
local.claude-hooks ?
local.harpc-client 51.49% <ø> (ø)
local.hash-backend-utils ?
local.hash-graph-sdk 10.02% <ø> (ø)
local.hash-isomorphic-utils ?
local.hash-subgraph ?
rust.antsi 2.36% <ø> (ø)
rust.deer ?
rust.error-stack ?
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.24% <ø> (+0.01%) ⬆️
rust.harpc-tower 67.03% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-config 100.00% <ø> (ø)
rust.hash-graph-api 24.95% <ø> (ø)
rust.hash-graph-authentication 96.05% <ø> (ø)
rust.hash-graph-authorization 63.14% <ø> (ø)
rust.hash-graph-embeddings 91.88% <ø> (ø)
rust.hash-graph-postgres-store 32.02% <ø> (ø)
rust.hash-graph-store ?
rust.hash-graph-temporal-versioning ?
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 84.71% <ø> (ø)
rust.hash-middleware 100.00% <ø> (ø)
rust.hashql-ast 89.63% <ø> (ø)
rust.hashql-compiletest 28.39% <ø> (ø)
rust.hashql-core 78.95% <ø> (ø)
rust.hashql-diagnostics 72.51% <ø> (ø)
rust.hashql-eval 79.82% <ø> (ø)
rust.hashql-hir 89.09% <ø> (ø)
rust.hashql-mir 87.92% <ø> (ø)
rust.hashql-syntax-jexpr 94.04% <ø> (ø)
rust.sarif ?
sarif ?
tests.hash-backend-integration ?
unit-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

lunelson and others added 4 commits August 27, 2026 19:41
Stamp local target documents with an opaque owner key so multiple sessions can share one document without allowing another principal to read or mutate it.

Co-authored-by: Cursor <cursoragent@cursor.com>
Reuse one UI-shell identity across reloads and require it at the HTTP boundary so Brunch can resolve every panel session to the same owner-scoped document.

Co-authored-by: Cursor <cursoragent@cursor.com>
Route panel turns and ask replies through the SDCPN elicitor and provide one documented root command that starts the Brunch server with the real Petrinaut panel.

Co-authored-by: Cursor <cursoragent@cursor.com>
Namespace Flue sessions by the panel principal so client conversation IDs cannot cross ownership boundaries, and keep repository layout knowledge in the root launcher.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) area/tests New or updated tests type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

1 participant