Category: spec-conformance Severity: major
Location: src/Messages/Session/PeerInfo.php:17-49
Spec: ARCP v1.1 §6.2
What
Spec §6.2 examples show client: {name, version} and runtime: {name, version}. SDK serialises kind/version. Conformant peers will not find the name field.
Evidence
public function __construct(
public string $kind,
public string $version,
public ?string $fingerprint = null,
public ?string $principal = null,
public ?string $trustLevel = null,
) {
...
public function toArray(): array
{
$out = [
'kind' => $this->kind,
'version' => $this->version,
];
Proposed fix
Rename kind to name (or add it alongside) so the wire field is name.
Acceptance criteria
Category: spec-conformance Severity: major
Location:
src/Messages/Session/PeerInfo.php:17-49Spec: ARCP v1.1 §6.2
What
Spec §6.2 examples show
client: {name, version}andruntime: {name, version}. SDK serialiseskind/version. Conformant peers will not find thenamefield.Evidence
Proposed fix
Rename
kindtoname(or add it alongside) so the wire field isname.Acceptance criteria
namefield per spec example.