P09 · The CLI Devotee— ctxmod.tty v0.4.0-devvit

Port ContextMod (FoxxMD) to Devvit.
Vim-modal rule editor, :dry-run REPL, Opus :explain — never leave the keyboard.
~/devvit/ctxmod-port // r/mealtimevideos · 12.4k WAU opus-4-7 · trigger p50 187ms · PORTED
rules.json [+] schema.d.ts queue.tsx devvit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// imported from r/mealtimevideos/wiki/contextmod { "name": "low-effort-repost-guard", "kind": "submission", "rules": [ { "kind": "recentActivity", "window": "14d", "thresholds": [{ "count": 3, "sub": "$host" }] }, { "kind": "repeatActivity", "useSubmissionAsReference": true, "threshold": ">= 2" } ], "actions": [ { "kind": "remove" }, { "kind": "comment", "content": "wiki:removal/repost" } ] }
NORMAL rules.json json · utf-8 14:37 ⎇ port/ctxmod-devvit · +12 −3
: dry-run u/spammer_42 --rule low-effort-repost-guard ↑↓ select · ⏎ run · esc cancel
:dry-run simulate rule against author/post — no side effects d r
:explain opus-4-7 audit trail · why did this rule fire? ? e
:lint schema check · dead branches · latency hot-spots ⌘ l
:diff prod stg rule-set diff between live and staging sub g d
:deploy push validated rules to Devvit · sub-second SLA ⌘ ⏎
:queue !filter fuzzy filter modqueue · vim regex motions /
: command / queue search g q goto queue g r goto rules d r dry-run ? :explain ⌘ l :lint ⌘ ⏎ :deploy normal mode — mouse optional, never required —