Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ jobs:
run node tools/durable_chat_queue_browser.mjs
run node tools/canonical_version_history_browser.mjs
run node tools/rules_source_browser.mjs
run node tools/hosted_source_permission_browser.mjs
run node tools/exact_representation_browser.mjs
run node tools/covers_browser.mjs
exit "$status"
Expand Down
6 changes: 0 additions & 6 deletions CONFORMANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,6 @@ model does not sanction.
| --- | --- | --- |
| `FA-03` | `build` | The browser host refuses unsupported channels and invalid contracted responses with typed errors |

## hosted-source-permission

| ID | Level | Statement |
| --- | --- | --- |
| `FA-83` | `build` | Stateful preview parsing and checking transmit source only under disclosed source-bound or turn-scoped revocable hosted permission |

## in-tab-kernel-verdict

| ID | Level | Statement |
Expand Down
8 changes: 3 additions & 5 deletions app/product.json
Original file line number Diff line number Diff line change
Expand Up @@ -765,22 +765,20 @@
},
{
"name": "Versions and preview",
"text": "Version history keeps content identity; a preview restores exact source, starts only as allowed and sends source only under permission.",
"text": "Version history keeps content identity; a preview restores exact source, starts only as allowed and sends no source anywhere.",
"ids": [
"FA-39",
"FA-52",
"FA-53",
"FA-54",
"FA-55",
"FA-82",
"FA-83"
"FA-82"
],
"calls": [
"VersionPreview::transitionPreview",
"VersionPreviewProtocol::dispatchPreview",
"FoundrySpecification::previewPermissionBoundary",
"FoundrySpecification::previewAutoStartBoundary",
"FoundrySpecification::hostedSourcePermissionBoundary"
"FoundrySpecification::previewAutoStartBoundary"
],
"registry": [
"version-history",
Expand Down
9 changes: 1 addition & 8 deletions app/src/Features.lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1177,13 +1177,6 @@
body: "crates/conformance/tests/preview_auto_start.rs::preview_auto_start_fa_82"
}

definition{
name: testFA83,
parameters: [],
result: String,
body: "crates/conformance/tests/hosted_source_permission.rs::hosted_source_permission_fa_83"
}

definition{
name: acceptInteractionModelInteractionSilentWithoutConsent,
parameters: [],
Expand Down Expand Up @@ -1615,7 +1608,7 @@
name: featureVersionsAndPreview,
parameters: [],
result: Foundation.Arch::Feature,
body: (record Foundation.Arch::Feature {statement := "Versions and preview (FA-39, FA-52, FA-53, FA-54, FA-55, FA-82, FA-83): Version history keeps content identity; a preview restores exact source, starts only as allowed and sends source only under permission.", calls := (cons "VersionPreview::transitionPreview" (cons "VersionPreviewProtocol::dispatchPreview" (cons "FoundrySpecification::previewPermissionBoundary" (cons "FoundrySpecification::previewAutoStartBoundary" (cons "FoundrySpecification::hostedSourcePermissionBoundary" (cons "FoundrySpecification::versionHistoryBoundary" (cons "VersionPreview::boundary" (cons "FoundrySpecification::durableVersionPreviewBoundary" (cons "FoundrySpecification::messageRestorationBoundary" (nil String)))))))))), acceptance := (cons "Features::acceptVersionPreviewPreviewSelect" (cons "Features::acceptVersionPreviewPreviewStaleRevision" (cons "Features::acceptVersionPreviewProtocolPreviewWireSelect" (cons "Features::testFA39" (cons "Features::testFA52" (cons "Features::testFA53" (cons "Features::testFA54" (cons "Features::testFA55" (cons "Features::testFA82" (cons "Features::testFA83" (nil String)))))))))))})
body: (record Foundation.Arch::Feature {statement := "Versions and preview (FA-39, FA-52, FA-53, FA-54, FA-55, FA-82): Version history keeps content identity; a preview restores exact source, starts only as allowed and sends no source anywhere.", calls := (cons "VersionPreview::transitionPreview" (cons "VersionPreviewProtocol::dispatchPreview" (cons "FoundrySpecification::previewPermissionBoundary" (cons "FoundrySpecification::previewAutoStartBoundary" (cons "FoundrySpecification::versionHistoryBoundary" (cons "VersionPreview::boundary" (cons "FoundrySpecification::durableVersionPreviewBoundary" (cons "FoundrySpecification::messageRestorationBoundary" (nil String))))))))), acceptance := (cons "Features::acceptVersionPreviewPreviewSelect" (cons "Features::acceptVersionPreviewPreviewStaleRevision" (cons "Features::acceptVersionPreviewProtocolPreviewWireSelect" (cons "Features::testFA39" (cons "Features::testFA52" (cons "Features::testFA53" (cons "Features::testFA54" (cons "Features::testFA55" (cons "Features::testFA82" (nil String))))))))))})
}

definition{
Expand Down
25 changes: 0 additions & 25 deletions app/src/FoundrySpecification.lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1288,30 +1288,5 @@
result: String,
body: "The browser preview panel automatically starts only the selected application's initial idle run snapshot: matching positive safe app identity, idle phase, no operation, no start timestamp and no settlement. Missing or foreign identity and starting, ready, reloading, stopped or errored snapshots never authorize another automatic start. The imported app-run manager remains the run-state owner; the renderer uses its current snapshot and re-evaluates after hydration. Unchanged automatic eligibility does not retrigger the selection effect merely because the snapshot object changes. Responsive remounts, tab return and settings updates do not retry a declined preview or supersede an active run. Explicit existing start/restart controls remain available under the imported capabilities and still require ordinary preview authorization. Full document reload starts a fresh document-owned run session and may request permission again; this is not persisted denial or cross-window permission synchronization. Source model, permission grants and queue state are unchanged. A declined preview does not block Ask submission or cloud consent, and responsive layout must not open a fresh permission prompt after decline."
}

inductive{
name: HostedSourcePermissionError,
type_parameters: [],
parameters: [],
constructors: [
{name: invalidHostedSourcePermission, fields: []},
{name: hostedSourcePermissionDenied, fields: []},
{name: hostedSourcePermissionCancelled, fields: []},
{name: hostedSourcePermissionExpired, fields: []},
{name: hostedSourcePermissionOffline, fields: []},
{name: hostedSourcePermissionUnavailable, fields: []},
{name: hostedSourceChanged, fields: []},
{name: hostedSourceNetworkFailed, fields: []},
{name: hostedSourceMalformedResponse, fields: []},
{name: hostedSourceServiceRefused, fields: []}
]
}

definition{
name: hostedSourcePermissionBoundary,
parameters: [],
result: String,
body: "Stateful app parsing and checking require explicit browser approval before source leaves for https://mcp.uor.foundation/. A standalone operation discloses its immutable exact files. A streaming generation session discloses its application, unique turn, captured source identity, current exact files, and permission for subsequent generated module prefixes, repairs and supporting LexLean library modules in that same turn. This preserves incremental previews without treating inference or network-free frame permission as hosted-source consent. It does not permit another turn, application, destination, proof, publication or arbitrary network operation. Approval remains only in document memory, is unavailable offline, and expires within five minutes including active work. The host asserts current source and turn ownership before each request and after completion; only its own successful compare-and-swap commit may advance its expected local source. Denial, Escape, stop, generation cancellation and expiry are typed private refusals. A session remembers refusal without repeatedly prompting. A modal focuses denial and renders source as text; its active stop control explains that abort cannot recall transmitted data or stop remote work. Each parse/check operation further binds its exact file set and permits only one draft write plus matching draft checks or data reads. Requests omit cookies and credentials, reject redirects, use a bounded cancellation-aware deadline, and validate private fixed response failures. Malformed or refused service responses do not become checks or proofs. Replaced, forgotten or cancelled preview work cannot publish late frames. Preview attempts are identified by requested source and permission scope together: a refused attempt suppresses repeat prompts only in that scope, while a fresh scope may retry identical source. Reselecting a previously rendered module cancels and supersedes pending different-source work before reusing its frame, so stale content cannot acquire the selected module's trust. Incomplete replacement source also supersedes pending work without relabeling the last rendered frame. This is a hosted parsing/checking permission boundary, not proof verification, retention enforcement, same-origin caller authentication or overall release acceptance."
}
\end{semanticmodule}
\end{lexlean}
36 changes: 0 additions & 36 deletions crates/conformance/tests/hosted_source_permission.rs

This file was deleted.

21 changes: 0 additions & 21 deletions features/suites/hosted-source-permission.feature

This file was deleted.

6 changes: 0 additions & 6 deletions model/ids.toml
Original file line number Diff line number Diff line change
Expand Up @@ -820,12 +820,6 @@ level = "build"
suite = "preview-auto-start"
statement = "Automatic preview startup respects existing app state so remounts cannot repeat declined execution while explicit retry remains available"

[[id]]
id = "FA-83"
level = "build"
suite = "hosted-source-permission"
statement = "Stateful preview parsing and checking transmit source only under disclosed source-bound or turn-scoped revocable hosted permission"

[[id]]
id = "FA-84"
level = "build"
Expand Down
Loading
Loading