Skip to content

M2 — Message-class rename to v1.0 wire shape #11

@nficano

Description

@nficano

Goal

Message-class rename to v1.0 wire shape.

Scope

  • session.open/accepted/authenticate/challenge/rejectedsession.hello/welcome/error
  • session.close/evictedsession.bye
  • job.started/completed/failed/cancelledjob.submit/accepted/event/result/error
  • Unify log, metric, event.emit, trace.span, tool.invoke/result/error, stream.* into job.event { kind, body } with Arcp\Job\Event\Kind enum
  • cancel/cancel.accepted/cancel.refusedjob.cancel
  • subscribe/... deferred to milestone 5
  • Move Arcp\Json\EnvelopeSerializerArcp\Envelope\EnvelopeSerializer
  • Delete RFC-0001-only classes: agent.handoff, workflow.start/complete, permission.*, lease.refresh/extended, checkpoint.*, human.*, artifact.*
  • Regenerate tests/Unit/Messages/*Test.php
  • MessageCatalogContractTest against spec-message-types.json + bin/extract-spec-messages.php

Spec §

§6.1–§6.7, §7.1–§7.4, §8.1–§8.2

Gate

Integration suite (tests/Integration/) passes against MemoryTransport::pair(); WS loopback (amphp/websocket-server) passes the handshake → submit → event → cancel scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions