Skip to content

feat: role contact cards and optional manifest notes (#108) - #120

Merged
OBenner merged 1 commit into
mainfrom
feat/108-contact-cards
Nov 17, 2026
Merged

OBenner merged 1 commit into
mainfrom
feat/108-contact-cards

Conversation

@OBenner

@OBenner OBenner commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Summary

Implements #108 (design approved by CTO in thread c0fbb0f8): role contact cards + optional manifest notes. Ships in the same deploy window as #105 (renderer/instructions change → one re-init of stand channels).

Layer 1 — derived contact card (no new configuration; everything derived):

  • New src/config/contact-card.ts: single derivation source. Reach mode per role computed from the manifest host + HOST_CAPABILITIES + the nudger constants (NUDGE_COOLDOWN_MS, MAX_NUDGES — imported, never re-typed as literals). Three honest modes: push (kimi-work/opencode), queue-nudge (codex-desktop), next-interaction (everything else, incl. generic — how Claude Desktop roles are declared).
  • Role instructions (all hosts, via coreRules): compact teammates block (header + self line + one line per teammate) inserted before the team charter — the charter-last pin from [P1] Embed team charter summary into generated role instructions #16 is preserved.
  • synloq_list: the relay appends a derived English reach tag per participant. Host stays off the participant API (the issue-[P1] Add-role without restart + plugin update UX: registry hot-reload, installed≠source detection, upstream plugin reload #36 invariant, pinned by tests): ParticipantDirectory gains an optional hostOf() backed by the manifest snapshot; Participant itself only gains notes? and reach?.

Layer 2 — manifest notes:

  • Optional per-agent notes (≤500 chars) in the tolerant and strict manifest schemas and in the synloq.local.yaml overlay (same merge semantics as host/placement); init/reconcile/write round-trip it.
  • Shown only in synloq_list (payload notes field) — deliberately not in role instructions, per the MCP-context budget constraint.

Localization: new contact.* keys in en and ru with exact placeholder parity (CI-enforced).

Compatibility

Additive only. No envelope/wire change; notes/reach are optional fields on an agent-facing text surface. Existing manifests without notes are untouched (verified by round-trip test). One behavioral note for reviewers: synloq_list output now always carries reach — additive for clients, and the conformance tests that pin the participant list were updated accordingly.

Definition of Done

  • Contact card derived from manifest + capabilities + nudger constants; zero new config
  • Rendered in role instructions (before charter, charter-last pin intact) and in synloq_list (English tag)
  • notes ≤500 chars: strict+tolerant schema, overlay merge, init/reconcile preserve, shown in synloq_list only
  • Host placement stays off the participant API (issue-[P1] Add-role without restart + plugin update UX: registry hot-reload, installed≠source detection, upstream plugin reload #36 invariant preserved; directory hostOf instead)
  • pnpm verify green (format, imports, typecheck, 110 files / 970 tests, build)
  • Docs: notes + reachability note in docs/guide/installation.md

Meta

@OBenner
OBenner merged commit 53a4461 into main Nov 17, 2026
5 checks passed
@OBenner
OBenner deleted the feat/108-contact-cards branch November 17, 2026 08:01
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.

[P2] Role contact cards (derived) + optional notes: richer role descriptions

1 participant