Skip to content

Examples

Three agents.workspace.json examples: a TypeScript monorepo, a Python single-package project, and a polyglot repository. Each is synthesized from real open-source repository structures and labeled as such.

Repository: Synthesized from real TypeScript monorepo structure

A large TypeScript monorepo with multiple packages and apps, pnpm workspaces, and mixed runtime targets. The agents.workspace.json reflects a steady-state workspace with behavioral observation data: high observation count, several fragile files identified from real churn patterns.

Notable: the frameworkManifest shows multiple frameworks because the monorepo contains both Next.js (web app) and Hono (API). The agents section references both .cursorrules and AGENTS.md. The coChangePatterns reflect real co-change patterns observed over months of development.

Synthesized from real monorepo structure. Plausible real-world data, not sourced from a specific repository.

{
"manual": {
"description": "TypeScript monorepo for a developer tooling platform: web dashboard, API server, and shared packages.",
"techStack": ["TypeScript", "Next.js 15", "Hono", "PostgreSQL", "Drizzle ORM", "pnpm workspaces"],
"conventions": [
"Named exports only: no default exports across any package",
"All server-side errors throw typed AppError instances; catch only at route boundary",
"Packages are not pre-built in dev: import from source via tsconfig paths"
],
"fragileFiles": [
{
"path": "packages/contracts/src/index.ts",
"reason": "Shared type definitions. Changes cascade to all consumers: API, web, CLI, packages."
},
{
"path": "apps/api/src/middleware/auth.ts",
"reason": "Authentication middleware. High blast radius: all authenticated routes depend on this."
}
],
"coChangePatterns": [
{
"files": ["packages/contracts/src/user.ts", "apps/api/src/routes/users.ts", "apps/web/src/app/users/page.tsx"],
"note": "User schema changes require simultaneous updates across API route and web page."
}
]
},
"generated": {
"specVersion": "0.3",
"generatedAt": "2026-05-12T08:30:00.000Z",
"by": { "name": "vreko", "version": "0.3.0" },
"fileIndex": {
"packages/contracts/src/index.ts": {
"fragility": 0.81,
"aiModificationCount": 6,
"humanModificationCount": 34
},
"apps/api/src/middleware/auth.ts": {
"fragility": 0.74,
"aiModificationCount": 2,
"humanModificationCount": 18
},
"apps/web/src/app/dashboard/page.tsx": {
"fragility": 0.22,
"aiModificationCount": 14,
"humanModificationCount": 8
}
},
"frameworkManifest": [
{
"name": "Next.js",
"version": "15.3.1",
"confidence": 1.0
},
{
"name": "Hono",
"version": "4.7.4",
"confidence": 1.0
},
{
"name": "Drizzle ORM",
"version": "0.40.1",
"confidence": 0.95
}
]
},
"agents": {
"toolAgentFiles": [".cursorrules"],
"referencedAgentFiles": ["AGENTS.md"],
"primaryAgentFile": "AGENTS.md"
},
"health": {
"intelligenceState": "CONFIDENT",
"observationCount": 2841,
"averageFragility": 0.21,
"fragileFileCount": 4,
"confidence": 0.94,
"bootstrapOverride": 0.0
}
}