Skip to main content
reopt Handbook
reopt Handbook
Harness Engineering

Problem and Structure

Foundations of Harness EngineeringRepo-Readable SystemsThe Five Elements of a HarnessEngineering Mechanics

Evaluation and Interpretation

Evaluation Loop DesignExternal Case Comparison

Case Studies

Case: OpenAICase: AnthropicCase: TossCase: gstackCase: revfactory/harness

Domain Playbooks

Domain PlaybooksScenario: Frontend TeamScenario: Platform TeamScenario: Payments and Settlement TeamScenario: AI Product TeamWhy You Eventually Need Your Own Harness

Rollout and Operations

Team Harness Rollout StrategyTeam Harness Design ChecklistOperations: Entropy and Garbage Collection

Appendix

Verification ReportUpdates
Handbook›Harness Engineering›Scenario: Platform Team
한국어English

Scenario: Platform Team

Design a harness around invariants, impact analysis, shared modules, release gates, and migration discipline.

Key takeaways

  • Platform harnesses protect shared contracts across teams, with invariants, impact analysis, release gates, and ADR/changelog as the load-bearing elements.
  • The loop reads invariants and runs impact analysis before implementation, then gates on contract tests and a release gate before shipping a changelog entry.
  • The policy reads docs/invariants.md and docs/release-gates.md first and forces approval for public package API, runtime config, or shared-data migration changes.
  • Common failures map to specific responses: downstream breakage to impact analysis and contract tests, boundary drift to loaded invariants, hidden migration risk to a human gate.
  • First 30 days: write docs/invariants.md, require impact analysis for shared package changes, and make release notes part of the done criteria.

Platform teams fail when a local-looking change breaks a shared contract. The harness must protect invariants across teams and packages.

Problem Structure

  • Shared packages are changed without understanding downstream impact.
  • Architecture boundaries are implicit.
  • Release gates are remembered only by maintainers.
  • Migrations or config changes break consumers.

Load-Bearing Elements

ElementWhy it matters
InvariantsPrevents architecture drift
Impact analysisIdentifies consumers before change
Release gateKeeps shared changes disciplined
ADR / changelogPreserves decisions and migration notes

Recommended Loop

Artifact Structure

architecture.md
invariants.md
release-gates.md
migration-policy.md
impact-analysis.md
release-note.md

Example Policy

platform_change:
  read_first:
    - "docs/invariants.md"
    - "docs/release-gates.md"
  require_approval_if:
    - "public package API changes"
    - "runtime config changes"
    - "migration touches shared data"
  must_update:
    - "changelog"
    - "migration notes"

Common Failures

FailureHarness response
Shared API breaks downstream codeImpact analysis and contract tests
Architecture boundary driftInvariants loaded before implementation
Release note missingShip gate requires it
Migration risk hiddenHuman gate for migrations

First 30 Days

  1. Write docs/invariants.md.
  2. Require impact analysis for shared package changes.
  3. Make release notes part of the done criteria.

Read Next

  • /en/books/harness-engineering/case-openai
  • /en/books/harness-engineering/case-toss
  • /en/books/harness-engineering/team-rollout

Related docs

Domain Playbooks

Translate harness principles into frontend, platform, payments, and AI product teams.

Shared Packages

Enterprise Project Architecture · Govern reusable packages for UI, contracts, configuration, and domain logic.

Scenario: Frontend Team

Design a harness where browser QA, accessibility, visual state, and design rules are load-bearing.

90-Day Roadmap

AI-Era GTM · Roll out AI GTM in 30/60/90 day phases without losing control.

Monorepo Architecture

Enterprise Project Architecture · Design monorepo boundaries for apps, packages, tooling, and teams.

Scenario: Frontend Team

Design a harness where browser QA, accessibility, visual state, and design rules are load-bearing.

Scenario: Payments and Settlement Team

Design a harness where approval, reconciliation, audit trail, and rollback reduce financial correctness risk.

On this page

Problem StructureLoad-Bearing ElementsRecommended LoopArtifact StructureExample PolicyCommon FailuresFirst 30 DaysRead Next