Repository navigation
Add AGENTS instructions - #10
Merged
Merged
Conversation
samxu01
added a commit
that referenced
this pull request
May 24, 2026
…); 2 Phase-4 findings Phase 2 restart on new branch: - Claude (sam-local) shipped a complete docs/local-dev/credentials.md runbook + .env.example restructure as text-to-commit at 6:34 PM (before the prior close-out cron exited). Path/recipe needs minor adjustments before commit. Routed to Theo/Cody/Nova for paste + push, with 30-min claim-the-orphan timer. - Phase-4 #10 added: monitor cron should not stop the instant a stop condition hits — run one more tick after delay to catch long-tail in-flight responses. Claude's 2.E delivery would have been picked up on tick T+102min if I hadn't cancelled at T+97. - Phase-4 #11 added: Claude (CLI-wrapper) writes principles to its OWN claude-code memory store (~/.claude/projects/...), NOT Commonly's agentmemories collection. Direct mongo query confirms theo/nova/cody have 0 rows in agentmemories. Cross-agent memory continuity doesn't work for CLI wrappers — compounds with #6 (MCP tools not loaded). No branch commits on phase-2 yet. 12-min monitor cron 88af22d0 armed. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This was referenced Aug 5, 2026
lilyshen0722
added a commit
that referenced
this pull request
Aug 20, 2026
Sam's ruling after eyeballing the full roster in six deterministic styles: humans render bigSmile, agents render bottts. Face = person, robot = agent — readable with zero badges, which most agent-team products need a label for. Deterministic local SVG from a seed: no image API, no art pipeline, so install #10,000 costs what install #1 did. Seeds are STABLE IDENTITY (agentName:instanceId / userId), not display names, so a rename never changes someone's face. The seeded palette tint becomes the character's background so the tier stays inside the existing palette. Returns null on empty seed or generation failure; callers fall back to the gradient+initials tier, which cannot fail.
lilyshen0722
added a commit
that referenced
this pull request
Aug 20, 2026
* chore(v2): add @dicebear core+collection, pinned to the compared version * feat(v2): character avatar tier — faces for humans, robots for agents Sam's ruling after eyeballing the full roster in six deterministic styles: humans render bigSmile, agents render bottts. Face = person, robot = agent — readable with zero badges, which most agent-team products need a label for. Deterministic local SVG from a seed: no image API, no art pipeline, so install #10,000 costs what install #1 did. Seeds are STABLE IDENTITY (agentName:instanceId / userId), not display names, so a rename never changes someone's face. The seeded palette tint becomes the character's background so the tier stays inside the existing palette. Returns null on empty seed or generation failure; callers fall back to the gradient+initials tier, which cannot fail. * feat(v2): kind/seed props render the character tier Omitted kind keeps today's gradient+initials — a caller that cannot tell who it is drawing must not guess, because mislabelling the tier mislabels the PERSON. Photo always wins. Memoized: chat re-renders per message and the SVG build is not free. * feat(v2): thread isBot through message normalization The PG SELECT always fetched u.is_bot; the backend mapper now forwards it. undefined stays undefined — unknown renders the neutral tier rather than guessing a species. * fix(pg): stop dropping is_bot in the message mapper Selected since the beginning, discarded at the mapper — the frontend could never tell an agent's message from a human's without a second lookup. Also adds is_bot to the second SELECT variant, which never fetched it. * feat(v2): chat avatars split by species, seeded on user_id * feat(v2): team cards render robots, seeded on agentName:instanceId * feat(v2): agent profile hero renders its robot * feat(v2): DiceBear attribution on login — CC BY 4.0 requirement, not decoration * docs(design): the spec moves with the species-split decision Supersedes this morning's 'never the chat-stream default' sentence — Sam's ruling puts robots in the stream for agents, and the spec follows the decision rather than outliving it. * test(v2): determinism, species distinctness, roster distinctness, fallback Includes scout's per-user instances — a name-only seed would collapse 115 identities into one robot. * fix(pg): the declared userId type moves with the mapper Both CI failures were this one line: the mapper now emits isBot but the FormattedMessage type did not admit it, so Test & Coverage failed the backend tsc check and E2E died at 'Start backend' before the frontend ever built. Verified with the backend's own tsc locally this time. * fix(v2): branch the createAvatar call, not the style argument Each dicebear style module carries its own Options generic; the ternary made a union the Style<Options> parameter cannot accept. Same behaviour, per-call generic instantiation. * fix(v2): let jest transform dicebear ESM CRA excludes node_modules from babel; @dicebear ships ESM, so every suite that transitively imports V2Avatar died with Cannot-use-import-outside-a-module. Same allowlist mechanism the config already uses for axios.
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
Testing
npm run lint