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
Part of the OKF epic #1057. First consumer surface from #1059.
A suppression reason may cite a concept with an okf: token, e.g. // chant-disable-next-line AWS021 -- okf:/decisions/public-assets.md. parseDisableComments (packages/core/src/lint/engine.ts) already captures reason text after -- unchanged, so the directive syntax does not move. Today suppressed diagnostics reach only SARIF, where the reason lands as justification (formatSarif in cli/reporters/stylish.ts). Add a suppressed section to formatStylish that resolves an okf: citation against the loaded bundle and prints the concept's title beside the rule id, with the bundle-relative path on the following line. A citation that resolves nothing prints as-is with a warning. A cited suppression suppresses exactly as an uncited one does.
Depends on the bundle reader.
Acceptance criteria
formatStylish gains a suppressed section rendered when suppressed diagnostics exist
an okf: citation resolves to the concept title and path in the output
an unresolvable citation prints the raw reason with a warning
Activity
feat(core): OKF knowledge bundle reader — load and bind authored conc…
feat(core): lint suppressed section resolving okf: concept citations (I…