A table column can declare `options_source: <peer>` and the server fills its `enum` from the live entries under <project>/<peer>/ — so the row editor renders a dropdown of the current registry instead of free text. Generic + configurable in the spec; no hardcoding. - Server (tablehandler.go): resolveDynamicEnums + registryEntries resolve the peer directory (its *.yaml basenames + subfolders, sorted, dot/spec entries skipped) into the column enum at ServeTable time, before the context inject. - Default risk register: add a `package` column with `options_source: ssr` (dropdown of the project's SSR packages) + the matching form property. The spec comment documents the key so operators can source other registries. - Test covering the resolver (entries, skips, untouched columns). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| archive | ||
| auth | ||
| cache | ||
| config | ||
| convert | ||
| fs | ||
| handler | ||
| jsonschema | ||
| listing | ||
| policy | ||
| tlsutil | ||
| zddc | ||
| zipfs | ||