Skip to content

[Docs] Back-fill AgDR-0001 for web↔api communication decision #37

@G0maa

Description

@G0maa

Driver

PR #33 implemented the web↔api communication decision (REST + OpenAPI + generated types/Zod) but never recorded it in the canonical docs/agdr/ location. A retro code review of #33 flagged the gap — the decision lives only in the PR body and a docs/superpowers/specs/ design doc, so /agdr search can't surface it and the REST-vs-tRPC/GraphQL reasoning risks being silently re-litigated.

Scope

  • Add docs/agdr/AgDR-0001-web-api-communication.md (first AgDR for marsa)
  • Condense the existing design spec (docs/superpowers/specs/2026-05-26-web-api-communication-design.md) into the standard AgDR template: Context, Options Considered (tRPC / GraphQL / types-only / full SDK), Decision, Consequences, Artifacts
  • Docs-only — no code or behaviour change

Acceptance Criteria

Risks / Dependencies

Links back to closed #11 ("Decide on a communication method between WEB/API") and #33. No code risk — documentation only.

Glossary

Term Definition
AgDR Agent Decision Record — lightweight ADR capturing context, options, decision, consequences. Stored per-project under docs/agdr/.
OpenAPI Language-agnostic REST API contract spec, generated from NestJS decorators and committed as source of truth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions