enhance(#2586): stop installing Codex context-monitor hooks without metrics (#4367)

This commit is contained in:
Tom Boucher
2026-09-06 05:46:49 -04:00
committed by GitHub
parent 0aa4202f6a
commit 03738824de
12 changed files with 668 additions and 121 deletions

View File

@@ -1225,7 +1225,11 @@ const capabilities = {
"tomlConfigInstall": true,
"cleanupSkillSidecars": true,
"agentTomlFiles": true,
"frontmatterDialect": "codex"
"frontmatterDialect": "codex",
"unsupportedFeatures": [
"context-warnings",
"phase-lifecycle-display"
]
}
},
"reviewer": {
@@ -6337,7 +6341,11 @@ const runtimes = {
"tomlConfigInstall": true,
"cleanupSkillSidecars": true,
"agentTomlFiles": true,
"frontmatterDialect": "codex"
"frontmatterDialect": "codex",
"unsupportedFeatures": [
"context-warnings",
"phase-lifecycle-display"
]
}
},
"reviewer": {

View File

@@ -1956,6 +1956,11 @@ const KNOWN_HOST_BEHAVIORS = new Set([
'sourceMarkerFile',
'tomlConfigInstall',
'trackCategoryDescription',
// #2586: declares runtime-level feature axes GSD does not/cannot support on
// this host (e.g. Codex's `["context-warnings","phase-lifecycle-display"]`)
// — present-and-populated / absent-is-unsupported-empty convention, so
// omitting the key on every other runtime carries no inverted meaning.
'unsupportedFeatures',
'verificationStyle',
'writeCategoryDescription',
]);