Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Phase 2: Add Context ID support and AI-native message format #9

@bokelley

Description

@bokelley

Overview

Implement Phase 2 enhancements for AdCP specification compatibility.

Tasks

Context ID Support

  • Add context ID generation for discovery sessions (ctx_<timestamp>_<random>)
  • Store discovery context with signal IDs and search parameters
  • Link activations back to their discovery context
  • Implement 7-day expiration for context storage (to support 72-hour activation windows)
  • Update client to display and use context IDs

AI-Native Message Format (PR #21)

  • Add universal message field as first field in all responses
  • Generate human-readable summaries for all responses
  • Add optional clarification_needed field
  • Update client to prominently display message field

Benefits

  • Workflow tracking from discovery to activation
  • Better debugging and analytics
  • AI-friendly responses for LLM consumption
  • Preparation for A2A protocol support

Acceptance Criteria

  • Context IDs properly link discovery and activation workflows
  • All responses include meaningful message summaries
  • Client displays messages prominently
  • Context IDs persist for 7 days

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions