Skip to content

Macro Runtime v0.28 — governed Ghost-Walk OperatorLog editor - #257

Merged
MichaelWave369 merged 21 commits into
mainfrom
feat/macro-runtime-v028-operator-log-editor
Sep 27, 2026
Merged

MichaelWave369 merged 21 commits into
mainfrom
feat/macro-runtime-v028-operator-log-editor

Conversation

@MichaelWave369

Copy link
Copy Markdown
Owner

Summary

Adds a governed PhiShell editing path for Ghost-Walk's human-editable OperatorLog interpretation notes without mutating transition-inference evidence.

Adds

  • phios/macro_ghostwalk_operator_editor.py
    • exact inference-receipt targeting
    • canonical inference hash verification
    • exact single-chain OperatorLog resolution
    • append-only ACTIVE / RETRACTED revisions
    • serialized read/verify/append edit transaction
    • stale-revision conflict rejection
    • server-owned operator identity
  • Reality Ledger exact inference lookup by receipt SHA
  • Ghost-Walk sidecar endpoints
    • GET current OperatorLog interpretation
    • POST append-only revision
    • 32 KiB bounded annotation request
    • 409 stale-edit conflict
  • PhiShell Node proxy
    • independent envelope validation
    • conflict preservation
    • browser author-injection rejection
  • typed browser OperatorLog client
  • inline interpretation editor in recent learned-transition rows
  • v0.28 contract and transport tests
  • docs/MACRO_RUNTIME_V0.28.md

Core boundary

HUMAN INTERPRETATION != MACHINE INFERENCE
SAVE APPENDS != REWRITE HISTORY
ANNOTATION WRITE != DESKTOP EXECUTION

The machine inference receipt remains immutable.

A human correction is a new OperatorLog revision targeting that exact inference receipt.

Effect semantics

Read:

annotationMutation     = false
effectPerformed        = false
desktopEffectPerformed = false

Append revision:

annotationMutation     = true
effectPerformed        = true
desktopEffectPerformed = false

Both retain:

operationalAuthority = false
actionAuthority      = false
executionAuthority   = false

Concurrency

Two edits based on the same current revision are serialized:

A expected r1 -> APPLIED as r2
B expected r1 -> 409 CONFLICT

The browser preserves the unsaved draft on conflict.

Operator identity

The browser cannot supply author_id. The sidecar owns the configured local operator identity.

Next rung

v0.29 should introduce a small typed accepted-intent layer that remains distinct from machine candidates, human annotation, and execution policy.

@MichaelWave369
MichaelWave369 merged commit 2032d01 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