Skip to content

docs(domain): map the product's contexts and delete the inherited ADRs - #103

Merged
allisonmahmood merged 1 commit into
mainfrom
docs/context-map-product-contexts
Sep 2, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
docs/context-map-product-contexts

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Problem

CONTEXT-MAP.md described the packages that exist, not the product: nothing said where companies, identity or integrations live, so the five product decisions (#16–#20) landed their vocabulary in the nearest file — Company, User, Group, Integration and Connection in Auth's glossary, Viewer and Patch identity in Patches'. The next build session would have invented a home. Meanwhile ADR-0000 and ADR-0001 still sat in docs/adr/ as superseded records of PatchPage, and README linked one of them.

Solution

  • CONTEXT-MAP.md names the product's six contexts — Patches, Serving, Companies, Auth, Integrations, Publishing — each pointing at its package or saying no code exists yet, with the relationships for the unbuilt ones marked as such.
  • packages/companies/CONTEXT.md and packages/integrations/CONTEXT.md are written at the paths their packages will take (a folder with no package.json is invisible to pnpm and turbo). Auth keeps only credential terms; Patches keeps the unit; Serving gains the viewer, the patch identity and the login and connect doors, plus a note to split a Runtimes context out when tier 1 and 2 are built.
  • ADR-0000 and ADR-0001 are deleted. README's PatchPage paragraph carries the provenance sentence; docs/agents/domain.md records the rule — an ADR is current or gone, and unbuilt product decisions live in docs/product.md, which is now on the read-first list.
  • AGENTS.md's domain-docs line follows the map.

Resolves #21 and #99 on the foundation map (#5).

Built by Claude Fable 5.1 via Claude Code.

CONTEXT-MAP.md now names the product's six contexts — Patches, Serving,
Companies, Auth, Integrations, Publishing — each pointing at its package or
saying no code exists yet. Companies and Integrations get their glossaries at
the path their packages will take; the company-, integration- and
runtime-shaped terms that had landed in Auth and Patches move to them and to
Serving. ADR-0000 and ADR-0001 are deleted rather than kept as superseded;
README carries the one provenance sentence, and domain.md records the rule.

Resolves the foundation map ticket "Redraw CONTEXT-MAP.md and retire the
inherited ADRs" (#21) and its duplicate #99.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@github-actions github-actions Bot added area:server Touches the server area area:cli Touches the cli area area:docs Touches the docs area size:m 100-500 changed lines labels Sep 2, 2026
@allisonmahmood
allisonmahmood merged commit cdd6991 into main Sep 2, 2026
6 checks passed
@allisonmahmood
allisonmahmood deleted the docs/context-map-product-contexts branch September 2, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli Touches the cli area area:docs Touches the docs area area:server Touches the server area size:m 100-500 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redraw CONTEXT-MAP.md and retire the inherited ADRs

1 participant