Files
Peter Steinberger 4b7ae2b627 refactor(reef): drop hand-maintained manifest schema copies (#131292)
* refactor(reef): drop hand-maintained manifest schema copies

The reef manifest duplicated the full channel config schema into both
configSchema and channelConfigs.reef.schema, and the channelConfigs copy
silently overrode the zod-derived generated bundled channel metadata in
config validation - three surfaces to keep in sync by hand (the trap that
bit #131167). Match sibling bundled channel plugins: stub plugin-level
configSchema, no channelConfigs copy; the generated metadata (from the
zod schema, CI-checked) is the single channel-schema source.

* fix(reef): doctor migration for stray plugins.entries.reef.config

The retired full plugin-entry schema let a Control UI plugin form park
reef settings under plugins.entries.reef.config where the runtime never
read them. Doctor now reports the location and --fix moves the keys into
channels.reef (channel values stay authoritative; the move only commits
when the merged record parses, so a fix can never corrupt valid config).
2026-08-27 18:27:24 -07:00

36 lines
640 B
JSON

{
"id": "reef",
"doctorContract": {
"configRepair": true,
"stateMigrations": true
},
"name": "Reef",
"description": "Guarded end-to-end encrypted claw channel",
"cliCommands": [
{
"name": "reef",
"description": "Register on a Reef relay and manage guarded claw-to-claw friendships",
"hasSubcommands": true
}
],
"activation": {
"onStartup": true,
"onCommands": [
"reef"
]
},
"channels": [
"reef"
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"commandAliases": [
{
"name": "reef"
}
]
}