Skip to content

uikit: ui-chat ring draft contract (UR-03-UI-CHAT) #14068

Closed

Description

@gHashTag

Draft contract for ring ui-chat (UR-03-UI-CHAT): a reusable conversational assistant UI module for any T27 application. It is not Secure Chat and not the trios-chat port. The owner approved it as a candidate on 2026-11-16 (order UI_CHAT_RING_V0).

The contract reuses existing UI Kit and T27F primitives only (uikit_avatar, uikit_text, uikit_card, uikit_input_model, live_chat). Ring rules are cited from the trios ring sources (AGENTS.md:87-111, plans/trios-ui-plan.md:15,30); anything else is marked NOT_FOUND_IN_SOURCE. Partner personalization, avatar animation, Telegram and publication are OWNER_DECISION_REQUIRED; payment is forbidden. Avatar rule: no ring and no outline in any state.

Boundary

  • docs/t27/rings-source-rules.md
  • specs/uikit/rings/ui-chat/README.md
  • specs/uikit/rings/ui-chat/TASK.md
  • specs/uikit/rings/ui-chat/AGENTS.md
  • specs/uikit/rings/ui-chat/ui-chat.t27

User Scenarios

  • Given a T27 application that needs an assistant chat panel, when it uses ring ui-chat, then it gets messages, input and avatar built only from existing UI Kit primitives.
  • Given an agent reading the ring, when it looks for partner personalization or payment, then it finds them marked OWNER_DECISION_REQUIRED or forbidden, not implemented.

Requirements

  • FR-001: The ring MUST carry README.md, TASK.md and AGENTS.md next to its contract spec.
  • FR-002: The contract MUST reuse uikit_avatar states only and MUST draw no ring and no outline around the avatar.
  • FR-003: The contract MUST allow only the send action; payment, Telegram and publication MUST be refused.
  • FR-004: Every ring rule MUST cite a source line or be marked NOT_FOUND_IN_SOURCE.

Success Criteria

  • specs/uikit/rings/ui-chat/README.md exists with TASK.md and AGENTS.md: 3 files.
  • t27b test of the contract: exit 0 with 0 failing tests.
  • 0 non-ASCII bytes in the 5 Boundary files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions