Capture explicit operation mode in launcher install flow
This commit is contained in:
parent
26cdbeae38
commit
c92676194f
@ -44,7 +44,7 @@ Advanced integration controls (collapsible):
|
||||
3. Membership quote + confirm primitives
|
||||
4. Marketplace offer list + checkout quote/send/confirm primitives
|
||||
5. Member channel register/poll primitives
|
||||
6. Governance install + lease primitives
|
||||
6. Governance install + lease primitives (with explicit `operation_mode`)
|
||||
7. Raw response log for deterministic troubleshooting
|
||||
|
||||
Wallet automation helpers remain available in advanced controls:
|
||||
|
||||
@ -198,6 +198,10 @@ function principalRole() {
|
||||
return $("principalRole").value.trim();
|
||||
}
|
||||
|
||||
function operationMode() {
|
||||
return $("operationMode").value.trim() || "human_manual";
|
||||
}
|
||||
|
||||
function renderEvents(events) {
|
||||
const list = $("eventList");
|
||||
list.innerHTML = "";
|
||||
@ -693,6 +697,7 @@ async function onInstallConfirm() {
|
||||
entitlement_id: $("entitlementId").value.trim(),
|
||||
package_hash: $("packageHash").value.trim(),
|
||||
runtime_version: $("runtimeVersion").value.trim(),
|
||||
operation_mode: operationMode(),
|
||||
installed_at: nowISO(),
|
||||
launcher_receipt_hash: `receipt-${Date.now()}`,
|
||||
});
|
||||
|
||||
@ -314,6 +314,13 @@
|
||||
<input id="runtimeVersion" />
|
||||
</label>
|
||||
</div>
|
||||
<label>
|
||||
Operation mode
|
||||
<select id="operationMode">
|
||||
<option value="human_manual">human_manual</option>
|
||||
<option value="worker_auto">worker_auto</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Package hash
|
||||
<input id="packageHash" />
|
||||
|
||||
@ -31,6 +31,11 @@ Launcher integrates with EDUT web/backend contracts as follows:
|
||||
- `wallet_session_expired`
|
||||
- `wallet_session_mismatch`
|
||||
|
||||
## Runtime Mode Signal
|
||||
|
||||
1. Launcher install-confirm payload carries `operation_mode` (`human_manual` or `worker_auto`).
|
||||
2. Mode signal is deterministic evidence input for governance activation policy and receipt hashing.
|
||||
|
||||
## Deterministic Requirements
|
||||
|
||||
1. No runtime activation without entitlement proof.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user