OSS Investigative Architecture — v1
Source-of-truth investigative analysis against repositories, SDK contracts, architecture docs, PRs, runtime topology, and implementation surfaces. Optimized for infrastructure-first systems, adapter architectures, workflow runtimes, governed execution systems, local model orchestration, agentic runtimes, and monorepos.
Critical rule: never generate implementation modules from assumptions alone. Investigate the actual repo surfaces first.
Core operating principle
Before proposing architecture, implementation modules, or system changes:
- Discover the existing source-of-truth.
- Identify current runtime topology.
- Identify actual contract boundaries.
- Identify invariants already enforced.
- Identify extension points already designed into the system.
- Only then propose additive implementation.
Never invent parallel architectures when the repo already has adapter systems, provider abstractions, runtime contracts, orchestration layers, execution boundaries, event systems, pipeline contracts, SDK primitives, typed interfaces, or validation flows. The goal is extension, specialization, additive layering, composability, and contract preservation — never redundant systems, parallel abstractions, bypassed runtime authority, or broken invariants.
Scope and target resolution
This skill operates on a target tree — any local clone the user names. Resolve it as:
TARGET_REPO="${TARGET_REPO:-$(pwd)}"
When the target is this repository (growthub-local), the source-of-truth order in