Repository navigation
feat: role contact cards and optional manifest notes (#108) - #120
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
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).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 Englishreachtag 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):ParticipantDirectorygains an optionalhostOf()backed by the manifest snapshot;Participantitself only gainsnotes?andreach?.Layer 2 — manifest
notes:notes(≤500 chars) in the tolerant and strict manifest schemas and in thesynloq.local.yamloverlay (same merge semantics ashost/placement); init/reconcile/write round-trip it.synloq_list(payloadnotesfield) — deliberately not in role instructions, per the MCP-context budget constraint.Localization: new
contact.*keys inenandruwith exact placeholder parity (CI-enforced).Compatibility
Additive only. No envelope/wire change;
notes/reachare optional fields on an agent-facing text surface. Existing manifests withoutnotesare untouched (verified by round-trip test). One behavioral note for reviewers:synloq_listoutput now always carriesreach— additive for clients, and the conformance tests that pin the participant list were updated accordingly.Definition of Done
synloq_list(English tag)notes≤500 chars: strict+tolerant schema, overlay merge, init/reconcile preserve, shown insynloq_listonlyhostOfinstead)pnpm verifygreen (format, imports, typecheck, 110 files / 970 tests, build)notes+ reachability note in docs/guide/installation.mdMeta