Skip to content

Integration

testing-os is the sole write authority for dogfood evidence. Other systems consume this data as read models.

SystemHow it readsWhat it does
shipcheckGitHub raw URL (CDN)Gate F enforcement — blocks or warns based on dogfood status
repo-knowledgerk sync-dogfood (local or URL)Mirrors facts into SQLite for portfolio queries
repo-knowledgesync-export --jsonIngests accepted findings, patterns, recommendations, doctrine
role-osAdvice bundlesConsumes inherited guidance for bootstrap/review contexts
org auditPortfolio JSONIncludes dogfood status in audit posture

shipcheck reads indexes/latest-by-repo.json from the GitHub raw CDN and evaluates:

  • Is the repo in the index?
  • Is the surface verified pass?
  • Is the freshness within threshold?

Combined with the enforcement tier from the policy YAML:

  • required — fail on violation
  • warn-only — warn but exit 0
  • exempt — skip evaluation, exit 0

The sync-dogfood command reads the index and policy files, then upserts structured facts into the repo_facts table:

Fact KeyExample Value
surface:cli:verifiedpass
surface:cli:enforcementrequired
surface:cli:freshness_days2
surface:cli:run_idshipcheck-1-1
surface:cli:finished_at2026-03-20T…
statuspass (worst-case rollup)
surfacescli

Usage:

Terminal window
# From local checkout
rk sync-dogfood --local F:/AI/dogfood-lab/testing-os
# From GitHub (default)
rk sync-dogfood

The portfolio generator reads the index and all policy files, producing a summary at reports/dogfood-portfolio.json:

Terminal window
node packages/portfolio/generate.js

Output includes coverage counts, per-repo entries with freshness, stale repos, and repos with policies but no index entry.

The intelligence layer adds a second consumption path beyond raw dogfood status.

Future projects query for inherited guidance:

Terminal window
node packages/findings/cli.js advise --surface mcp-server

Returns starter checks, evidence expectations, likely failure classes, relevant doctrine, and supporting lineage.

All accepted learning artifacts can be exported as structured JSON for repo-knowledge:

Terminal window
node packages/findings/cli.js sync-export --json

The export includes accepted findings, patterns, recommendations, and doctrine with full provenance IDs preserved.

role-os can pull advice bundles into bootstrap and review contexts. role-os is a downstream consumer only --- it does not write back to testing-os or own any learning artifacts.

testing-os writes truth, consumers mirror truth. No consumer should edit, reinterpret, or “fix” dogfood data. If the data is wrong, fix it in testing-os. This applies to both raw dogfood status and intelligence layer artifacts.