You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(selfhost): let a review skill opt out via enabled: false frontmatter (#2590)
* feat(selfhost): let a review skill opt out via `enabled: false` frontmatter
Add isReviewSkillEnabled(text): a self-host review skill can set `enabled: false`
(or no/off/0) in its frontmatter to be omitted from the review context, so an
operator can turn a rubric off without deleting the file. The local
review-context reader skips disabled skills. Fully backward-compatible: a skill
without an `enabled` key (every existing one) stays enabled, so behavior is
unchanged unless the directive is explicitly set. Cover the parse vocabulary and
the reader-level omission.
* fix(selfhost): ignore YAML inline comment on review-skill enabled directive
`enabled: true # note` captured the whole value tail (`true # note`),
failed the truthy test, and wrongly disabled the skill. Strip a trailing
` # …` comment before matching so an inline-commented directive reads as
its bare value.
0 commit comments