Feat/permission modes#261
kern-guard: 2 new issues (+6 on existing code) (+14 advisory)
ℹ️ Inline review comments — no changes.
Mode: ephemeral
Sources: ast
Changed files: 25
All findings: 24
New to this PR: 22
Shown: 8 (2 on changed code, 6 advisory)
Hidden: 14 (advisory or muted rules)
Excluded: 89 findings on paths matched by 18 install patterns
Fix suggestions: 7 shown findings
Confidence: 70%-80% on shown findings
Breakdown: ast=8
Advisory findings outside changed code (6)
6 findings listed here are outside the changed code for this PR — they appear in the summary because GitHub can't pin annotations off-diff. Advisory only; they do not affect the check conclusion.
packages/cli/src/kern/cesar/session.kern · 1 finding
Warning
L230 · file-too-monolithic (outside diff)
.kern file has 19 top-level concern declarations outside any module block (19 fns); limit is 10. Threshold tightened to 10 because 5 handlers in this file exceed the 30-line handler-size limit. G...
packages/cli/src/kern/signals/app-input.kern · 1 finding
Warning
L8 · file-too-monolithic (outside diff)
.kern file has 19 top-level concern declarations outside any module block (19 fns); limit is 12. Group related declarations under module Name blocks or split into separate files to keep the str...
packages/cli/src/kern/surfaces/app.kern · 3 findings
Warning
L166 · unused-state (outside diff)
State 'activeAbort' is declared but never referenced in handlers, derives, guards, or logic within its scope
Warning
L174 · unused-state (outside diff)
State 'liveScoreboard' is declared but never referenced in handlers, derives, guards, or logic within its scope
Warning
L175 · unused-state (outside diff)
State 'liveRationale' is declared but never referenced in handlers, derives, guards, or logic within its scope
packages/cli/src/kern/surfaces/status-helpers.kern · 1 finding
Warning
L8 · file-too-monolithic (outside diff)
.kern file has 17 top-level concern declarations outside any module block (17 fns); limit is 10. Threshold tightened to 10 because 3 handlers in this file exceed the 30-line handler-size limit. G...
Annotations
Check warning on line 38 in packages/cli/src/kern/cesar/permission-resolver.kern
kern-guard / kern-guard
file-too-monolithic
.kern file has 17 top-level concern declarations outside any `module` block (17 fns); limit is 12. Group related declarations under `module Name` blocks or split into separate files to keep the structural layer scannable.
Raw output
Confidence: 70%
Suggestion:
Wrap related declarations in `module Name` blocks — declarations inside modules don't count toward this limit. Example: `module name=domain` followed by indented `fn`/`route`/`handler` children.
Check warning on line 6 in packages/cli/src/kern/cesar/tools.kern
kern-guard / kern-guard
secrets/high-entropy-string
A high-entropy string that looks like a random secret was committed here. If it is a credential, move it to an env var or secret store and rotate it. Matched value: `auth…(27 chars)`.
Raw output
Confidence: 72%