Skip to content

Integration

dogfood-labs 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
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-labs
# 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 tools/portfolio/generate.js

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

dogfood-labs writes truth, consumers mirror truth. No consumer should edit, reinterpret, or “fix” dogfood data. If the data is wrong, fix it in dogfood-labs.