# Schema v4 Minimal Context graph manifest.
# Keep the default product/domain area for ordinary projects. Role context nodes
# are read-purpose slices owned by an area or, only when cross-domain, by the project root.
# A monorepo may place only Context-bearing implementation workspaces under
# project_context/workspaces/<workspace-id>/**. Each represented Context workspace
# maps one code root through existing area root/context fields and may contain several Areas.
# Keep cross-workspace Areas under project_context/areas/**; do not create empty
# Context directories for code workspaces with no durable facts.
# Prefer a small top-level repository-common default Area; keep workspace-local
# Context on-demand unless its facts are genuinely near-universal.
# Use read_policy = "default" only for near-universal recovery facts; prefer
# "on-demand" for specialized architecture, contract, deployment or history detail.
# Default/on-demand selection defines the starting read set, not a maximum:
# widen to any relevant area/shared Context when task dependencies require it.
# This optional sparse mirror adds no workspace schema or read/edit ACL. Use
# project-owned scope checks for task-local intended/supporting changed paths.
# `ty-context doctor` reports the deterministic default read footprint and exact duplicates.
# When migrating deep files under project_context/areas/**, refine obvious
# contract/foundation/subdomain/verification/deployment/implementation-index/
# decision-rationale/archive files into [[context]] entries instead of keeping
# every Markdown file as an [[areas]] product owner.

[[areas]]
id = "main"
root = "."
context = "project_context/areas/main.md"
kind = "app"
default = true

[[context]]
path = "project_context/areas/main/verification.md"
role = "verification"
read_policy = "default"
triggers = ["test", "verify", "verification", "smoke", "ci"]

# Example optional node:
# [[context]]
# path = "project_context/areas/main/deployment.md"
# role = "deployment"
# read_policy = "on-demand"
# triggers = ["deploy", "deployment", "runtime", "cloud", "docker"]
