Skip to content

Macro Runtime v0.31 — immutable Ghost-Walk AuthorityRequest - #260

Merged
MichaelWave369 merged 19 commits into
mainfrom
feat/macro-runtime-v031-authority-request
Sep 27, 2026
Merged

MichaelWave369 merged 19 commits into
mainfrom
feat/macro-runtime-v031-authority-request

Conversation

@MichaelWave369

Copy link
Copy Markdown
Owner

Summary

Introduces an immutable zero-authority AuthorityRequest artifact created only from one exact current ALLOW_REQUEST policy-admission receipt.

Adds

  • phios/macro_authority_request.py
    • immutable request contract
    • PENDING_AUTHORIZATION state
    • exact admission / accepted-intent / policy provenance binding
    • one-request-per-admission invariant
    • readiness projection
    • tamper and stale-evidence rejection
  • strict persisted policy-admission receipt parsing/hash verification
  • Reality Ledger AuthorityRequest persistence
  • Ghost-Walk sidecar readiness/create endpoints
  • independent Node proxy validation
  • PhiShell same-origin transport
  • typed browser client
  • AuthorityRequest card nested under Policy Admission
  • server-owned requester identity and semantic scope
  • sidecar / transport / browser / provenance / tamper tests
  • docs/MACRO_RUNTIME_V0.31.md

Core boundary

REQUESTING AUTHORITY
!=
HAVING AUTHORITY

The governed chain is now:

accepted intent
    ↓
policy admission
    ↓
AuthorityRequest
    ↓
future AuthorizationDecision
    ↓
future effect/capability binding
    ↓
ActionLease
    ↓
governed execution

Semantic scope only

v0.31 does not let the browser invent permissions, effects, capability IDs, payloads, or ActionLease parameters.

The request asks only for bounded action authority over the exact accepted semantic intent:

requested_authority_kind = ACTION_AUTHORITY
requested_scope_kind     = ACCEPTED_INTENT
requested_scope_value    = <accepted intent code>

Request semantics

Every AuthorityRequest fixes:

request_state          = PENDING_AUTHORIZATION
authorization_granted  = false
action_lease_created   = false
effect_performed       = false

policy_authority       = false
operational_authority  = false
action_authority       = false
execution_authority    = false

Preconditions

Request creation requires:

  • current policy projection = ALLOW_REQUEST
  • exact current accepted-intent revision
  • exact current policy profile
  • intact persisted matching admission receipt
  • no existing AuthorityRequest for that admission receipt

Browser boundary

The browser may submit only:

{
  "target_inference_receipt_sha256": "...",
  "expected_admission_receipt_sha256": "..."
}

Requester identity and semantic scope are derived server-side.

Next rung

v0.32 should add an immutable explicit AuthorizationDecision bound to one exact AuthorityRequest, with APPROVE / DENY / HOLD while preserving:

APPROVAL DECISION != ACTIONLEASE != EXECUTION

@MichaelWave369
MichaelWave369 merged commit 60a7e38 into main Sep 27, 2026
9 checks passed
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