The federation
Sidecar standards and conventions
Conventions for the product and feature sidecars — field semantics, drift rules, and the tooling on both ends.
Audience: anyone writing or reading a product sidecar in the federation,
or writing tooling that does either.
Scope: the blueforge.*.yml files that travel with a deploy, the asset
protocol they describe, the approval flow that gates them, and the
federation packages that parse and validate them.
Status: living document. Supersede dated; do not edit-accumulate.
1. What the sidecar is
A sidecar is two YAML files at the root of a deployable repo:
| File | Purpose | Schema strictness |
|---|---|---|
blueforge.product.yml |
Identity — who the product IS, what it links to, what assets it ships | V2 strict (schema bump errors the build) |
blueforge.features.yml |
Marketing message — what the product does, how it's priced, what tags it carries | V2 strict |
forge-control reads both on a successful deploy, validates against
@blueforge-studio/blueforge-sidecar-schemas, and POSTs them to
POST /api/deployments on blueforge.studio. The blueforge.studio registry
upserts (repo, app) rows in deployed_apps with the merged sidecar copy
plus the deploy-only facts (URL, commit, deployedAt).
The split is deliberate:
- Identity rides every deploy. A change to
id,name,tagline,links, orassetsis a product-shape change and goes through the approval flow. - Marketing copy can ride the deploy too, but a copy edit doesn't
require a rebuild. Bundling copy into
features.ymllets copywriters ship without coordinating with the dev who last touched the build.
The legacy one-file shape (blueforge.product.yml carrying everything)
still works because the schemas are V1-compatible. New repos should write
the two-file shape; old repos should migrate when convenient, not because
the toolchain demands it.
2. Conventions
Identity file (blueforge.product.yml)
id: <string, lowercase-kebab>
name: <string, human-readable>
tagline: <string, <= 80 chars>
description: <string, 1-3 sentences>
longDescription: <string, optional>
features:
- <string>
- ...
status: <Live | Beta | Alpha | Dormant>
color: <Tailwind class, e.g. text-cyan-400>
gradient: <Tailwind class, e.g. from-cyan-500/20 to-violet-500/20>
icon: <Heroicons name>
ecosystems:
- <creator | learning | living | developer | vertical | business>
links:
site: <https URL, optional>
app: <https URL, optional>
others:
- label: <string>
url: <https URL>
assets:
logo: <repo-relative path, optional>
og: <repo-relative path, optional>
cover: <repo-relative path, optional>
screenshots:
- <repo-relative path>
storeScreenshots: # optional: the detail page's "On the App Store" rows
- path: <repo-relative path>
caption: <string, optional>
alt: <string, optional> # else the platform derives "{name} on {device}, screen n of total"
device: <phone | tablet | desktop, optional — else derived from the image aspect>
locale: <BCP-47, optional — stored for reports, not rendered yet>
releases: # optional: native builds
native: true
platforms: [macos, linux] # macos | windows | linux | android | ios | any
stores: # optional destination links (not rendered yet)
appStore: <https URL> # appStore | macAppStore | playStore
Field rules:
idis the load-bearing key. It is the only field that, when wrong, creates a second card in the catalog. If you change it, the old id stays on the catalog as an orphan row until you remove it fromdata/products.ymlordata/repo-products.yml. The sidecar tool (pnpm sidecar) prints the current id — use it; don't guess.statusmust be one of the four values. The schema enforces this; typos fail the build.color/gradientare Tailwind classes, not hex. The renderer composes them into the card hero; raw hex values get rendered as class names and produce invisible cards.ecosystems[]is the list of buckets the card appears under. A product can be in multiple buckets. The empty list is valid — the card appears in the/appsview but not in any ecosystem grid.assets.*paths are repo-relative, not absolute. They are resolved against the repo root by forge-control and the bytes uploaded under the asset-sync protocol (docs/deploy/asset-sync.md).assets.storeScreenshots[]uploads as kindappstore, one slot per entry in declared order (slots 0…99).deviceoverrides the class the platform derives from the image's aspect;alt/captionare shown verbatim (a derived alt is only a fallback, plan §2.3).localeis kept with the entry for reports — the serving surface has one image per slot until the manifest meta (plan §2.5) lands.tags(schema 0.51.0, promotion-taxonomy plandocs/plans/2026-11-22-promotion-taxonomy.md) — free-form lowercasekey:valuelabels, optional onassets.screenshots[],assets.storeScreenshots[]andassets.storeVideos[]entries:lang:thai,screen:lesson-map,domain:pirate. The catalogue derives per-app filter chips from them on/apps/<id>, andpromotion.coveragerules are evaluated against them: each rule —{ requires: { perTag, count }, appliesTo? }— wantscountDISTINCT values of the tag key among the tagged shots, optionally narrowed to shots also carrying anappliesTotag (a 4-language app:{ requires: { perTag: lang, count: 4 } }). Advisory: the catalog report flags a shortfall as a warn in the "Fix promotion coverage" gap group; nothing blocks a deploy. Pin-first: readers older than sidecar-schemas 0.51.0 reject a sidecar carrying these keys — forge-control confirmed its deploy-time parse is on 0.51.0 as of 2026-11-23 (verified in the running containers), so shipping tagged sidecars is safe from here; the FIRST tagged sidecar in a repo should still deploy while someone watches the registration log for the whole-file drop.perTagis the bare key (lang), not akey:valuetag.audio(schema 0.52.0) — narration clips attached to one store screenshot, optional onassets.storeScreenshots[]entries, first-to-last order, each a path-or-https URL (thestoreVideosrule). Only an https URL is playable: asset-sync has no audio kind, so a repo-relative path has no serving route — the projection keeps https entries only and the catalog report flags the shortfall as anaudio-not-renderedwarn. The/apps/<id>store-shot carousel overlays a play control on the top-right of a shot that carries audio — one play/pause toggle for a single clip; previous / play-pause / next / stop with auto-advance and ann/Ncounter for several. Pin-first: readers older than sidecar-schemas 0.52.0 reject a sidecar carryingaudio— HOLD: do not ship an audio sidecar until forge-control's deploy-time parse is confirmed on ≥ 0.52.0 (the same discipline the tags rollout used; the blueforge page side is inert until then and harmless).releases.platformsis projected by allowlist onto the/appscard's platform line (platformsFromReleases); unknown slugs never reach the card.releases.storeslinks are parsed and carried but not rendered yet.native: trueis required whenreleasesis present (schema 0.49).
Marketing file (blueforge.features.yml)
features:
- title: <string>
description: <string>
media: <repo-relative path, optional>
categories: # FilterChipRow source — empty until populated
- <string>
tags: # TagChips source — empty until populated
- <string>
pricing:
free: <bool>
startingAt: <string, optional, e.g. "$9/mo">
url: <https URL, optional>
The categories and tags arrays are empty by design until products
populate them. Filter chips across the site render nothing when no product
has populated the field — that's the contract, not a bug. See
project-chip-filters-empty-by-design memory.
Feature bullets, status, and trace evidence
A features: bullet may be plain text or a typed object. Two object forms
exist; both are strict-schema (sidecar-schemas ≥ 0.42 for promotion keys,
≥ 0.45 for icon/tags):
features:
- text: Ship from the CLI # plain bullet
- icon: rocket # 0.45: inline bullet with promotion keys
text: Ship from the CLI
status: shipped # declared status (FEATURE_BULLET_STATUSES)
tags: [deploys]
- feature: deploy-pipeline # ref bullet: names a feature spec id
status: shipped
icon: rocket
tags: [deploys]
How the detail page renders a bullet (reader side, src/lib/feature-status.ts
src/lib/apps/showcase-view.ts):
- Status is evidence > declared > unknown: trace evidence wins over the
bullet's
status; with neither the bullet showsunknown— nevershippedby default. - Title resolves overlay → the bullet's own
text/promo.title→ the spec title from the registration'sfeatureSpecsblob → the trace title → the raw feature id. A ref bullet with none of these shows the bare id publicly — give it atext:(or make sure the specs/trace ride the registration).
Trace evidence is the repo's .forge/trace.json (generated by
arch-sdk trace index), carried to the registry inside the registration's
editorial blob under the trace key. A trace that links verifying tests to
a feature id makes that id verified and supplies its spec title. Without
it, ref bullets fall back as above. Repos with feature specs should run the
trace index and confirm their registration client includes it; repos
without one should prefer inline bullets with an explicit text:.
User flows: the text-slide deny rule (2026-10-29)
A promoted flow plays as a slideshow ("video") only when at least
MIN_VISUAL_SHOTS (2) of its steps carry a screenshot — a step's
shot: "@screenshot/<id>" naming an assets.screenshots[] entry, a numeric
slot, or an /api/products/.../assets/screenshot URL. A deck of text slides
with a number on them reads as broken, so:
- Read side (enforcement,
src/lib/apps/showcase-view.tspromoFlows): a flow the sidecar explicitly promoted (promote: trueon the flow) with fewer than two resolvable shot refs is not promoted at all. Flows shown by the file-wide default (nopromotekeys in the file) keep the numbered outline — that is the honest "not photographed yet" state. The operator promo overlay is exempt (flows.<id>.promote: truethere is the deliberate override). The deny reads AUTHOR INTENT only: the registry's multi-row union resolves visibility onto a separatepromoteExplicitstamp and never touches the rawpromotekey, so a union-stamped flow cannot trip the deny (overwritingpromoteitself hid 21 products' flows from/api/appson 2026-10-29 — fixed same day). - Registration side (notice,
src/services/deployments/flow-shots.ts): the deploy response carriesflow-shot-unresolved(a promoted step's@screenshot/<id>names no declared screenshot — a typo) andflow-text-only-denied(the promoted flow cannot earn a player) warnings. The blob is stored verbatim either way; these tell the repo while its deploy log is still open. - Nightly (detection, catalog report): the daily
verify-links.ymlrun passes--probe-shots; a player whose captured bytes 404 (the world-map-editor slot-scheme mismatch of 2026-10-28 was exactly this) is reported asflow-text-slide-player— "N text slides" — in the fix-flows gap group.
So a repo that wants a flow promoted: declare promote: true, give at least
two steps real screenshots (sidecar-declared promo shots via
promo.shots.yml-style recipes, or fleet capture slots), and keep every
@screenshot/<id> ref pointed at an id the product sidecar actually
declares.
Families inventory and the per-app sidecar audit (2026-10-29)
The structured sidecar families a registration can carry, and what each is for:
| Family | File(s) | Answers |
|---|---|---|
| product | blueforge.product.yml |
identity, links, assets |
| features | blueforge.features.yml |
marketing bullets, pricing, promotions |
| featureSpecs | features/<id>.feature.yml |
one file per feature: capability, routes, acceptance |
| user flows | user-flows/*.user-flows.yml |
product journeys (the slideshow source) |
| data flows | user-flows/*.data-flows.yml |
system-to-system journeys |
| roadmap | blueforge.roadmap.yml |
what shipped / is building / is planned (references features, never duplicates) |
| screenshots | assets.screenshots[] |
the promo stills flows and galleries reference |
| apps | blueforge.app.yml |
per-app entries in a monorepo (dependsOn, packages, trace) |
| packageSpec | blueforge.package.yml |
exports / consumedBy for libraries |
| tests | blueforge.tests.yml |
operator tasks + declared checks |
| trace | .forge/trace.json |
feature → verifying-test evidence |
| showcase | blueforge.showcase.yml |
labelled stills over the screenshots |
There is no vision schema: the vision narrative lives in product copy
plus the roadmap lanes. Making it a structured family would be a new
sidecar-schemas proposal, not an audit finding.
Cross-links the registry validates (registration warnings, never 422s):
a flow/data-flow/roadmap item naming a feature id that no spec or ref
bullet declares → flow-feature-unresolved / roadmap-feature-unresolved
(src/services/deployments/sidecar-links.ts). The repo-side Tier A gate is
verify-flows in blueforge-sidecar-schemas; this is the server-side echo.
Progress tracking: pnpm sidecar:audit writes
docs/audits/sidecar-audit-<date>.{md,json} — per-app family presence,
counts, dangling links, and a 0–10 completeness score. Each committed run
is the history (the next run diffs against the newest earlier file). The
nightly catalog-report run runs it too. Baseline 2026-10-29: median 8/10,
trace 0%, showcase 0%, tests 1%, 85 dangling feature references.
Naming precedence
When the sidecar disagrees with data/products.yml or
data/repo-products.yml aliases:
- Sidecar
idand copy always win (the registry is the source of truth for deploy-sourced products). data/products.ymlis the fallback for products that have never deployed a sidecar.data/repo-products.ymlaliases fold a control-plane slug into a product id when the repo cannot carry its own sidecar (LangQuest family, packr-registry's bare-repo row, books-platform's image worker, property-platform's umbrella). Sidecar id always wins; aliases only apply when no sidecar row exists.
Per reference-naming-map-precedence memory.
Not a product: kind: dev
Some repos are engines or libraries, not user-facing apps (lq-core: "DEV-ONLY: library monorepo ... NOT for production"). They must never be a catalog card, a store listing or a product page. There are two ways to say so, and they are not equivalent:
blueforge.product.yml, on the product entry:kind: dev(schema ≥ 0.34.0, pin-first: V2 is strict, so bump every reader before any repo declares it). This is the right one for anything that runs in production. It changes only how blueforge presents the product; the app deploys as before. Every registration carries the product blob, so it covers all of the product's apps at once.blueforge.config.json, per app:"kind": "dev". This is forge-control's own deploy kind, meaning a harness that is deliberately never deployed (deploy-strategies/src/app-kinds.ts; the build-worker skips it). Do not use it on a service that runs. A repo whose apps are alldevhas nothing deployable and its deploy fails ("declares N app(s) but none is deployable"), which is what happened to lq-core whenplatform-apiandreview(live services) were markeddev(lq-core#159, undone in lq-core#161). blueforge still hides such a row from the catalog, but only use it for apps that are genuinely never deployed.
Earlier text here said a dev app "may still deploy" and told you to mark every app in config; both were
wrong for forge-control, which owns the meaning of config kind. Catalog visibility must never be encoded
as "not deployable".
Effect (src/services/deployments/register.ts, groupRegistry): the row is stored under role dev
(no migration), no products row and no store listing is derived, and groupRegistry drops dev rows, so
/api/products, /apps and /store never see them. A product's other rows are untouched. Rows registered
before the flag stay until they are re-registered or retired; take a platform app off the store at once with
bfs store listing suspend <id> --reason … (or pnpm store:admin listing suspend … in this checkout).
2.x The roadmap sidecar (blueforge.roadmap.yml) — proposed, blueforge side built
A third root sidecar beside product and features: roadmap items that reference feature ids, with a status
(planned / in-progress / shipped / dropped), a coarse target period (2026-Q4 or 2026-11), an optional
release, and a per-item visibility that defaults to internal. Features are authoritative for "shipped" (an
item whose features all shipped is shown shipped; a shipped claim a feature contradicts is shown in progress), and
the public view is an allowlist: the raw document is stored but never echoed. The schema and loader ship in
sidecar-schemas (next minor, additive: no existing version literal changes); until then blueforge reads the
document leniently. Design, data path, UI and the forge-control seams:
docs/plans/2026-10-14-roadmap-sidecar-blueforge-side.md.
3. The asset protocol
Sidecars declare four kinds of imagery:
| Kind | Suggested size | Used on |
|---|---|---|
logo |
512 px square | Card hero, OG fallback |
og |
1200 × 630 | OpenGraph / Twitter cards |
cover |
1024 px | /apps card hero, blog cover fallback |
screenshot |
1024 px | /apps hover slideshow + imagery gallery |
appstore |
1600/960/480 square box, inside fit (aspect kept, never enlarged) |
the detail page's "On the App Store" rows; slots 0…99 |
(Per the vision-reviewer rendition table — see src/services/agents/vision-reviewer.ts.)
Sync shape
Per docs/deploy/asset-sync.md:
- forge-control computes the sha256 of each declared asset after a successful deploy.
- The shas are POSTed to blueforge.studio as part of the deploy
registration. blueforge.studio upserts
product_assetskeyed on(product_id, kind, slot, variant)with the new sha. - forge-control uploads any bytes whose sha isn't already on the
storage driver. The bucket is
MINIO_BUCKET=app-blueforgeon the fleet; the storage driver is@blueforge-studio/service-storage(MINIO_ENDPOINT/MINIO_ACCESS_KEY/MINIO_SECRET_KEYinjected by forge-control based ondependencies: ["s3"]inblueforge.config.json). GET /api/products/:id/assetsis the manifest the next deploy reads to decide what's already there. This route must not callpublicManifestsFor/servingManifestsFor— hiding a pending entry makes forge-control conclude the asset was never uploaded and re-send it forever.
Resolution order
When the catalog renders an asset:
- Uploaded asset (from
product_assets). - Asset discovered from the live site's
<head>after a registration (pnpm assets:discover). - Bundled
public/images/products/<id>/…(committed fallback).
Renditions are produced by src/lib/assets/normalize.ts. The
localPatterns allowlist on next/image (fix(images) series, PRs
#133, #135) gates which paths the optimizer will resize — out-of-pattern
paths bypass next/image and render as raw <img>.
Versioning + rollback
When an asset is replaced, the prior approved rendition is moved to
asset_superseded (mirroring product_assets column-for-column). The
storage object is preserved. Two consequences:
- The site keeps showing the prior version while the new one waits for
approval.
servingManifestsForreturns the superseded rendition withstate: "superseded"so the public site and the queue can distinguish "serving the prior approved version" from "serving the current upload". - Rollback is a re-insert into
product_assetspointing at the oldstorage_key. No code path needed.
This is the version contract that docs/runbooks/2026-09-18-approval-gate-deploy.md
relies on for the "rollback a replace" path.
4. Approval flow integration
The approval gate (PR #143) covers sidecar-derived assets, not the sidecar YAML itself. The gate answers "may this rendition be shown?" — the sidecar YAML is validated by the schema at deploy time.
Two standing tables plus two append-only tables:
| Table | Purpose |
|---|---|
asset_approvals |
Standing decision: may this (product_id, kind, slot, source_sha256) be shown? |
asset_superseded |
The last approved rendition that was replaced. Bytes preserved. |
approval_events |
Audit trail. Append-only; covers both halves of the gate. |
agent_reviews |
What the reviewing model thought. Append-only. Advisory. |
agent_reviews is append-only by design: a re-run adds a row rather than
overwriting, so the table is a labelled set of model calls sitting next to
operator decisions. That is the only way to find out whether the model is
any good.
The three env vars that drive the gate (per the runbook):
| Env var | Default | Effect |
|---|---|---|
VISION_GATEWAY_ENABLED |
false (effectively) | Calls the model on every upload. |
APPROVAL_AUTO_ENABLED |
false | Lets a high-confidence "approve" become a standing decision. |
APPROVAL_GATE_ENABLED |
false | Public site reads from servingManifestsFor. |
The ramp is VISION → AUTO → GATE, in that order, with operator-eye-time
between each step. Do not flip more than one per deploy.
APPROVAL_AUTO_ENABLED=true plus VISION_MODEL=minimax-m3 plus
APPROVAL_AUTO_THRESHOLD=7 plus APPROVAL_AUTO_REQUIRE_RECOMMENDATION=true
is the recommended starting pair. Auto-reject is intentionally absent;
rejection always requires a person.
5. Federation packages
Sidecar work uses the following @blueforge-studio/* packages from
packr-registry (api.packr.blueforge.studio). Production builds fail
without PACKR_TOKEN in the deploy env — see reference-packr-token-rotation-api
memory for the rotation path.
Validation + sync
| Package | Version (as of 2026-09-19) | Use |
|---|---|---|
@blueforge-studio/blueforge-sidecar-schemas |
^0.3.1 |
The V2 strict Zod schema for both blueforge.product.yml and blueforge.features.yml. forge-control parses with this; a typo or unknown key fails the build. |
@blueforge-studio/service-storage |
^0.1.1 |
The storage driver abstraction (minio on the fleet, fs in dev). Used by src/services/assets/store.ts for the asset-sync protocol. |
@blueforge-studio/store-snapshot |
^0.1.2 |
Snapshot reads of product_assets for offline catalog rendering. |
Approval + review
| Package | Version | Use |
|---|---|---|
@blueforge-studio/vision-gateway |
^0.7.2 |
The vision-evaluator package. blueforge builds VisionEvaluator from the forge-gateway env (FORGE_GATEWAY_URL + FORGE_GATEWAY_TOKEN, provider shimmed as qwen); the direct-provider createVisionEvaluatorFromEnv() path (minimax-anthropic / Replicate) is no longer used here — removed 2026-11-19 per the forge-gateway centralization directive. |
@blueforge-studio/ai-budget |
^0.1.7 |
Per-tenant budget guard. Not currently wired to the vision reviewer; reserved for the LLM-proxy seam (forge-dev PR #286). |
Audit + observability
| Package | Version | Use |
|---|---|---|
@blueforge-studio/screen-audit |
^0.7.0 |
The screen-audit runner. pnpm catalog:full and the daily .gitea/workflows/verify-links.yml invoke this. |
@blueforge-studio/screen-audit-runner |
^0.2.3 |
Orchestration layer around the audit. Drives the iterate loop. |
@blueforge-studio/screen-audit-kit |
^0.1.0 |
Reusable fixtures + scoring templates. |
@blueforge-studio/audit-tiers |
^0.2.0 |
The dashboard's audit-tier classification per repo. |
@blueforge-studio/error-tracker |
^0.1.1 |
Server-side error tracking (forge-error-tracker backend). |
@blueforge-studio/service-error-tracking |
^0.1.0 |
Browser-side adapter. |
@blueforge-studio/resource-guard |
^0.1.3 |
Process-resource caps for the audit runner. |
@blueforge-studio/dom-instrument |
^0.1.2 |
DOM capture for the audit. |
Other blueforge-org packages of interest
These ship from the same registry but are not used by sidecar work today:
@blueforge-studio/service-email,@blueforge-studio/service-newsletter— communication channels. Used by/api/contactand/api/send.@blueforge-studio/auth-session— used inmarketing-osPhase 5 PR-7 (Better Auth wiring, gated on forge-auth Spec 2).@blueforge-studio/marketing-kit— slot-driven chrome (SiteHeader, Hero, FeaturesGrid, PricingGrid, Footer, NewsletterForm, CTABand). Adopted by office-platform; blueforge.studio + marketing-os hand-roll their chrome for now.@blueforge-studio/service-template— wrapper around the deployed app's surface.@blueforge-studio/blueforge-sidecar-schemas— listed above.
When to add a new package vs. extending an existing one
Two-file split is the floor. If the new concern is identity-shaped
(it should ride every deploy, fail on schema bump), put it on
blueforge.product.yml. If it is copy-shaped (it can ride the
deploy but doesn't have to bundle with identity), put it on
blueforge.features.yml. If neither fits — for example, a vendor
integration that has nothing to do with the catalog — open a new file
(e.g. blueforge.integrations.yml) with its own V2-strict schema
module in blueforge-sidecar-schemas, not a new ad-hoc format.
Do not invent new formats inside blueforge.product.yml because they
look similar to existing fields. The schema's job is to reject them.
6. Tooling
pnpm sidecar
pnpm sidecar <product-id> [--apps a,b] prints the V2-strict two-file
output (product.yml identity + features.yml marketing), copied verbatim
from data/products.yml. Use this as the starting point for a new
sidecar or to compare what's in the bundle against what a repo ships.
pnpm sidecar --list shows what's left in the bundle.
pnpm assets:discover
POST /api/products/:id/assets/discover scrapes a live product's own
<head> for a logo and social card when the catalog still shows a
placeholder. Fills gaps only — does not overwrite uploaded assets.
scripts/capture-screenshots.mjs --push
Shoots every product's links.site from GET /api/products and uploads
it as screenshot slot 0. The weekly .gitea/workflows/screenshots.yml
runs this with --push. Without --push it writes bundled fallbacks
under public/images/products/<id>/. Needs BLUEFORGE_DEPLOY_TOKEN in
the CI env.
scripts/push-store-screenshots.mjs
Uploads a folder of store screenshots as kind appstore
(node scripts/push-store-screenshots.mjs <dir> --product <id> [--apply] [--prune]). Dry run by default: it probes every image, prints the planned
slots (file → slot → device → size → sha12) and refuses unreadable,
near-blank, phone-folder-landscape, >100-file and >10 MiB inputs. Idempotent
against GET /api/products/:id/assets — only changed slots PUT. Needs
BLUEFORGE_DEPLOY_TOKEN for --apply; the token is never printed.
scripts/capture-store-screenshots.mjs
Playwright capture at the store's pixel sizes: --device iphone-6.9|ipad-13|mac-16-10 (DPR-scaled viewport, so the PNG lands at
1320×2868 / 2064×2752 / 2880×1800), --routes /,/…, output
<out>/<device>/en/NN-<route>.png. --seeded is required — seeding and
sign-in are the caller's job (--init-script, --storage-state); a blank
render fails the run rather than being skipped.
forge blueforge-sync --repos-root ~/Projects/Repos
Backfill for apps deployed before their repo carried a sidecar. Re-runs the sidecar sync for every repo under the root. Run once after a major sidecar-format change; idempotent.
Generated manifest (blueforge-sidecars aggregate)
Since sidecar-schemas 0.17.0 (2026-09-25), a repo may carry
blueforge.manifest.yml as a derived aggregate of the file family
(product / features / apps / packages / tests / showcase embedded verbatim;
flows/featureSpecs as sorted path indexes — discovery stays path-based).
- It is generated. The file starts with a
GENERATED — DO NOT EDITheader; the file family remains the only hand-edit surface. Regenerate withpnpm exec blueforge-sidecars aggregateafter any family change; the output is byte-deterministic. - CI runs
blueforge-sidecars aggregate --checkas a second step in the sidecar job: missing manifest → skip (exit 0 + notice), stale or invalid → red. A hand-written (header-less) manifest is never overwritten and never drift-compared — it is only validated. - Always write the
.ymlextension —blueforge.manifest.jsonis the agent-bundle manifest, a different file entirely. - Pin-first: the generator + CI step require
@blueforge-studio/blueforge-sidecar-schemas@^0.17.0inpackage.jsonand the lockfile, in the same PR. - Rollout waves, per-repo matrix and merge conventions:
docs/plans/2026-09-25-sidecar-structured-data-rollout.md.
7. Cross-references
docs/deploy/asset-sync.md— the wire protocol for asset uploads.docs/deploy/blueforge-registration.md— how a deploy registers itself with the blueforge registry.docs/runbooks/2026-09-18-approval-gate-deploy.md— the operator runbook for turning the approval gate live (three-stage ramp).docs/migrations/2026-09-12-sidecar-state-and-architecture-review.md— the architectural review that motivated the V2 split.docs/audits/catalog-report-<date>.{md,json}— the daily catalog readiness report; products bucketed A–E2.- Memory:
project-sidecar-tool-v2-split,reference-naming-map-precedence,project-chip-filters-empty-by-design,project-catalog-row-fold-mechanics,project-deploy-sync-contract.
8. Versioning this doc
This document is the load-bearing artifact for sidecar conventions. It is the canonical reference; the schemas and code defer to it. When you change a convention:
- Edit this doc.
- Bump the schema in
@blueforge-studio/blueforge-sidecar-schemas. - Add a migration script in
scripts/sidecar-migrations/if any existing sidecars need updating. - Note the change in
Handover.mdand the next daily audit.
Do not edit the conventions in code or in individual repos without updating this doc first. The whole point of the doc is that the source of truth lives in one place.