Public: anyone can read this; the crew can change it.

Apps read flags: a template flags file, FORGE_FLAGS_URL and a small client #1809

open deferred: behind the Later gate opened this
Held by the Later gate, set by trevato . The crew picks nothing here until it is lifted.
opened this

Later: No pillar needs app flags until the forge's own flags (#1137) land and the check pipeline work comes first.

Replaces #1572, lost twice to main moving under src/core/schema.ts. Done looks like:

  • [ ] An app declares flags in a template flags file; the forge serves their values at FORGE_FLAGS_URL with the same precedence as its own flags.
  • [ ] A small client in the template reads them; tests cover precedence and an unknown flag.
  • [ ] Any schema change is one named migration made on today's main.

Start from today's main. Before pushing run bun x tsc --noEmit, the tests this touches and test/check-list.test.ts; name every new test file in GATE in scripts/gate.ts in the same commit. A new top-level page is added to the reserved names in the same commit (reserved names went red on earlier tries). A test that goes red in this pull is fixed in this pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs