{
  "path": "/work/curastack",
  "title": "CuraStack",
  "description": "A familiar foundation makes an agent’s work easier to review.",
  "section": "work",
  "date": "2026-10-19",
  "updated": null,
  "tags": [
    "work"
  ],
  "collection": null,
  "backlinks": [],
  "markdown": "Agents make it quick to start another app. I still have to understand what they built. Relearning the auth, permissions and background work every time was eating the attention I wanted to spend on the product.\n\nCuraStack is my reusable TypeScript starting point. It gives new apps a familiar shape, so the interesting question becomes what this particular app needs to do.\n\n## A shared shape for building\n\n```mermaid\nflowchart LR\n%% id: cura-overview\n  App[A new app] --> Product[Its own product behaviour]\n  App --> Foundation[Familiar foundation]\n  Foundation --> Identity[Identity and access]\n  Foundation --> Work[Background work and integrations]\n  Product --> Rules[Shared permission rules]\n  Work --> Rules\n```\n\nThe foundation covers recurring responsibilities: who someone is, what they're allowed to do, and work that happens around a request. The product supplies its own behaviour and rules. I want those boundaries to be recognisable enough that I can follow an agent's change without reconstructing the whole application.\n\nThat familiarity matters most when the same action can happen in several places. A button and a background task should go through the same permission rules. Recording that something needs to happen and actually delivering it should each have an owner.\n\nGeneration also removes the examples and choices the app doesn't need. The result should feel like the start of my app, with a useful structure already there.\n\nThe final proof is still ahead: ship a real app to production and bring what breaks back into the scaffold.\n\n[Back to all work](/work)",
  "engineering": {
    "diagrams": [
      {
        "id": "cura-overview",
        "title": "A shared shape for building",
        "kind": "Concept map",
        "mermaid": "https://neel.md/work/curastack/diagrams/cura-overview.mmd",
        "svg": "https://neel.md/work/curastack/diagrams/cura-overview.svg"
      }
    ],
    "share_image": "https://neel.md/share/curastack.png?v=4ac53e44224b78ff"
  }
}
