Skip to content

Macro Runtime v0.29 — typed accepted intent - #258

Merged
MichaelWave369 merged 24 commits into
mainfrom
feat/macro-runtime-v029-accepted-intent
Sep 27, 2026
Merged

MichaelWave369 merged 24 commits into
mainfrom
feat/macro-runtime-v029-accepted-intent

Conversation

@MichaelWave369

Copy link
Copy Markdown
Owner

Summary

Introduces a distinct append-only human accepted-intent layer between OperatorLog interpretation and any future execution policy.

Adds

  • phios/macro_accepted_intent.py
    • typed intent-family vocabulary
    • canonical application-specific intent codes
    • exact inference + OperatorLog revision binding
    • append-only reclassification and revocation
    • optimistic concurrency
    • server-owned acceptance identity
    • accepted-intent hash chain
    • source OperatorLog provenance verification through the bound revision
  • Reality Ledger persistence for accepted-intent revisions
  • Ghost-Walk sidecar accepted-intent GET/mutation endpoints
  • independent Node proxy and transport validation
  • typed browser client
  • Accepted Intent editor nested under the governed OperatorLog editor
  • stale-binding detection when human interpretation changes after intent acceptance
  • sidecar, proxy, transport, browser, provenance, tamper, and concurrency tests
  • docs/MACRO_RUNTIME_V0.29.md

Typed vocabulary

NAVIGATE
OPEN
CLOSE
SELECT
TOGGLE
ENTER_TEXT
SUBMIT
CONFIRM
CANCEL
OTHER

Application-specific meaning uses an uppercase canonical code, e.g.

family = OPEN
code   = OPEN_NETWORK_ADAPTER_PROPERTIES

Non-OTHER codes must match their family prefix.

Evidence boundary

MACHINE CANDIDATE
!=
HUMAN ANNOTATION
!=
ACCEPTED INTENT
!=
EXECUTION POLICY

Each accepted intent binds the immutable transition inference receipt and the exact active OperatorLog revision used to interpret it.

Authority boundary

Accepted intent asserts:

human_intent_confirmed = true
causation_proven       = false

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

Knowing what the operator meant does not grant permission to perform it.

Stale binding

If the OperatorLog is edited after an intent was accepted, the accepted-intent history remains valid but PhiShell visibly marks the current classification as bound to an older human interpretation.

A new accepted-intent revision is required to bind the new note.

Next rung

v0.30 should introduce a separate policy-admission layer:

accepted intent
    ↓
policy admission
    ↓
authority request
    ↓
existing governed execution path

Policy admission should be able to permit or hold an authority request, but should not execute desktop effects itself.

@MichaelWave369
MichaelWave369 merged commit 85e3195 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