Skip to content

Write the SDK spec and file the build tickets #184

Closed

Description

@allisonmahmood

Question

With every decision above closed, write the spec and file the build. The spec is one issue that carries: the docs/product.md rewrites (§ Patches › What a patch is made of, § Runtime tiers › Tier 1, § Integrations › Development and What patch code sees, the tables and files primitives, shared tables), the glossary additions to the owning CONTEXT.md files (definition, declaration, shared table, environment, fixture, acting identity), the ADRs that earn one (database per company; the sandboxed frame on the same host; latest-only tooling with a stable wire contract), the wire changes in packages/api, the CLI commands and --json shapes, the init tree, and the Hit every surface checklist. The build is filed as ready-for-agent sub-issues of the spec, one agent session each, with blocking wired natively, in the order the auth map used: prefactor and packages, the company database and its registry, tables, files, the integration framework and Postgres, shared tables, the dev runtime and patchy dev, init and pull, publish, the frame and broker, the docs pass.

Recommendation: have a second model review the spec before the build tickets are filed, as the auth spec was reshaped once by one.

Activity

  1. added
    wayfinder:grilling
    on Sep 6, 2026
  2. allisonmahmood commented on Sep 10, 2026

    @allisonmahmood
    OwnerAuthor

    Resolved 2026-09-10. The spec is filed as SDK: primitives, integrations, init and the dev loop on tier 1, assembled from every closed ticket on the map: problem, solution, 30 user stories, 15 implementation sections (the package cut, the company database, tables, files, integrations and Postgres, the patchy package and its commands, publish, addresses, tier 1 serving, the runtime wire, bounds, the dev runtime, ADRs, docs and glossaries), testing decisions, out of scope, the calls the spec makes on its own, and the build order.

    Second-model review, as recommended. Astra read the draft against all nineteen tickets and returned fifteen findings; twelve changed the spec and are marked in its Further Notes: tier 1 admission held back until its sandbox serves it (each build ticket now states what its merge admits); immutable connection snapshots so a published patch keeps projecting through the revision it was generated against; the runtime log row inserted pending before a mutation executes, so a crash between the company and platform commits leaves an attributed row, never an unattributed write (its outbox proposal was not adopted; the pending row is the smaller model); immutable file objects behind an index pointer with a sweep; the bootstrap me with a null principal and public admission by the loaded version's scope; runtime requests identified by headers a navigation cannot set, exact Origin only on mutations; the publish replay lookup before validation with the response stored; per-operation body caps instead of one 256 KB cap that would have blocked the promised row sizes; sharing authority pinned to the inventory flag with its transitions; defaulted-column omission restored; the company lock taken only when resources exist; the inventory route, generate's inputs and shared-table fixtures specified; the integrations ticket split in two; the Postgres boundaries from the integration decision restored. A second pass confirmed the fixes and returned eight loose ends (two stale ticket numbers, the null principal on public versions, client-side replay recovery, a concurrent replay miss, the generate wire shape, the definition authority for an omitted shared table, schema ownership, the pending-log deadline), each folded in before filing.

    The build is filed as sixteen ready-for-agent sub-issues of the spec with native blocking, in the order the spec's Build order lists; four can start now (publish replaces upload, the company database, and, after the first, addresses and the runtime path). The map stays open until the docs pass closes it.

    The sixteen: publish replaces upload, names and addresses, the company database, the runtime path, tables, file stores, shared tables, connections and discovery, the Postgres integration, the patchy package, init, refresh, catalog, add and remove, tier 1 serving, publish from a repo, patchy dev, the e2e and concurrency CI, the docs pass.

  3. allisonmahmood commented on Sep 10, 2026

    @allisonmahmood
    OwnerAuthor

    Resolved above; the spec is #193 and the build is its sixteen sub-issues.

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

Metadata

Metadata

Labels

wayfinder:grilling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions