Skip to content

feat(sdk): card-phase preflight planners (label hex, report filter)#280

Open
adriannoes wants to merge 1 commit into
mainfrom
feat/card-phase-erg/1-preflight-planners
Open

feat(sdk): card-phase preflight planners (label hex, report filter)#280
adriannoes wants to merge 1 commit into
mainfrom
feat/card-phase-erg/1-preflight-planners

Conversation

@adriannoes
Copy link
Copy Markdown
Collaborator

@adriannoes adriannoes commented Jun 3, 2026

During agent-seeding of the Analytics pipe (306996636), agents used execute_graphql and introspect_type / search_schema when first-class tools lacked card/phase workflows. Spec: .cursor/dev-planning/specs/archive/card-phase-ergonomics/

Stack replacing closed #277. Merge prior PRs in the stack before this one.


Objective

Pure SDK planners (no GraphQL, no MCP/CLI): normalize_label_color (#RGB/#RRGGBB) and validate_report_cards_filter (ReportCardsFilter shape).

Why now

Chaos-pipe hit create_label("red") and malformed report filters; validation belongs in a testable layer before tools call GraphQL.

Improvements

  • Fail-fast, grep-friendly errors for agents.
  • Full unit coverage without network.

Pure validation for #RGB/#RRGGBB label colors and ReportCardsFilter shape
before GraphQL. No MCP/CLI wiring yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant