[{"data":1,"prerenderedAt":211},["ShallowReactive",2],{"work-agent-monorepo-ru":3,"work-og-agent-monorepo":120},{"id":4,"title":5,"bars":6,"blurb":7,"body":8,"color":94,"contacts":95,"date":95,"dateModified":95,"description":96,"extension":97,"featured":98,"groups":95,"kicker":99,"meta":100,"metrics":101,"n":95,"navigation":110,"openTabs":95,"path":111,"progress":95,"readTime":95,"reading":95,"role":112,"rules":95,"running":95,"seo":113,"ships":95,"slug":5,"stack":95,"started":95,"status":95,"stem":114,"streak":95,"tag":115,"tagColor":95,"tagline":117,"tasks":95,"timeline":95,"topics":95,"week":95,"year":118,"__hash__":119},"ru\u002Fwork\u002Fagent-monorepo.md","agent-monorepo",3,"шаблон для команд, где большую часть кода пишут агенты. сначала контракты, потом люди, потом агенты.",{"type":9,"value":10,"toc":87},"minimark",[11,15,19,22,25,29,32,71,74,84],[12,13,14],"h2",{"id":14},"цель",[16,17,18],"p",{},"сделать так, чтобы в реальном продукте — бэкенд, веб, мобилка — большую часть кода мог безопасно и дёшево писать ai-агент, и при этом части не расходились молча.",[12,20,21],{"id":21},"проблема",[16,23,24],{},"агенты быстрые, но узко смотрят. они спокойно добавят поле в nest-контроллер и забудут про nuxt, переименуют flutter-модель и оставят серверную схему как есть. в обычном монорепо ничто их не останавливает — типы живут отдельно в каждом рантайме, и первая настоящая обратная связь — это 500-ка в проде.",[12,26,28],{"id":27},"как-решаем","как решаем",[16,30,31],{},"один контракт, три рантайма.",[33,34,35,43,49,63],"ul",{},[36,37,38,42],"li",{},[39,40,41],"strong",{},"openapi + asyncapi"," — единственный источник правды для запросов, событий и доменных моделей.",[36,44,45,48],{},[39,46,47],{},"кодген"," выдаёт типизированных клиентов и серверные заглушки для nest (typescript), nuxt (typescript) и flutter (dart) — изменение в спеке ломает компиляцию там, где это важно, до того как агент успеет отгрузить.",[36,50,51,54,55,58,59,62],{},[39,52,53],{},"prisma 7"," для данных, ",[39,56,57],{},"better auth"," для сессий, ",[39,60,61],{},"turbo + pnpm"," для склейки.",[36,64,65,66,70],{},"структура репо и readme написаны ",[67,68,69],"em",{},"под агентов",": маленькие понятные поверхности, чёткие границы «можно\u002Fнельзя», скрипты, которые агент реально умеет запускать.",[16,72,73],{},"сам шаблон специально маленький. идея не в «использовать этот фреймворк», а в «клонируй, выкинь лишнее, сохрани привычку писать через контракт».",[16,75,76,77],{},"исходники → ",[78,79,83],"a",{"href":80,"rel":81},"https:\u002F\u002Fgithub.com\u002Fevgentus-cy\u002Fclaude-driven-nest-nuxt-flutter-monorepo",[82],"nofollow","github.com\u002Fevgentus-cy\u002Fclaude-driven-nest-nuxt-flutter-monorepo",[16,85,86],{},"● oss · инструмент · mit",{"title":88,"searchDepth":89,"depth":6,"links":90},"",2,[91,92,93],{"id":14,"depth":89,"text":14},{"id":21,"depth":89,"text":21},{"id":27,"depth":89,"text":28},"var(--green)",null,"agent-monorepo — spec-first шаблон для ai-команд, склеивающий nestjs, nuxt и flutter вокруг общего openapi + asyncapi-контракта.","md",false,"▸ ГЛ.04 \u002F agent-monorepo · oss-инструмент",{},[102,105,107],[103,104],"рантаймы","nest · nuxt · flutter",[106,41],"контракты",[108,109],"лицензия","mit",true,"\u002Fwork\u002Fagent-monorepo","автор · мейнтейнер",{"title":5,"description":96},"work\u002Fagent-monorepo",{"label":116,"color":94},"oss · инструмент","spec-first монорепо для ai-команд","2025 → сейчас","uIgN3l8dQr1zre_BB1dWvpjgjmusctzBCqYH6iAKiOM",{"id":121,"title":5,"bars":6,"blurb":122,"body":123,"color":94,"contacts":95,"date":95,"dateModified":95,"description":194,"extension":97,"featured":98,"groups":95,"kicker":195,"meta":196,"metrics":197,"n":95,"navigation":110,"openTabs":95,"path":111,"progress":95,"readTime":95,"reading":95,"role":204,"rules":95,"running":95,"seo":205,"ships":95,"slug":5,"stack":95,"started":95,"status":95,"stem":114,"streak":95,"tag":206,"tagColor":95,"tagline":208,"tasks":95,"timeline":95,"topics":95,"week":95,"year":209,"__hash__":210},"en\u002Fwork\u002Fagent-monorepo.md","a boilerplate for teams who let agents write most of the code. contracts first, humans second, agents third.",{"type":9,"value":124,"toc":189},[125,129,132,136,139,143,146,177,180,186],[12,126,128],{"id":127},"the-goal","the goal",[16,130,131],{},"make it cheap and safe to let an ai agent write most of the code in a real product — backend, web, mobile — without the parts silently drifting apart.",[12,133,135],{"id":134},"the-problem","the problem",[16,137,138],{},"agents are fast but local. they happily add a field to a nest controller and forget the nuxt call site, or rename a flutter model and leave the server schema behind. in a normal monorepo nothing stops them — types live separately per runtime, and the first real feedback is a 500 in production.",[12,140,142],{"id":141},"how-it-solves-it","how it solves it",[16,144,145],{},"one contract, three runtimes.",[33,147,148,153,159,170],{},[36,149,150,152],{},[39,151,41],{}," as the single source of truth for requests, events and domain models.",[36,154,155,158],{},[39,156,157],{},"codegen"," into typed clients and server stubs for nest (typescript), nuxt (typescript) and flutter (dart) — so a change in the spec breaks compile everywhere it matters, before the agent can ship it.",[36,160,161,163,164,166,167,169],{},[39,162,53],{}," for the data layer, ",[39,165,57],{}," for sessions, ",[39,168,61],{}," for the plumbing.",[36,171,172,173,176],{},"repo layout and readme written ",[67,174,175],{},"for agents",": small, labelled surfaces, clear \"do\u002Fdon't\" boundaries, scripts agents can actually run.",[16,178,179],{},"the boilerplate itself is tiny on purpose. the idea isn't \"use this framework\" — it's \"clone this, delete what you don't need, keep the contract-first habit\".",[16,181,182,183],{},"source → ",[78,184,83],{"href":80,"rel":185},[82],[16,187,188],{},"● oss · tooling · mit",{"title":88,"searchDepth":89,"depth":6,"links":190},[191,192,193],{"id":127,"depth":89,"text":128},{"id":134,"depth":89,"text":135},{"id":141,"depth":89,"text":142},"agent-monorepo — a spec-first, agent-friendly boilerplate stitching nestjs, nuxt and flutter around a shared openapi + asyncapi contract.","▸ CH.04 \u002F agent-monorepo · oss tooling",{},[198,200,202],[199,104],"runtimes",[201,41],"contracts",[203,109],"license","author · maintainer",{"title":5,"description":194},{"label":207,"color":94},"oss · tooling","spec-first monorepo for ai-coded teams","2025 → now","0Cg2Thk0QBI3xu9szEBSizdus-KjIu1Qz3S6OZuHVGI",1777071044010]