0% read on this device
Browse the curriculum

Start Here

Vision

First Principles

Operating Model

Domain Model

Agent Factory

Runtime Architecture

AI Engineering

Autonomous Workflows

Verification & Delivery

Factory Platform

Quality Engineering

Security & Governance

Case Studies

Labs

Interview Practice

Research Journal

Reference

Curriculum/Autonomous Workflows/A rapid review of the chapter’s existing Quick Read, principles, definitions, lessons, and review material.
Autonomous Workflows15 min readchapterQuick Read

Repository Onboarding and Codebase Intelligence

Establish the evidence required before an autonomous workflow may operate on a repository.

Status: Review readyRisk: highLifecycle: intent · plan · executeContent reviewed 2026-08-30Maturity guide →
Claim boundaryThis is curriculum guidance. It does not by itself prove a production implementation.
study mode

A rapid review of the chapter’s existing Quick Read, principles, definitions, lessons, and review material.

Quick Read

The chapter in one pass.

~3 min
  • Purpose: Establish the evidence required before an autonomous workflow may operate on a repository.
  • Best for: Platform teams, repository owners, security engineers, and agent engineers.
  • Prerequisites: Authoritative Delivery Hierarchy and Development Environments.
  • Reading time: 15 minutes.
  • You will learn: How to discover repository structure, ownership, instructions, dependencies, tests, data sensitivity, environments, and risk before admission.
  • Keep three ideas: registration is not readiness; indexes are derived and expiring; and uncertainty must narrow authority.
Whiteboard exercise

Reconstruct and defend this chapter’s architecture.

Reconstruct the architecture, name each boundary, and defend the tradeoffs.

orchestrationworkflow15 min chapter
Open the source exercise

Onboard a service with a shared schema repository, a generated client, an undocumented deployment job, and sensitive test data. Mark authoritative sources, derived indexes, owner decisions, blockers, and the first workflow you would safely admit.

3. Enduring Principle

Admit repositories through a readiness process

Onboarding creates a versioned Repository Readiness Record rather than a permanent “connected” flag. The record covers:

DimensionRequired understanding
Identity and ownershipCanonical repository, default branch, accountable owner, code owners, support contacts
InstructionsGoverning repository instructions, precedence, exceptions, generated-code rules
ArchitectureComponents, boundaries, entry points, data flows, external services, critical invariants
DependenciesPackages, services, schemas, repositories, runtime and release order
Build and testToolchains, setup, commands, test topology, fixtures, flaky suites, expected duration
DeliveryCI, artifacts, environments, deployment, feature flags, migrations, rollback
Security and dataClassification, secrets, network needs, licenses, sensitive paths, threat boundaries
Factory fitEligible workflows, tools, sandboxes, agents, budgets, verification, approval levels

Separate authoritative declarations from derived intelligence

Owner, data classification, permitted workflows, and release authority require declared sources. Symbols, call graphs, ownership suggestions, test impact, and architecture summaries may be derived. Every derived view records source commit, method, coverage, confidence, and expiry.

Build a codebase intelligence pipeline

Useful indexes include lexical and symbol search, dependency and ownership graphs, build targets, test-to-code mapping, API and schema inventories, historical change hotspots, incidents, architecture decisions, and documentation. Retrieval must preserve source and commit lineage.

Let uncertainty reduce scope

Missing owners, nonreproducible builds, unknown deployment paths, unclassified data, or absent tests should block high-risk autonomous change. The repository may still be eligible for read-only analysis or documentation proposals. Readiness is granular by workflow and risk class.

8. Notes and lessons learned

Repository onboarding is not administrative setup. It is the first assurance case: evidence that the factory understands enough of the target to grant a particular kind of execution authority.

9. Interview and discussion questions

  1. Which repository facts may be inferred, and which require an owner?
  2. How should readiness expire?
  3. What blocks code modification but permits read-only analysis?
  4. How should conflicting instructions be resolved?
  5. What changes when one product spans several repositories?
External review

Review this chapter.

Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.

  • Claim
  • Boundary
  • Failure
  • Evidence