Files
AlexKucera 4724e00b73
CI / ci (push) Canceled after 0s
feat(mentor): native deslop lint as fix cards (#6)
PRD S3.4: the deslop doctrine's deterministic findings — banned-vocab
tiers and em-dash density — are now computed in Swift at pass
invocation, one line after the #31 stats capture, with no engine
round-trip. Findings land as real fix cards (emitter lint) through
FixCardStore, so they render in the existing palette with ask-before
Apply on mechanical mapping cards; mapped phrases (the skill's verb
swaps + #31, e.g. utilize→use) case-match their anchor per ADR-0006,
everything else closes Done/Skip. One card per phrase over its tier
allowance, whole-word case-insensitive matching (delved never fires
delve), em-dash density card first when over budget; emit dedups
against OPEN cards so re-runs make progress and the engine never
re-cards a live lint finding.

The tiers ship as data (Resources/deslop-lint.json mirroring the
deslop skill verbatim — key/landscape/highlight/bare-underscore
omitted as POS-ambiguous) with a <home>/deslop-lint.json override
that wins whenever it exists and decodes: trivially editable without
a recompile.

Finish-audit fixes folded in: whitespace-only override phrases can
no longer silently kill a whole submit (the guard mirrors the
store's trimmed validation), and submit now refuses a symlinked
cards/ dir (promote's posture — the lint auto-fires it every Run
Pass). Suite 489; one EditorSession load-flake cleared in isolation
and on the idle re-run.

Closes #6
2026-10-30 12:05:30 +01:00

94 lines
3.1 KiB
JSON

{
"tiers": [
{
"name": "Tier 1",
"note": "dead giveaway, never use",
"maxAllowed": 0,
"phrases": [
{ "phrase": "additionally" },
{ "phrase": "align with" },
{ "phrase": "bolster" },
{ "phrase": "bolsters", "replacement": "supports" },
{ "phrase": "catalyst" },
{ "phrase": "catalyzes", "replacement": "starts" },
{ "phrase": "cornerstone" },
{ "phrase": "comprehensive" },
{ "phrase": "crucial" },
{ "phrase": "delve" },
{ "phrase": "emphasize" },
{ "phrase": "emphasizing" },
{ "phrase": "embark" },
{ "phrase": "empower" },
{ "phrase": "encompass" },
{ "phrase": "encompassing" },
{ "phrase": "encompasses", "replacement": "includes" },
{ "phrase": "elucidate" },
{ "phrase": "endure" },
{ "phrase": "enduring" },
{ "phrase": "enhance" },
{ "phrase": "enhanced" },
{ "phrase": "facilitate", "replacement": "help" },
{ "phrase": "facilitated", "replacement": "helped" },
{ "phrase": "foster" },
{ "phrase": "fostering" },
{ "phrase": "garner" },
{ "phrase": "garnered" },
{ "phrase": "garners", "replacement": "gets" },
{ "phrase": "groundbreaking" },
{ "phrase": "harness" },
{ "phrase": "holistic" },
{ "phrase": "invaluable" },
{ "phrase": "interplay" },
{ "phrase": "intricate" },
{ "phrase": "intricacies" },
{ "phrase": "leverage", "replacement": "use" },
{ "phrase": "leveraging", "replacement": "using" },
{ "phrase": "meticulous" },
{ "phrase": "multifaceted" },
{ "phrase": "myriad" },
{ "phrase": "nuanced" },
{ "phrase": "paramount" },
{ "phrase": "paradigm" },
{ "phrase": "pivotal" },
{ "phrase": "poised" },
{ "phrase": "realm" },
{ "phrase": "reimagine" },
{ "phrase": "robust" },
{ "phrase": "seamless" },
{ "phrase": "showcase" },
{ "phrase": "showcasing" },
{ "phrase": "spearhead" },
{ "phrase": "spearheading" },
{ "phrase": "spearheads", "replacement": "leads" },
{ "phrase": "streamline" },
{ "phrase": "streamlined" },
{ "phrase": "synergy" },
{ "phrase": "tapestry" },
{ "phrase": "testament" },
{ "phrase": "transformative" },
{ "phrase": "underscored" },
{ "phrase": "underscores", "replacement": "shows" },
{ "phrase": "utilize", "replacement": "use" },
{ "phrase": "utilizing", "replacement": "using" },
{ "phrase": "utilization", "replacement": "use" },
{ "phrase": "valuable" },
{ "phrase": "vibrant" }
]
},
{
"name": "Tier 2",
"note": "suspicious in density, use sparingly",
"maxAllowed": 1,
"phrases": [
{ "phrase": "furthermore" },
{ "phrase": "moreover" },
{ "phrase": "notably" },
{ "phrase": "quintessential" },
{ "phrase": "ubiquitous" },
{ "phrase": "proactive" }
]
}
],
"emDashBudget": 4
}