dev-console
Skill1 starsChanged 24 days agoMITView on GitHub
Use when opening or evolving the dev-console for a project. One full-screen read-only web console (a single FastHTML file) for any event-sourced project in development; the state machine of its commands and events drawn from the code, the entities, the journal, and widgets per event. Use when the user says "dev-console", "abre o console", "mostra o projeto no console", "cria um widget para esse evento", "liga esse projeto no dev-console", "quero ver os eventos". Not tensions (that skill records Tension events; this one only shows a project) and not design (screens of a product).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- almax000/claude-skillstheir own version, first seen Apr 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- almax000/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository53 other files it gives its agents.
- skills/agentsmd/templates/AGENTS.mdAGENTS.md
- advisorSkill
- agentsmdSkill
- authSkill
- backbriefSkill
- brainstormSkill
- choiceSkill
- copywritingSkill
- cost-trackSkill
- delegate-and-reviewSkill
- designSkill
- design-tasteSkill
- devinSkill
- diff-reviewSkill
- diskySkill
- doctorSkill
- domain-modelSkill
- domain-planSkill
- dry-runSkill
- duplo-local-agentsSkill
- envlessSkill
- estudo-htmlSkill
- faceless-artSkill
- fluid-voice-auto-fixSkill
- handoffSkill
- herdr-canvasSkill
- hermesSkill
- hustlerSkill
- interviewSkill
- kanbanSkill
- keyword-ideasSkill
- linearSkill
- linkedin-publishSkill
- lp-draftSkill
- memorySkill
- modifier-hereSkill
- piSkill
- postmortemSkill
- prime-agentSkill
- project-stateSkill
- retroSkill
- search-consoleSkill
- seo-auditSkill
- setup-bilibossSkill
- shapeSkill
- skill-smithSkill
- syncSkill
- task-backbriefSkill
- tensionsSkill
- threadSkill
- tmuxSkill
- traceSkill
- wiki-smithSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
36 rules. About 0 are common, 8 are distinctive, and 28 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
28
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Verify in the headless browser (browser_exec local=true: load, read window.__cy and the DOM, screenshot) or curl.
- Very specific: line 65
Run the server in a herdr tab services of the working workspace (herdr tab create --workspace <ws> --label services --cwd ~, then herdr …
- Very specific: line 198
After an install, eval 'location.href' then wait: the relaunched window can come up on about:blank.
- Very specific: line 201
If swift fails on an SDK mismatch, export SDKROOT=$(xcrun --sdk macosx --show-sdk-path) (build-app.sh does it).
- Very specific: line 275
The money bar: no domain, so PLAYGROUND_COST_CENTER (env DEV_CONSOLE_PLAYGROUND_COST_CENTER, default biliboss-skills) names the cost center.
- Very specific: line 278
Modules: Every page carries D.modules ({name, href}), built by one server function (_modules): Domain and the project's TABS (href: null, …
- Very specific: line 289
Test it like any change (second console on another port, empty registry, temp COSTS_DIR) with DEV_CONSOLE_PLAYGROUND_DIR=<temp> after a …
- Very specific: line 344
Every domain lives in its own context at /domain/<slug> (a distinct URL per domain, never a global one): each console route sits under that …
- Very specific: line 349
Write dev_console_project.py next to the project's code.
- Very specific: line 376
The domain draft: when <SOURCE stem>_draft.py (or DOMAIN_DRAFT) is missing, the console writes it once from EVENTS and the projector: dummy …
- Distinctive: line 483
When Gabriel tells a story ("meu sócio fazia isso com os estagiários") and wants to see it as a domain:
- Very specific: line 485
Write it in /tmp/<name>/ (<name>.py with EVENTS, the projector and a JSONL journal class.
- Distinctive: line 490
Design comes before implementation: when he says "design first" / "faz o design no Domain", stop any executor already implementing that …
- Distinctive: line 497
Look up the literature's term for the practice (teach-back, closed-loop communication) and cite it in the module docstring.
- Distinctive: line 508
When he asks about a word (etymology, origin), discuss without editing anything.
- Very specific: line 526
Edges are commands: When one event is recorded by two commands (score / downscore → Style.Scored), list both in EVENTS and name each edge's …
- Very specific: line 535
Read a detached worktree of origin/main (git worktree add --detach <dir> origin/main), never another session's checkout, and never edit the …
- Very specific: line 543
Keep apart entity streams (list:<id>: ListCreated, ListItemSaved.
- Very specific: line 549
Before proposing a new event name, check whether the code already has one.
- Very specific: line 556
Every domain is drawn as a metro map by default (no LAYOUT needed.
- Very specific: line 605
Settle the look before the connection: When Gabriel says "define o widget" or "ignora a conexão", edit the widget function in the project's …
- Very specific: line 614
Set the tone with one choice, not a guess: When the human copy reads weak, rewrite the first item three ways and ask with clarify (one …
- Very specific: line 618
Connect after he approves: keep the approved markup, swap the constant for ctx fields, delete the constant and the footer.
- Distinctive: line 629
Widgets before the view that holds them: When he asks for a new tab or view with widgets, build the widgets first on their event (each …
- Distinctive: line 638
Code has a sibling, the Diff: when work changes a domain, show the change as a diff of the same pseudo-code the Code part draws (lines kept …
- Very specific: line 669
Verify a change with the real page: load it, act (click, keys), screenshot, and read the DOM state when a screenshot cannot show it …
- Very specific: line 679
Before git pull on the clone the console reads (~/src/skills), commit what the background review left there (skill lessons, version bumps) …
- Distinctive: line 708
When he says to leave the clock running, re-check it after every console edit and restart it if it shows ▶.
- Very specific: line 740
Start it from a stable folder (cd ~) with absolute paths, test consoles too: the hot reload spawns a new process that reads the current …
- Very specific: line 748
Test a change on a second console (another port, DEV_CONSOLE_REGISTRY=<empty file> so only your --project shows, temp env overrides for any …
- Very specific: line 755
Never put every event of a category in INITIAL[1:]: derive drops initial alternates from their category's chain, an empty chain raises …
- Very specific: line 764
Keep Cytoscape node width numeric and edges straight: width: 'label' with bezier edges hid nodes and edges.
- Distinctive: line 768
Keep the SSE stream and the live-reload socket from blocking a restart: the server shuts down with a 1 s grace.
- Very specific: line 780
Read an entity's optional fields with .get in console code (status, updated_at, event_count): a new domain's projector does not have them …
- Very specific: line 783
Keep .sesskey out of git: FastHTML writes its session secret next to the script it runs.
- Very specific: line 828
Test it with a throwaway page served from scratch (uv run python -m http.server <port> --directory <dir>), then devc browse + devc shot, …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
dev-console
Depends on the skill tmux for agent state: tmux/scripts/agent-state.sh (driven by the Hermes hooks) sets the window options @agent=working and @done=1. Any view of an agent's state (the Quadro's agent line) reads them first and scrapes the pane only when they are absent.
devc: the one door
Agents use devc (scripts/devc, devc install symlinks it into ~/.local/bin): short text for people, JSON with
--json for agents, --port (default 5057) anywhere. It reads the console's routes and delegates to the older scripts.
devc domains # slug, origin, name
devc show <slug> [--json] # lanes, transitions (with the command), events in order as a small git-log graph
devc events <slug> [--task ID] [--tail] [-n N] # events of the entity the domain opens (what state.json carries; no whole-journal route yet); --tail polls every 1 s, Ctrl-C ends
devc focus # GET /agent/focus; 'sem foco ainda' while the route or the focus is missing
devc open <slug|url> [--ev E] [--w W] # agent.sh open (the URL carries agent=1); devc shot prints the PNG path
devc browse <url> # a page an agent runs, in the Browser module (/browser?url=); the interview skill opens its queue here
devc now | history [n] | eval '<js>' # the flight recorder and the window
devc start [port] [--owner N] | stop <port> [--force] | list [port] # console.sh
devc check <url> [--shot f.png] [--eval '<js>'] # check.sh
devc board [kanban args...] # the one door to kanban.sh: devc board list, devc board move <card> Feitoconsole.sh, agent.sh, window.sh and check.sh keep working as they are and devc calls them; they will be
retired (cited names first moved to devc) once nothing cites them. Tests: python3 -m unittest test_devc in scripts/.
The console
One file, scripts/dev-console.py (FastHTML + MonsterUI, PEP 723, uv run --script), shows
domains: each project file is one domain in its own context, /domain/<slug>; the status line at the bottom shows
the current one and ⌘K (or a click on it) opens the Domain Switcher, a fuzzy finder over an overlay
(fzf / command-palette style; never a list or cards of domains); ⌘P (or a click on the module) opens the same finder
over the modules of the current domain. It only reads. The dev-console is a domain of itself (scripts/dev_console_project.py,
root entity Domain, journal derived from every dev_console_project.py with ast).
Run it
uv run --script <skill>/scripts/dev-console.py --project <skill>/scripts/dev_console_project.py \
--project <path>/dev_console_project.py [--port 5057] # one --project per domainVerify in the headless browser (browser_exec local=true: load, read window.__cy and the DOM, screenshot)
or curl. Outside Hermes (Claude Code, pi), use the skill's own scripts/check.sh <url> [--shot f.png] [--eval '<js>']
(the installed Chrome, headless, 1000 px and dark by default; JSON with status, title, errors and the eval value),
never another project's node_modules, which goes away when that project does. Then show Gabriel the page in his
DevConsole window (window.sh open <url>), capture that window (screencapture -x -o -l<window id>, the id from Quartz
CGWindowListCopyWindowInfo: the largest layer-0 window owned by DevConsole, since the app also owns 38 px
strips and a blank 500×500 window; a full-screen screencapture after open -g shows whatever app is in front) and
look at the PNG before telling him it is there. Pages outside the console (GitHub, a
PR) open in the Mac's default browser (open <url>).
Run the server in a herdr tab services of the working workspace (herdr tab create --workspace <ws>
--label services --cwd ~, then herdr pane send-text the command piped to tee ~/.local/state/dev-console.log),
never as an agent's background process (it dies with the session) nor in the user's tmux window;
adding a domain needs no restart: console.sh domains add <path> (it appends the dev_console_project.py path to
~/.local/state/dev-console/domains.txt) and the console re-reads the list and watches the new folder. It restarts by itself when this file or anything
in the project folder changes, and the page reloads; all UI state lives in the query string
(tab, ev, side, w, e, ent), so a reload or a shared link reopens the same view.
/ is the console's home: the module a domain names with CONSOLE_HOME (the Kanban module, skill kanban) when
that domain's journal has an entity; else the first domain, as before (a domain page with an empty journal is a dead
end, with no status line). The "Domain" links that used to rely on / (⌘P on the Playground and Agents pages,
/api/palette without a domain) point at the first domain by its URL.
Agents: console.sh
One door, scripts/console.sh, so an agent never scrapes the HTML, builds a URL by hand or edits domains.txt.
C=<skill>/scripts/console.sh
$C list # every instance: owner, code, ALL domains, live, start
$C start [port] --owner <name> [--from 5057] [--no-tab] [--dry-run] # no port = next free from 5058
$C stop <port> [--force] # 5057 needs --force
$C claim <port> --owner <name> # an instance console.sh did not start (the owner runs it for 5057)
$C domains [port] # slug, origin (--project | registry), path
$C domains add <path> | remove <path|slug> # edit the registry; a running console sees an add by itself
$C state <slug> [--port N] [--task <id>] | jq keys # the JSON the page is drawn from
$C url <slug> [--port N] [--task <id>] [--tab X] [--ev X] [--side X] [--w X] [--e X] [--ent X] # | xargs open
$C actions [<slug>] [--port N] # PROJECT.ACTIONS names per domain- Owners are a journal,
~/.local/state/dev-console/instances.jsonl(DEV_CONSOLE_STATEmoves it): append-only,{"id","event","at","actor","value"}withinstance.started {port, owner, pid, from},instance.claimed {port, owner, pid},instance.stopped {port}.listprojects the owner per port (the last started/claimed whose pid is still that port's process; stopped or dead pid = none, shown as where it runs instead: herdr pane, tmux, tty). Never edit the file. startopens a herdr tabdev-console:<port>in the current workspace (HERDR_WORKSPACE_ID) and runs the server there (never an agent's background process);--no-tab, or no herdr, runs in the foreground. It copies the--projectflags of--from, reads the same registry, has no live reload (--no-live: another agent's save does not reload this window) and refuses a taken port.--dry-runprints the plan and writes nothing.listanddomainsshow every domain, registry ones too. Slugs come from the server'sGET /api/domains(slug, name, path, origin); an instance on older code has no such route, so they are derived from its command line and the registry with the same rule (SLUGin the file, else the skill folder's name).- Read routes (GET, JSON):
/api/domains,/api/domains/<slug>/actions,/domain/<slug>/state.json?task=<entity id>(the payload of the page's<script id="data">, built by the same function, without the money bar so reading never touches the clock). Writing staysPROJECT.ACTIONSat/domain/<slug>/do/<eid>/<name>. instances.shandsecond.share wrappers (console.sh "$@"/console.sh start "$@").- One instance per agent: the first keeps 5057; each other agent starts its own, opens it in its own browser window
(
console.sh url <slug> --port N | xargs open) or its own native window (below).
A native window
app/ is a Swift package (product DevConsole, bundle com.biliboss.devconsole): one regular Dock app with one
window holding a WKWebView (isInspectable = true) on the console page (default http://127.0.0.1:5057/; the
FastHTML server still serves it, nothing moved out of the web). The title follows the page title. The console's UI
is made for two thirds of a screen: on first launch the window takes two thirds of the main screen's visible
width and its full height, docked to the right (the left third stays free for a terminal or chat); dock left|right
re-docks it at two thirds, resize sets any size, and the frame is remembered after that.
The agent drives it only through scripts/window.sh, and the two files in ~/.local/state/dev-console-window/
have one writer each:
| file | writer | content |
command.json | scripts/window.sh only | id (increments), action, side, url, width, height, js, updated_at; the app applies each new id once |
state.json | the app only | url (follows in-page pushState too), title, visible, width, height, last_command_id, last_result (the JS result or the error, for eval), last_message, updated_at |
W=<skill>/scripts/window.sh
$W open http://127.0.0.1:5057/domain/tensions # also: reload | show | hide | resize <w> <h> | dock left|right
$W eval 'document.title' # the result lands in state.json last_result
$W wait # blocks until last_command_id is the last sent id (5 s cap), prints state
$W status # prints state.json
$W install # builds app/build-app.sh, copies to ~/Applications, opens it; $W quit stops itOne window per agent. The app already reads its state directory (DEV_CONSOLE_WINDOW_STATE_DIR) and start page
(DEV_CONSOLE_URL) from the environment, and keeps its saved frame per state directory, so a second window is a second
process, no rewrite:
$W --owner <name> launch http://127.0.0.1:5058/domain/tasks # open -n: a window of its own, state in .../dev-console-window/<name>/
$W --owner <name> open <url> # any command with --owner drives that window; without it, the original one
$W --owner <name> quit # stops only that window (install/quit without --owner touch only the original)launch needs the app installed ($W install once). It was written against open -n --env, which this guide could
not exercise without putting a window on the owner's screen: the first launch is the check.
A page button talks back with window.webkit.messageHandlers.devconsole.postMessage({...}): the object is written to
state.json as last_message. The other native feature is the Go menu: ⌘P is Print in AppKit, so the app takes it
for "Módulos" (and ⌘K for "Domínios"); each item opens the native palette (Native chrome, below), and no print panel
can open. A browser handles the same keys in keydown (⌘P / Ctrl+P → preventDefault, the web overlay).
- Native chrome: status line. The window draws its bottom status line itself (
StatusLineController, under the web view): ▶/⏸, cost center,R$ today de R$ budget,domain · module. The page keeps the content: whenwindow.webkit.messageHandlers.devconsoleexists it hides its own#barand pushespostMessage({type:"status", ...})on every change (not logged aslast_message); a plain browser at 5057 keeps the web line unchanged. ▶/⏸ calls the page'sdevconsoleToggle()(the web button's action, so beat and idle rules stay), or posts to the same/domain/<slug>/time/start|stoproute; the app never writes the cost journal. A slow 8 s refresh reads the read-onlyGET /api/status?domain=<slug>->{domain, cost_center, running, today_brl, budget_brl, module}(moduleis null there: only the page knows its tab). Formatting and decoding are pure code inConsoleCore/StatusLine.swift. - A native widget on the status line (the clock is the first item): add an
NSTextField(labelWithString:)toStatusLineControllerand put it first inbar.setViews([...], in: .leading); system font only (NSFont.monospacedDigitSystemFont(ofSize: NSFont.systemFontSize, weight: .semibold),.labelColor), so it looks like macOS/iOS and digits do not jump. Realtime = aTimer(0.5 s for a blinking colon, drawn as an attributed string with the colon.clearon the second half of each second) wrapped inMainActor.assumeIsolated. There is no Swift hot reload:app/build-app.sh, quit the app,ditto build/DevConsole.app ~/Applications/DevConsole.app,openit, thenwindow.sh open <console url>(it comes up blank) and screenshot. The web bar gets the same item (_status_bar) for plain browsers. - A mark (logo) on the status line is drawn in code as a template image:
NSImage(size: 16×16, flipped: true) { NSBezierPath … stroke }with the chosen SVG's coordinates,isTemplate = true, in a 16×16NSImageViewplaced first insetViews. AppKit paints it in the label colour, so light and dark need no code and the bundle needs no resource. Choose small marks at their real size: render each candidate withrsvg-convert -w 16(and 32), blow it up withmagick … -filter point -resize 800%, and look before showing; a glyph that reads at 256 px can read as another one at 16 (tall thin braces read as0). - Data for a native widget comes from a console route, never from the app itself: the server owns the fetch and a
cache file, the Swift side does one
URLSessionGET on the web view's origin (webView.urlwith the path swapped) on a slowTimer, and the web bar reads the same route. Example: the Claude accounts' weekly limit (claude-usage.sh→~/.local/state/dev-console/claude-usage.json,GET /api/claude-usagerefreshes it in the background when older than 5 min), shown asmukutu 100% · pessoal 82%, a spent account in red, reset times in the tooltip. - A bar item about the owner's live context is derived from an event stream, never polled: the source's own hook
appends one JSON line per change to a file in a folder of its own (
O_APPEND, one short line = atomic, so hooks firing together never lose a line; trim underflockpast a size),/live/streamwatches that folder as a newkind, a small/api/<x>route folds the stream (its last line), and the bar's script refetches only on that kind. Example: the thread in tmux focus (tmux_focus.pyhooks pass#{@thread}→~/.local/state/dev-console/focus/focus.jsonl→ kindfocus→/api/focus→#bar-thread, hidden when the focus is not a thread). Check it by calling the hook command directly (costs.sh tmux-focus <session> --card= --thread=<topic>), never byselect-windowon the owner's server; after changing the hook's arguments runcosts.sh tmux-installso the live hooks pick them up. - Claude account usage:
GET https://api.anthropic.com/api/oauth/usagewithanthropic-beta: oauth-2025-04-20(seven_day.utilization,five_hour,resets_at) needs a token with scopeuser:profile. Setup-tokens (the envless cofre) lack it; Claude Code's own login of each account has it, in the keychain entryClaude Code-credentials-<first 8 hex of sha256(CLAUDE_CONFIG_DIR path)>(security find-generic-password -s … -w,.claudeAiOauth.accessToken). Read it inside the script, never print it, never refresh it (Claude Code owns that). - To read the DOM or take a screenshot, keep using the headless browser on the same URL; the window is for the
person to look at and for the agent to move (open a view, dock, hide), and
evalis for a quick read of one value. - Never write either file by hand. The id rule (above both the last one sent and the last one applied) and the
atomic
mvlive in the script. A bad command is answered inlast_resultaserror: ..., and its id is consumed. - Read the layout from the graph, not the pixels, when a screenshot cannot be trusted (the Mac's display asleep
or locked gives a black
screencapture, and a headless capture can time out):window.sh evala reduction ofwindow.__cy(per category, the angle of each node from#human; overlap counts of rendered label boxes), thenwait | jq -r .last_result. One angle per category = a metro line in the right clock direction. - Do not run
installjust to open a view. It rebuilds and relaunches; use it when the app is missing or its code changed. After an install,eval 'location.href'thenwait: the relaunched window can come up onabout:blank;openthe console URL before telling him it is installed. cd app && swift build && swift testruns theConsoleCoretests (command decode, apply once per id, state, frames). Ifswiftfails on an SDK mismatch,export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)(build-app.shdoes it).DEV_CONSOLE_WINDOW_STATE_DIRmoves both files (tests);DEV_CONSOLE_URLsets the app's default page.
Native chrome
In DevConsole.app the chrome (the browser's frame around the content) is drawn by Swift and the page keeps the
content. Native so far: the command palette, one borderless floating NSPanel (PaletteController.swift, vibrancy, search
field, list, ↑↓ Enter Esc), opened by ⌘K (domains) and ⌘P (modules) from the Go menu, or by a click on the domain or the
module of the native status line (StatusLineController.onPalette; a page that still posts {palette: 'domains'|'modules'}
through the devconsole handler opens it too). Its items come from the read-only
GET /api/palette[?domain=<slug>] ({domains:[{slug,name}], modules:[{id,title,url}]}) and the fuzzy ranking is
fuzzyMatch/fuzzyRank in ConsoleCore (subsequence, case and accent insensitive, tested); Enter loads the URL in the web
view like the web palette's location.href, so the new page's first trusted gesture still posts time/enter (the cost
clock claim is unchanged). The status line is native too (above). Everything else stays web: graph, widgets, screens,
Playground. Each native piece keeps the web one for the plain browser and talks to the server through the same routes, so
the cost journal keeps one writer. Put each piece in its own Swift file with its pure logic in ConsoleCore (tested), and
touch AppDelegate.swift with a few lines only: two pieces built in parallel then merge cleanly. The page knows it
is in the app by window.webkit.messageHandlers.devconsole; there its own ⌘K/⌘P overlay is off, and in a plain browser
(agents, headless) it works as before.
- ⌘K/⌘P are read by the app before the web view (a local key monitor,
PaletteMode.forShortcut): a WKWebView reports those keys as handled, so the menu's key equivalents never fired and only a menu click opened the palette. - Check a native piece without keystrokes first:
System Events→click menu item "Domínios" of menu 1 of menu bar item "Go"of process DevConsole exercises the same action with no risk of typing elsewhere; then list the app's on-screen windows with QuartzCGWindowListCopyWindowInfo(a uv script withpyobjc-framework-Quartz; the palette is the layer-3 window, ~560 px wide) and capture just that window withscreencapture -x -l<window number>.tell application "DevConsole" to activatedoes not reliably bring it to the front. - Testing real keys: synthetic keystrokes (
osascript ... keystroke) go to whatever app is in front, and the owner may be working in another one. Send them only when the Mac is idle (HIDIdleTime over 60 s), bring DevConsole to the front withset frontmost of process "DevConsole" to true, check that it is still in front before every key, and stop at the first key that lands elsewhere; never type text or Enter blind.
Agent API (flight recorder)
DevConsole.app keeps a ring of the last 20 navigations, so an agent can see what the window shows without moving it.
On every navigation (a URL load, a module/tab, a selected event, an opened widget) the app appends ONE line to
${DEV_CONSOLE_RECORDER_DIR:-~/.local/state/dev-console/recorder}/events.jsonl and saves a PNG it took itself with
WKWebView.takeSnapshot (no focus, no domain switch, no cost-clock claim) as shots/<at>.png. Older lines and their
PNGs are deleted. Nothing leaves the machine.
{"at":"20261106T081829.224Z","url":"http://127.0.0.1:5057/agents","domain":null,"module":"Agents","event":null,"widget":null,"width":1520,"height":1024,"errors":[],"shot":"/abs/path/shots/20261106T081829.224Z.png"}at is UTC, domain the slug, event/widget the ev/w of the URL, errors the page JS errors since the previous
line (pageerror:, unhandledrejection:, console:; at most 20, 300 characters each), width/height the web view in
points. The page script is injected by the app and reports through messageHandlers.devconsole (type: "recorder",
debounced 0.5 s, so a burst is one line; an unchanged state is not a new line).
- Routes (read only, JSON):
GET /agent/now(the last line; 404 when empty),GET /agent/history?n=5(the last n, at most 20),GET /agent/shot(asks the app throughwindow.sh shotand returns the new line withsource: "app"; when the app is not running, a headlesscheck.shshot of the last known page withsource: "headless"and anote, not added to the ring). scripts/agent.sh now | history [n] | shot | open <url> | eval '<js>' | status: one door; prints url, domain, module, event, widget, errors count and the shot path in a few lines, then look at the PNG.opengoes throughwindow.sh open(no domain claim) and prints the new line;eval/statuswrapwindow.sh.--owner <name>first drives that owner's window.- Pure helpers (line encoding, ring trimming, error clipping) are in
ConsoleCore/Recorder.swift(RecorderTests); the routes are inscripts/console_recorder.py(test_console_recorder.py).
Playground
/playground (no slug) is a mode beside Domain, tied to no domain: a tldraw canvas filling the page above the status
line, with the component palette. It is the console's own now (the design-playground, a Bun server, was absorbed):
same origin, no iframe, no chat, so ⌘K and ⌘P work even with the canvas focused (the old cross-origin iframe turned ⌘P
into the browser's Print). The two key handlers listen in the capture phase so tldraw cannot swallow them.
- Code.
scripts/playground/is the canvas web (canvas.js,widgets.js,paleta.js,app.cssfrom the design-playground;eventos.jsis the small SSE relay the chat used to be), served at/playground/web/*.scripts/console_playground.pyis the server side, a sibling module the script imports: the canvas mirror, the component definitions (validation, wrapper folder reader, versions), the operations on the open page, and the routes/playground/api/{canvas,canvas/diff,canvas/resposta,componentes,eventos}(same JSON as the TS). Each operation is a function or method (Canvas.aplicar,Componentes.definir/definir_da_pasta/listar/conferir,Operacoes.executar), never code inside a route, soconsole.shcommands can call them. There is no/api/estadoor/api/mensagens: they were the chat's. - Data lives in
~/.local/state/dev-console/playground/(DEV_CONSOLE_PLAYGROUND_DIRmoves it):canvas.jsonandcomponentes/<produto>/<peça>.json, the design-playground's format.console.sh playground import [<dados dir>] [--force]copies them once from~/biliboss/dev/design-playground/dadosand refuses to overwrite without--force. - The clock is not driven by this window (0.29.2): focus, hidden, idle and domain switch no longer start or stop it; cost-track's
costs.sh tmux-focus(tmux hooks) is the only writer, the bar just shows it (DEVC_CLOCK_DRIVER=1brings the old driver back). - The money bar: no domain, so
PLAYGROUND_COST_CENTER(envDEV_CONSOLE_PLAYGROUND_COST_CENTER, defaultbiliboss-skills) names the cost center; the same bar and the same records (domain: playground), through/domain/playground/time*(the money routes answer for the Playground; a real domain calledplaygroundwins). - Modules. Every page carries
D.modules({name, href}), built by one server function (_modules): Domain and the project'sTABS(href: null, shown in place), then Playground (/playground, navigates). ⌘P lists them (the current one marked "· atual"); ⌘K lists domains only. The home module (CONSOLE_HOME, the Kanban module) is in ⌘P on every page, first (also in/api/palette, which lists Browser too). The switcher script is the same on both pages (SWITCHER_JSis cut out of the main page's JS, one copy). The Playground page has the same bottom status line (_status_bar, its name there is "Playground") and ⌘P. Loading/playgroundnever ends a running stretch: its script postsenteron the first trusted gesture like a domain page. - Navigation he wants: ⌘K switches the domain, ⌘P the module (Domain, the project's
TABS, Playground), both the same floating fuzzy overlay; the tab bar goes away and a thin status line at the bottom carriesdomain · module · money bar(a click on each opens its switcher), so the graph or canvas gets the full height. In the native app ⌘P is Print: the app menu takes it for the page. - Test it like any change (second console on another port, empty registry, temp
COSTS_DIR) withDEV_CONSOLE_PLAYGROUND_DIR=<temp>after aplayground importinto it; never write the design-playground'sdados. Keep the registry in a folder of its own: the watcher restarts the console on any write beside it (the money clock writesrunning.json).
Agents
/agents (listed by ⌘P beside Domain and Playground): what the owner typed to the agents and the agents' session logs,
in real time. Two views switched in place (?view=prompts|log): Prompts (time, session, folder, text; a click
expands the whole text) and Log (prompts, assistant text, tool calls as Name: what it is about: the command's first
line, the file's last two path parts, the skill, the recipient). A filter by session (?session=), chips for
cross / notification / other / side (?show=), a pause for the autoscroll (?pause=1). Delivery 1 reads Claude
Code only (~/.claude/projects/<dir>/<session>.jsonl); pi and Hermes are another source class in SOURCES.
- A session is shown by the name given with
/rename(itscustom-titleline;agent-namewhen there is none), in the rows and in the session filter; the short id stays beside it in the filter. - The toolbar is console text, not buttons: spans with
tabindex="0"(Enter and Space click them), grey, the active one white and underlined, one line. Never<button>orrole="button": MonsterUI paints both as blue filled buttons. It is the same bar in both views; the chips that only filter Prompts are dimmed in the Log, never hidden. - The console loads its own sibling modules by path (
_sibling, before any project): a project from another checkout of this skill puts its folder first onsys.path, and a test console would otherwise run that checkout'sconsole_agents.pybeside its owndev-console.py. - What is a prompt (an allow-list): exactly
origin.kind == "human"withpromptSource == "typed", or"queued"(typed while the agent was busy: still a prompt, withqueued: trueand aqueuedbadge on the row). A message typed mid-turn is logged as an attachment line, not a user line:attachment.type == "queued_command"withcommandMode == "prompt"is read too (originhumanis a queuedprompt,peeriscross,task-notificationisnotification, any other origin isother; the text isattachment.prompt; a missing or malformed prompt is dropped). No duplicates: the same session, kind and first ~200 characters (whitespace-normalized) within ~2 minutes is one entry, the earliest; the same text further apart stays two. Content is a string, or an array: its text blocks plus a marker such as[image].origin.kind == "peer"iscross,"task-notification"isnotification, anything else (no origin,humanwithout apromptSource, unknown) isother, neverprompt.isSidechainlines andagent-*.jsonlfiles carrysideand stay out of Prompts unless thesidechip is on. Lines above 1 MB (api-request-blob) are skipped without parsing. - Real time by events: one thread for all clients;
watchfiles(FSEvents) names the.jsonlthat changed and the hub reads it from its stored byte offset (about 50 ms from the write to the SSE message, measured). Each SSE client has anasyncio.Queuefed by the watcher thread (call_soon_threadsafe); nothing polls, and the queue is dropped when the client disconnects. A safety net rescans the roots and checks every file every ~5 s. Ifwatchfilescannot be imported it polls every ~1 s and the page shows one warning line. - Backfill: on start the hub reads the tail of the newest 150 files (until about 200 prompts and 500 log entries), so
prompts older than that do not appear. Raise it with
DEV_CONSOLE_AGENTS_BACKFILL_FILES=<n>(the constantBACKFILL_FILESinconsole_agents.py); a bigger number makes the first request slower. - Lifecycle: the watcher is a daemon thread with a stop event (
Hub.shutdown, called on the server's shutdown and at exit); a hot reload replaces the whole child process, so no thread or process is left behind. DEV_CONSOLE_AGENTS_DIRS: roots,os.pathsep-separated (default~/.claude/projects; deduplicated by realpath, so the~/.claude-mukutu/projectssymlink is read once). Tests point it at a temp folder.- Privacy: the logs hold private prompts. Read-only, only inside the roots, memory only (no cache, no persistence),
no entry text in any log or print, all text rendered with
textContent. The console binds 127.0.0.1 only, and aTrustedHostMiddlewareon the whole app answers 400 to any otherHost(DNS rebinding: a site in the browser pointed at 127.0.0.1 cannot read/agents/api/prompts); allowed names are127.0.0.1andlocalhost(the port is not compared), extended byDEV_CONSOLE_ALLOWED_HOSTS(comma-separated). No CORS is configured: noAccess-Control-Allow-Originanywhere. Tests use invented lines; never commit a real prompt, id or path of a session. - Code:
scripts/console_agents.py(source, normalizer, hub, SSE, page script);dev-console.pyhas only the glue. Tests:uv run --script scripts/test_console_agents.py.
Hook up a project
Every domain lives in its own context at /domain/<slug> (a distinct URL per domain, never a
global one): each console route sits under that prefix and sets the current domain per request
(use(slug), a ContextVar; PROJECT, journal, SOURCE read the current one). A project
never hardcodes /do/… or /w/…: it builds links with BASE, which the console sets.
Write dev_console_project.py next to the project's code. The contract is in
references/project-contract.md; the first project hooked up is
skills/tensions/scripts/dev_console_project.py, copy its shape.
The screen, and the rules it follows
- Follow the template; never invent a screen. Any new tab, graph or panel reuses what the
console has:
TABS+KEYS,drawGraph(fCoSE, Human pinned in the centre, filled/outlined nodes), the contextual sidebar (expandable parts: Widgets, Code, JSON, Observability), the popup with REAL | SIMULADO, state in the query. A Mermaid diagram or a second Cytoscape function with its own layout was rejected twice. - No tab bar: modules are switched with ⌘P. The screen is the graph at full height and one thin status line at
the bottom (28 px, VS Code / vim style):
<domain name>(click = ⌘K),· <module>(click = ⌘P), the money bar, and a faint hint⌘K domínio · ⌘P móduloon the right. The ⌘P overlay (same look and keys as ⌘K: ↑↓ escolher · Enter abrir · Esc fechar, fzf-style typing) listsD.modules: Domain, the project'sTABS, and Playground. Each module still has its vim-style goto (gthen its letter:g dDomain,g mModel). Colours for unknown categories come from a fixed palette by category order, so any domain draws. Esc closes the popup, then the sidebar. - The wheel moves the graph, as in Figma and Maps: two fingers (or a mouse wheel) pan it, a pinch or ⌘ + scroll
zooms around the pointer; Cytoscape's own wheel zoom is off (
userZoomingEnabled: false) and the handler callspreventDefault, so the page never scrolls. Chrome sends a pinch aswheel+ctrlKey, WebKit (the native window) asgesturestart/change/end: handle both, or the pinch dies in DevConsole.app. - No graph label under 14 px on screen at his window (~1128×1074). Font sizes are model units, so the zoom has a
floor,
cy.minZoom(14 / the smallest label font)(stations and dashed commands are 14, so the floor is 1): fit, the home view and a pinch stop there, and a big domain opens larger than the window, read by panning. Never fold lanes, hide labels (min-zoomed-font-size) or grow fonts by 1/zoom to make it fit: 0.25.0 hid his event texts and was reverted, and labels grown in model units overlap. The lane legend istext-sm(14 px). - Domain is the first tab and the default (
g d); it reuses the Model view (drawGraph, the same sidebar and popup). One graph, one style: a new graph tab joinsGRAPH(tab), never a second Cytoscape function or its own layout. - The domain draft: when
<SOURCE stem>_draft.py(orDOMAIN_DRAFT) is missing, the console writes it once from EVENTS and the projector: dummy classes (DDD bases AggregateRoot, Entity, ValueObject, DomainEvent), fields typedAny, command stubs-> CategoryEvent: ..., no implementation. It never overwrites it: the draft is the user's to edit. - The dev-console is built with the dev-console. Its own domain (
scripts/console_domain.py) is our development process: Human → Domain.Designed (new) or Domain.Imported (existing) → Domain.Updated (the hub), which links Event.Updated, Widget.Updated and Tab.Updated (one event each for create, change, delete). Its journal isscripts/console_domain.jsonl, seeded from the code once and then edited by hand. When Gabriel names a "view"/"screen"/"menu" of this domain he means the console's own screen, embedded as a widget, not a new design: DomainView (the Domain tab,?embed=1), StateGraph (graph alone,?embed=graph), RightMenu (the event sidebar alone,?embed=side&ev=…), each anIframewithfn.fake = True, plus Code (?embed=code), Toolbar (?embed=toolbar, the real status line) and WidgetList. A domain's widgets hang on Domain.Updated only: the starts (Designed, Imported) have none. An embed never shows the status line (except Toolbar and the money piece, which are the line). - Design events small (rules in skill
design-taste, Domain design): oneUpdatedper element for create, change and delete; every start leads to one hub (HUB); a configuration value (the home widget) rides in an event's value, never as its own event; keep out of the domain what belongs to a widget (Action was cut). Fix a prototype fact by editing the JSONL, not with code. - An event's first widget is the real screen where it happens (Event Modeling: the screen above the event), the
numbers come after.
render_screens(steps, title)(set on every project module likerender_widget_list) takes{name, url, event, note}steps, each an iframe of the product's own URL (a Storybook story'siframe.html?id=<story>&viewMode=story, a prototype, the app), stepped with ← → and dots, the event each screen leads to beside its name; mark the widgetfake = True. Never redraw a product's screen. For an imported product, serve its Storybook from a detached read-only worktree in a durable folder (~/src/<product>,pnpm install, the design system'sstorybook dev, log to~/.local/state/<product>-storybook.log), never under the Hermes scratch folder: scratch prunes idle entries after 24 h, the server keeps running on deletednode_modulesand every screen turns into anENOENT … iframe.htmlerror. After any widget complaint, curl one story URL first (500 = this), check which port answers with its stories (another project's Storybook may already hold 6006), and list the screens per step with the event they lead to (a subagent's job: find the stories, screenshot at 390×844). - Composable, always. A widget that shows something the console already draws composes that
component: WidgetList calls
render_widget_list(slug, event)(the right menu's own list, set on every project module by the console), screens embed with?embed=. A second copy of a view is a bug. A piece of the status line that belongs to a domain (the money bar) is also that domain's widget (CostToolbar ontime_entry.started): anIframeof?embed=money, an embed mode that shows only that piece of the line. - Playground is a mode, not a tab (a module of ⌘P, beside Domain, when its route exists). Free sketching with the agent (screens, dashboards, comparisons) lives in a dev-console mode beside Domain, not tied to any domain: the agent operates a canvas (the design-playground's, absorbed into the console without its chat) and a sketch is promoted to a domain widget or a real component only when he says so. Proposing it as a per-domain "Esboço" tab was the misread.
- Modules per domain. Domain is the one fixed module; a project lists the rest in
TABS(absent = Domain only); they appear in the ⌘P overlay, never as a tab strip. Tension-shaped tabs live only in the tensions project'sTABS. - A module can be a project widget (
MODULE_WIDGETS = {"Kanban": ("card.created", "Board")}, the Kanban's board): full width, its leading title hidden (the status line names it; the popup still shows it), its goto key the first free letter of its name, beside the same contextual sidebar (oneSIDE_HTML, onepartHtml). An element of it withdata-entity="<id>"(plusdata-entity-name,data-entity-subfor the header) opens that sidebar for the entity on click, Enter or Space: one expandable part perENTITY_PARTSwidget, rendered for that entity on the root event (the one every entity has), then its JSON (fromstate.json?task=);?ent=<id>keeps it open, Esc and ✕ close it, a click on the module's background too, and the open entity looks selected like the rail's row. Never a second sidebar, a drawer of the project's own, or buttons that write in such a module. - A widget that draws money ticks like the money bar: the server's snapshot plus the R$ per hour it gains, redrawn
every second (
data-tick-rate,data-tick-at,data-brl,data-secin the Kanban's widgets). The money bar dispatchesdevconsole-moneyondocumentafter each start, stop or enter, so such a widget refreshes at once (hx-trigger="devconsole-money from:document") besides its slow poll; it never writes the cost journal. - Pico's
.gridhas a column gap of its own: a widget that lays out withgridsets itsgap-*(the board usesgap-0), or its columns stop short of their borders. - A list row opens on click, Enter or Space (tabindex 0, aria-label, the button stays), with the
same gray look: never
role="button"on a row, Pico paints it as a blue centred button. - Model is the state machine (UML statechart vocabulary): Human is the initial
pseudostate (ISO 9241-210, human-centred design), each edge is a command, each node an event.
It is drawn from the project's
EVENTSregistry read live withast(no language server): never hand-write a node or an edge in the console. - Filled node = the journal has at least one event of that type; outline = none yet.
- Click a node = a contextual sidebar of expandable parts (all open at first, closed ones remembered per node in localStorage), in this order: Description (for humans), Widgets (only when the event has widgets; each row opens the widget in a centred popup), Code, JSON, Observability. No global code toggle: detail belongs to the thing clicked.
- Description comes only from the code comment of the command in
EVENTS(the comment lines above it, or the one at the end of its line), written in Portuguese for a human. Never a separate dict in the project file: the code is the single source, so write the sentence there. - Code = short pseudo-code of the event's context, read live from EVENTS and the projector: the command
with its real EVENTS line,
from/then, the entity's properties (keys of the projector's dict literal) and its commands, this one highlighted. Commands are imperative and point to the past-tense event they record. - Every event has Observability, as the right menu's last part (count here and in the journal, a time strip, who), never as a row of the widget list. The Widgets part shows only when the event has a widget of its own (Domain.Designed and Domain.Imported have none: Code, JSON, Observability).
- A widget shows only what the model has. Design it from the event's real value (an Observation is a sentence, where, when, who; it has no state, no group, no "resolved"): never add fields, groupings or summaries the model does not record. Write the text for a human (a sentence about the world, not "DVM-231 está em Doing"). Clarity over detail: say the fact plainly and keep times, sources and IDs out of the sentence.
- Human widgets vs agent widgets. A widget for a person shows the sentence and the
timestamp only (no source, no actor, no ids) and reads only records written for humans
(
audience: human); everything else goes to a separate…Logwidget or the JSON tab. Pair them per event (ObservationList + ObservationLog). - Widgets compose. A bigger widget embeds smaller ones through
ctx.of("category.event")(TensionDetail renders ObservationList); never copy a small widget's markup into a big one. Contract: references/project-contract.md. - Widgets render real data: the first event of that type in the journal, or
?e=<id>. With none, the widget says so. The one exception is the design step below. - What to do comes first. A detail widget (TensionDetail) shows the gap, then the
proposals up front (ProposalList, always open), and the observations folded below
(
<details>, open state in the query). Observations are context, not the headline. - Visão opens the project's
HOMEwidget (the detail widget); a project withoutHOMEkeeps the generic summary. Ask which screen when "add this component" is ambiguous (clarify, three choices) instead of guessing. - A proposal row = title and subtitle for humans, one CTA ("Executar no Bili local",
a project
ACTIONSentry) and an "Esperado no final" block under it: what the work will deliver, as a stockreport(markdown),list,table, or a cheap dummy widget the proposal brings (EXPECTED_WIDGETS), always marked "exemplo". Proposing with a dummy widget is the preferred way to show intent before anything is built. - The popup has REAL | SIMULADO (
?mode=sim), except for a widget whose root hasdata-real-only(generated from a SKILL.md or code): the toggle hides andmodeis cleared. Widgets getctx.mode; actions getmodeandstep. In SIMULADO every button works and plays the experience step by step (htmxload delayto the nextstep), ending with the expected output as the result and the events that would be written; nothing is sent or written. Prototype an action here first, and verify buttons in SIMULADO: a REAL click sends work to an agent.
Design a new domain from a story
When Gabriel tells a story ("meu sócio fazia isso com os estagiários") and wants to see it as a domain:
- Write it in
/tmp/<name>/(<name>.pywith EVENTS, the projector and a JSONL journal class;dev_console_project.py;<name>.jsonlwith one example walk), then append the project path to the domain registry: no restart. A domain of the house's own work (costs, tasks, anything about how he works, not a client's product) skips/tmpand~/biliboss/dev: it is a skill of biliboss/skills from the first draft (step 6 at once), or he asks for the move. Design comes before implementation: when he says "design first" / "faz o design no Domain", stop any executor already implementing that feature and draw the domain; the implementation follows the approved drawing. - Name events after the story's own actors and verbs (Task.Explained → Understanding.TaughtBack), not
generic document nouns (Brief.Created → Narrative.Generated read as unrelated to the story and were rejected).
An event says the intent, not a CRUD change: List.ItemAdded / ItemRemoved (Segment's e-commerce spec: "Product
Added to Wishlist"), not List.Updated for a save; keep
Updatedfor the thing itself changing (a rename). The event starts with the entity of its line (List.ItemAdded, not Item.Saved inside the list line). Look up the literature's term for the practice (teach-back, closed-loop communication) and cite it in the module docstring. The entity noun must be universal (home, school, any company): Task, not Demand ("demand" reads as an imposition in English and is Brazilian work slang). - Start with the fewest events the story needs (often two); he cuts extra steps (request, clarify, confirm)
himself. Branches and loops go in
TRANSITIONSonly when he asks for them. - Each command gets its Portuguese comment (the Description), on its own line in the category's dict: two
commands written on one line (
{"start": "started", "stop": "stopped"}) share the comment above them, so both events show the same description. The example journal mirrors the story with real-sounding content. Ship the first widgets with the domain, on the example journal's real data: one per event worth seeing for a person (a list of the entities, the day's summary asHOME), each starting with its title. A drawn domain with no widgets gets asked "e os widgets, foram feitos?". Then give him the URL. - When he asks about a word (etymology, origin), discuss without editing anything.
- When he says it will be a skill, move it out of
/tmpintoskills/<name>/of biliboss/skills:scripts/<name>.py+dev_console_project.py, a short SKILL.md marked "Design stage" (entity, the events table, the literature's term), CHANGELOG 0.1.0,.gitignore(.sesskey,__pycache__/), the path in.claude-plugin/plugin.jsonand a README line; swap the/tmpline in the domain registry for the new path. Leave the/tmpfolder (deleting is his call). Ship as one PR. Its events go to a global append-only JSONL, like tensions:~/.local/share/<name>/events.jsonl(override<NAME>_DIR), written only byscripts/<name>.py emit <event> '<json>' [--<entity> <id>] --actor <who>; no example journal inside the repo. Name the skill for the work (task-backbrief;<entity>-<action>when no short name exists): one command runs the whole workflow, never one skill per command, and it does not collide with harness built-ins (/tasksis Claude Code's). The domain keeps its plural set name (Tasks:SLUGtasks, the journal folder) and its consoleNAMEsays where it lives ("Biliboss Skills - Tasks"). - Then use the skill right away on his next request (dogfood): record his words verbatim through
emit, reply with the skill's output (for tasks: the teach-back), and continue only after he confirms. - "Deixa visível", "tipo o draft", "não é para implementar" = draw only. Add the new events to
EVENTS(each with its Portuguese comment, marked "rascunho: só no grafo") and the edges toTRANSITIONS; touch no projector, emit or widget. The outlined nodes show what is not built yet. Implementing it unasked was the misread. - Edges are commands. When one event is recorded by two commands (score / downscore → Style.Scored), list both
in
EVENTSand name each edge's command inTRANSITIONSwith a dict target ({"style.scored": "downscore"}); one labelscore | downscoreon both edges was rejected. An act of the person (confirm) is an edge from the Human: put that event inINITIAL, not after the agent's event.
Import a domain from existing code
For a product whose code already records domain events (Domain.Imported):
- Read a detached worktree of
origin/main(git worktree add --detach <dir> origin/main), never another session's checkout, and never edit the product repo: the project file lives outside it (~/biliboss/dev/<name>/). This is long work: give it to a subagent with the console contract and the read-only rule. EVENTSfollows the code's own kinds, each line traceable (# kind: ListingShared), with the Portuguese comment taken from the code's docs; the journal returns one placeholder entity when production's journal is unreachable. Start from the product's event catalogue and its emit call sites, not from memory: the registry where each kind is declared with its sentence and product question (Via:visitor("Kind", stage, desc, question)inevents/core.ts) and a grep of the emit calls (fact(,appendTo() for where each one is born (file:line). Keep apart entity streams (list:<id>: ListCreated, ListItemSaved; the entity's own facts) and analytics facts on another stream (the visitor's ItemSaved, ListOpened): mixing them into one line misdraws the domain. Widgets for an imported event come from what the code records about it: its payload fields (BrokerSignedUp:entry_point,has_account) and the sets the code declares (anACTIVATIONlist of steps becomes a funnel widget; its missing steps are missing stations). An event the catalogue marksproposed(not recorded yet) gets fake-data widgets until the product records it. Before proposing a new event name, check whether the code already has one; a code comment like "nothing is updated" vetoes a proposedUpdated. A renamed kind stays a draft here; the rename in the product is a card for whoever owns that repo. A code-graph tool (graphify:uv tool install graphifyy, thengraphify update . --no-clusterandgraphify cluster-only . --no-label, code-only and no LLM;GRAPHIFY_QUERY_LOG_DISABLE=1) parses symbols with tree-sitter, so it does not see event kinds written as strings: use it for impact (affected,path) and navigation, with an ignore list for.claude,.data,vault,archive(about half the nodes otherwise).- Every domain is drawn as a metro map by default (no
LAYOUTneeded; he asked for it as the console's standard, not one project's); a big import drawn at once is "bom mas complexo" without it (see the contract;"clock"still works for the plain clock), keep only the first hand inEVENTS(the north at 12 o'clock is the access to the system by a Human with no role yet; then where the Human takes a role) and park the other categories, as imported, inEVENTS_BACKLOGin the same file until he orders the next hand. The clock order is the order ofEVENTS: never a list in the project file nor a number in the console. The map's order is the order ofEVENTS: the first category leaves the Human at 12 o'clock, the others follow clockwise, each category is a line and its events are the stations in the order written. - A metro line follows
TRANSITIONS, not adjacency inEVENTS: a station's parent is its earliest in-line predecessor by a forward edge; where it forks, the longest path stays the trunk and the others leave as 45° branches; a backward edge (reactivation) stays a dashed cross edge. When reviewing an imported category, ask "sequence or fork?": usually only activation is a sequence (sign up → verify), then the active entity forks into repeatable acts (edit, change slug, come back), and silence loops back to a session. The categories spread evenly around the Human, like sun rays (round(8 * i / N)): he preferred it over one clock hour per category or one direction each. Ask before changing the spread rule. For a big imported domain he leans to a linear reading, likegit log --graph: the Human at the top left, one horizontal lane per category inEVENTSorder, a lane branching off the event that leads into it, edges into another lane as dashed merges, and columns by funnel stage taken whole from the product's own stage list (Via:STAGES = [acquisition, onboarding, aha, usage, retention, revenue]inevents/core.ts), never a subset: dropping revenue hid the stage he cares most about ("o pagamento, o fechamento"). Revenue is the goal stage (STAGE_GOAL): the destination every lane is read against; a lane that never reaches it is an open question. Portuguese headers viaSTAGE_LABELS. Pick each event's stage so its lane reads left to right (a broker's first share is his onboarding; questions after the first collection are usage). Rays stay for small domains (Tasks, Costs); offer a key to toggle both so he compares on the real domain. When he asks "sugira algo" about layout, sketch it in ASCII first. - The Human is the biggest node (twice an event node's size on the clock), the graph opens centred on it, and "◎ Centralizar Human" brings it back. The native window hot-reloads like the browser when the project file changes.
- The branch layout (the default for every domain; a project's
LAYOUTstill wins;Lcycles to the rays/metro, no button, the name shows as a brief toast): the same domain as a git graph (git log --graph) read left to right. The Human is the root at the top left; each category ofEVENTSis a horizontal lane (a branch), top to bottom inEVENTSorder; a line followsTRANSITIONSas the metro does, but its fork is a 45° spur inside the lane. A lane is born where its transition comes from (its first station sits one column right of the station that leads into it, joined by a 45° connector); a lane nothing leads into hangs from the Human on a grey spine; any other edge into a lane is a merge (thin, grey, dashed, with its command). Columns are funnel stages when the project declares them:STAGES = {"cat.event": "stage"},STAGE_ORDER = [...](andSTAGE_LABELS = {stage: text}for the header); a stage is a band of columns with a faint header at the top, and an edge that would go back to an earlier stage is drawn as a loop (dashed), never as a line running left. WithoutSTAGESa column is the longest step count from the Human.L(focus not in an input) or the smallramos/raiosbutton in the graph's top-right corner toggles branch and metro on any domain, kept per domain in localStorage. It opens with the Human at the top left and the zoom fitting the height, never below the legible floor (no label under 14 px: a 20-lane import opens larger than the window, read with two fingers). No two lines share a segment: lines leaving one station down the same 45° slope are an interchange, ranked by leg length, each next one leaving a step lower-left (source-endpoint) and turning earlier, so the legs run parallel; a back edge (loop, stage regress) is anunbundled-bezierarc above the rows, never routed along a line. Cytoscape's segment weights are relative to the endpoints, so compute every route from the shifted start. Check in the headless browser (window.__cy,cy.scratch('branch')has the lanes' y bands and the stages' x bands): every lane's stations inside one y band, no station left of an earlier stage's band, no two rendered label boxes overlapping, the toggle switching and persisting after a reload, and zoom in (≈1.1) on every fork (the first station, activation, the lane ends) and look: label-box counts never catch a line on a line. Serve the check from a folder the console does not watch for screenshots (it watches the registry's folder and the project folders: a file written there reloads it).
Design a widget with the user
- Settle the look before the connection. When Gabriel says "define o widget" or "ignora a
conexão", edit the widget function in the project's
WIDGETSdirectly, with fake data in a module constant next to it (FAKE_<NAME>) and a dim footer "dados de exemplo: o desenho vem antes da conexão". Never a separate HTML mock or a::preview: he wants it in his open console; hot reload plus the query state (?ev=…&w=…) puts it on his screen as you save. - Fake data mirrors the entity's real records, rewritten for a human: same count, same facts, same sources and times; only the wording changes. Do not invent states, groups, summaries, "new since your visit" marks or "superseded" lines the model does not record — the first design that did was rejected.
- Set the tone with one choice, not a guess. When the human copy reads weak, rewrite the
first item three ways and ask with
clarify(one question, three choices); apply the chosen tone to every other item and record it as a rule here. His standing pick: clarity over precision (no times or counts inside the sentence). - Connect after he approves: keep the approved markup, swap the constant for
ctxfields, delete the constant and the footer. Keep the old real-data version as<name>_realonly until the swap.
- A domain that is a skill gets a Skill widget ("
<Entity>Skill", e.g. Task Skill) on the event the skill acts on, generated only from the real skill, never from fake data: name and description from the SKILL.md frontmatter, the numbered steps from its own section (## Explain), and the Input as a Cytoscape graph read withastfromscripts/input.py(the contract: frozen dataclass value objects pluscheck). A value object that holds others is a compound node; one markedassembled_by_harness(Session Context) is dashed and dim. Lay it out withpresetcolumns (inputs left, Input, then the event), since it is a flow, not a state machine. The SKILL.md points toinput.pyinstead of listing the Input again. Its root carriesdata-real-only, so the popup hides REAL | SIMULADO (nothing to simulate in a widget generated from a real source). - Widgets before the view that holds them. When he asks for a new tab or view with widgets, build the widgets first on their event (each opens in the popup), let him validate them, and only then add the tab: building the tab first skips the validation he wants. "It's prototype time" = fake data (step 1), even when real data exists.
- Every widget starts with a title for humans (
H2, what it shows: "Tarefas executadas", "Resultado da execução"), so it reads alone in the popup and composed inside a bigger one. - A list filtered to one state does not repeat that state on each row (a list of executed tasks shows title and date only).
- A detail widget that does not land gets replaced, not patched: when he names the thing it should represent ("o Task Execution Result, na verdade"), build that widget and swap it into the composing view.
- Code has a sibling, the Diff: when work changes a domain, show the change as a diff of the same pseudo-code the Code part draws (lines kept in grey, removed struck through, added marked; the only colours in it).
- Taste: greys, one colour per category path, weight and space for hierarchy; enough room to read labels (screenshot at the user's width before saying done).
Evolve it while using it
- A change to the screen he uses is approved by screenshot before merge. Layout, home, labels, panels, input gestures: the subagent opens the PR, attaches screenshots at his window size (~1128×1074) and stops; merge only after his ok. Two unseen layout changes merged in a row hid his side panel and event texts and had to be reverted wholesale. Put the rule in every UI brief ("PR não mergeado, prints para aprovação"), or the subagent lands it.
- The console visualizes; it does not orchestrate. It shows what helps him decide (domains, cards, the state of a
card's agent) and takes him there; creating things (cards, Hermes sessions, tmux windows, clock entries) belongs to
the skills that own them (
kanban,hermes,tmux,cost-track). Add a view only when he names the need: keep it lean. - When he says it got worse, restore first, redesign later: revert the skill folder to the last state he liked in
one PR (
git checkout <good sha> -- skills/dev-console, delete files added since, bump versions above main), keep unrelated pieces that work (a CLI), reinstall the app, screenshot his window; then rebuild the idea with his ok. - "Edit right here" / "implement here" means in this session, not a subagent: change the main clone the console
runs (the hot reload shows it at once), check with
devc shot, then land it as a small PR from a branch of that clone (git switch -c run/<x>, stage only your files (or, when the clone carries other sessions' loose edits,git worktree add -b run/<x> <dir> origin/main, copy only your files in, commit there, and never switch the clone),gh-app push,gh-app pr create,gh pr merge --squash, back to main). Run the touched skill's tests before the PR: a layout change breaks tests that find text by index (a lane named "Outros" matched a card titled "Outro"). Without that phrase, code changes go to a subagent on a fit-for-purpose model. - UI work goes to Opus at max effort: screens, widgets, layout, the console's look and the Swift chrome are a
focused job that needs taste; delegate them on the
ui-opus-maxroute (Hermes delegationmodel_map), never the default Sonnet route, which shipped native pieces that compiled and passed tests but did not work by hand. - Change the console in
scripts/dev-console.pyonly (one file, forever). A project-specific view goes in the project'sWIDGETS, not here. - What the user corrects about the console becomes a line in this SKILL.md (a rule) or in a
reference (depth), via
skill-smith; screenshots go to the conversation, not the repo. - Verify a change with the real page: load it, act (click, keys), screenshot, and read the
DOM state when a screenshot cannot show it (
window.__cyis the graph), in the headless browser. Then open the exact view's URL (?ev=…&w=…) as a Hermes browser tab (desktop_preview) for him. - Gabriel steers in short messages while you work: apply each one at once, verify, and ship each
settled change as its own small PR. Start every PR branch from
origin/main(git stash push -- skills/dev-console; git checkout -B <branch> origin/main; git stash pop): after a squash merge an old branch conflicts, andgh-apprefuses force push (a PR already CONFLICTING: commit, thengit checkout -B <branch>-2 origin/main && git cherry-pick <sha>, push, close the old PR, open the new one). Stage onlyskills/dev-console(and the project files you touched); other sessions leave changes in the same repo. One task, one worktree, made and removed by worktrunk (wt):wt switch -c <task> --base origin/main --no-cdto start, the PR from that worktree, and once the PR is mergedwt remove <task>: it deletes the worktree and the branch only when its content is already in main (⊂), so it is the "safe to delete" check; never-D(an unmerged branch is the owner's call).wt listshows what is left. Beforegit pullon the clone the console reads (~/src/skills), commit what the background review left there (skill lessons, version bumps) as its own small PR: a pull over them aborts, and a stash pop conflicts on theversion:line (resolve to one version above both). A file you added and landed from a worktree stays untracked in the clone and blocks the pull ("would be overwritten"):diffit againstorigin/main, delete it if equal, pull again.
Money bar
Everything is monetary, so every domain belongs to a cost center (see cost-track); a domain with one shows the money
bar in its status line. Nothing is stored by the console: the Costs journal is the only storage and cost-track's
scripts/costs.py (found at ../../cost-track/scripts/costs.py; missing means no bar) its only writer.
- The bar: the center name; what it spent today in R$, ticking every second; for a client
de R$ <budget>with a thin progress line, red over budget, plushoje a <cliente> pagou R$ X/h; for an investment<nome> · R$ X hoje, no budget; the rate (R$/min; a click cycles min, hora, dia, kept in localStorage); ▶ / ⏸. A click on the center name opens a popover (upward, the line is at the bottom) with today per center and the total. - The center of a domain:
COST_CENTER = "<id>"in its project file, else the center whosedomainslists the slug in the journal (costs.center_of). The Costs domain declaresbiliboss-skills; Tasks and dev-console are in that center'sdomains. A project that lives outside (Via Corretor) is listed in the journal, never declared here. - The record:
POST /domain/<slug>/time/startand/time/stop(ended_by) emittime_entry.startedandtime_entry.stopped(text,domain,seconds,rate_hour,cost,ended_by); the server is the only writer (throughcosts.py). The rate in force is stored on each entry, so a price change never rewrites the past. The running stretch sits inrunning.jsonin the costs folder (COSTS_DIR), so a hot reload keeps it; the page pingstime/beatevery 10 s and a stretch silent for 45 s is closed (close).GET /domain/<slug>/timereads the numbers. - What stops the clock: Pause, switching domain (a person's first trusted gesture on another domain's page), 5 min
idle on the Mac, and, in a browser tab only and only on a page a person used or started the clock on, the page
hidden (
visibilitychange). A page load never stops it (an agent's headless read, a curl, a background tab, the Playground opening): the clock stopped five times in one session from such loads. In the native app a hidden page never stops it: a window covered by the chat or hot- reloaded behind it reportsdocument.hiddenwhile he is still working (detect the app bywindow.webkit.messageHandlers.devconsole). Never window blur and neverdocument.hasFocus(). When he says to leave the clock running, re-check it after every console edit and restart it if it shows ▶. In the native app, every 5 s it callswindow.devconsoleIdle(seconds)with the Mac's idle time (systemIdleSeconds()inConsoleCore: the any-input event type~0, because.nullanswers with the time since boot); a normal browser falls back to its own input idle. Coming back does not restart the clock: the button shows ▶. An embed (?embed=) never runs the clock on load nor ends another domain's stretch;?embed=moneyshows the bar (CostToolbar) and acts only for a stretch its own click started. - Testing it: a second console on another port with
COSTS_DIR=<temp copy of events.jsonl>andDEV_CONSOLE_REGISTRY=<empty file>, never the real journal.
Pitfalls
- A registry line is the
dev_console_project.pyfile, never its folder:console.sh domains add <file>, not anecho >> domains.txt. A folder path makesspec_from_file_locationreturn None and the main console dies for every domain on its next reload. If 5057 is down, read the tail of~/.local/state/dev-console.log, fix the cause, and start it again with~/.local/state/start-console.sh(detached, so it survives the agent's session), then curl 200 on/. - After any merge that touches the console's code, pull the clone 5057 runs (
~/src/skills) and curl/, the touched domain and/domain/kanban. A clone that cannot pull (loose edits from other sessions) serves a mix: a module imported by new code is missing (ModuleNotFoundError) and the console dies for every domain. Back upgit diffto scratch,git pull --rebase --autostash, resolve a conflict keeping both sides, then land the loose edits as their own PR so the next pull is clean. - The hot reload purges imported modules only on a re-load caused by a saved file, never on the first import, and
never the console's own modules (
__main__,dev-console.py, itsconsole_*siblings): the dev-console's own project shares their folder, and purging them makes every later@dataclassfail (sys.modules[cls.__module__]is None) so the console cannot start. Test a reload change from a clean process start, not only by touching a file. - Headless screenshot of a console page: wait for the widgets. Chrome's
--screenshotfires at load, before the htmx fragments arrive ("carregando…"), and--virtual-time-budgetnever ends on a page that polls. Use a small uv Playwright script with the installed Chrome (chromium.launch(channel="chrome"), viewport 1128×1074, dark),gotothenwait_for_timeout(5000), screenshot, and read adata-*marker withevaluateto prove the piece rendered; cap the run with a background kill. - After deleting or editing entities by hand, move his window off them: a page left on a removed card's URL
(
/t/<id>) shows "não encontrado" on a black screen;window.sh openthe module (/domain/<slug>?tab=<Module>) via an entity that exists, then screenshot. - Start it from a stable folder (
cd ~) with absolute paths, test consoles too: the hot reload spawns a new process that reads the current folder (os.getcwd()in multiprocessing spawn), and a folder removed under it (a worktree afterwt remove) kills that console withFileNotFoundError. When 5057 is down,pgrep -fl dev-console.py: kill leftover consoles whose paths point into removed worktrees, thenstart-console.sh. - Check a widget by curl through its listing first:
GET /domain/<slug>/w/<entity id>/<event>lists the registered widgets under their display names (a functioncontas_e_cofreshows asContasECofre); take the name to put in.../<event>/<name>from there and grep adata-*marker of the widget. The domain page itself draws widgets client-side, so acurlof/domain/<slug>never contains them. - Test a change on a second console (another port,
DEV_CONSOLE_REGISTRY=<empty file>so only your--projectshows, temp env overrides for any data files) and read it in the headless browser; never point his native window at that port, and if you did,window.sh openit back to 5057 before you stop: he takes the test console for his and thinks a domain vanished. Kill only the test server (pkill -f 'port <n>'is flagged as self-termination; kill its process session instead). - An imported domain whose journal is empty (the real one lives where the Mac cannot read it) must still return one
placeholder entity from
read({}), or the page shows "Nenhum … no diário" and draws no graph. - Never put every event of a category in
INITIAL[1:]:derivedrops initial alternates from their category's chain, an empty chain raisesIndexErrorand the page 500s. Hang a Human decision off an event inTRANSITIONSinstead. - Centre on the Human after
fit, then zoom out around it until the bounding box fits: centring alone pushes the far nodes off screen. - In the native window,
evalright afteropenmay run before the page draws (window.__cyundefined):wait, then give it a few seconds. Make the web view the window's first responder, ordocument.hasFocus()stays false.
Depth (numbers, layout, graph, server): references/console-ui.md.
- Keep Cytoscape node
widthnumeric and edgesstraight:width: 'label'with bezier edges hid nodes and edges. The one exception is a two-way pair fromTRANSITIONS(A→B and B→A): classloop,bezierwith a control-point step, or the two straight edges lie on top of each other. - Guard
cy.resize()by the real box size: resizing on every ResizeObserver tick flickers. - Keep the SSE stream and the live-reload socket from blocking a restart: the server shuts down with a 1 s grace.
- Fetch widget HTML with the
HX-Request: trueheader and insert it withinject(): without the header FastHTML wraps the fragment in a full page whose head breaks the console's CSS, and plaininnerHTMLneither runs a widget's<script>nor wires itshx-*buttons (injectre-creates scripts and callshtmx.process). - A project-file constant the console reads (
HOME,ACTIONS,EXPECTED_WIDGETS) must have exactly that name; checkD.home/ the route after adding one, a typo fails silently. - Per-event model data the sidebar reads (
coverage,descriptions) lives onM()(the model payload), not onD: readingD.xsilently shows the empty fallback. - An event that belongs to no entity (
worth.updatedhas nocost_center) must still render its widgets: read the entity key withfocus.get(...)and keep the page's id, or_ctxraisesKeyErrorand the widget 500s. - Read an entity's optional fields with
.getin console code (status,updated_at,event_count): a new domain's projector does not have them and the page 500s. Read the server log in the services pane (~/.local/state/dev-console.log) on any 500 before guessing. - Keep
.sesskeyout of git: FastHTML writes its session secret next to the script it runs. - Lay out an embed with CSS keyed on
html[data-embed=…], set beforeshow():show()re-renders#main, so JS that hides or resizes elements first is lost or hits the wrong node. - An embedded console screen points at the domain whose event it shows (the dev-console's own
SLUGfor its process events): pointing atctx.entity_idopened another domain without that event ("comando undefined"). - Edit the console with small patcher scripts that assert each replacement: sed misses JS
with quotes and backslashes without saying so. Never add a
#comment in the middle of a Python expression line (a dict entry followed by**derive(...)): it swallows the rest of the line. After every patch todev-console.pyrunuv run --with python-fasthtml python -m py_compile <file>: the hot reload restarts on save, and a syntax error kills the console for every domain, his native window included. - Generate Python for a project file with
repr/pprint, neverjson.dumps(nullis aNameError), andpy_compilethe project file after writing it: a registered project file that fails to import kills every console that watches it, the test one included. - A domain change is a person's gesture, never a page load: loading another domain's page (curl, an agent, a headless
browser) must not close the running stretch; the page's first trusted input (
e.isTrustedon keydown/click/pointer) poststime/enter, which ends a stretch running elsewhere (domain_change). Agents' synthetic clicks are not trusted. Still check other domains on a test console when you can. - The user iterates fast on the look: one change, screenshot at his width (~1000 px, dark mode), short report; spacing moves by small steps (too tight and too loose both get rejected).
- The Tension-shaped tabs (Proposed Actions, Observations, …) are still console code; only the
tensions project lists them in
TABS. Moving their markup into the project file is next.
Browser: a page an agent runs, inside the console
devc browse <url> opens the console's Browser module (/browser?url=…, also in ⌘P): an address line and the page in a
frame, above the status line. Use it to show the owner what an agent is running (a landing's dev server, a preview) so
he validates without leaving the console. Pages that forbid frames (X-Frame-Options) stay blank: ↗ opens them in the Mac's
browser.
- Anything local he must look at or answer goes through it: a card agent's landing (
devc browse localhost:<port>) and a waiting interview form (devc browse 127.0.0.1:8398, the interview queue) open in his console window instead of a separate browser window. When a card agent starts a dev server or asks him questions, tell it to usedevc browse. - An HTML report for him (finances, a study, an analysis) is shown here too, not in a separate window: write it to
~/.local/share/bili-reports/<topic>.html, serve that folder once withuv run python -m http.server 4400 --bind 127.0.0.1 --directory ~/.local/share/bili-reports(a persistent background process), anddevc browse http://127.0.0.1:4400/<topic>.html. Afile://URL never loads inside the console's frame. After each edit, reload the frame anddevc shotto check before telling him:devc browseof the URL already open does not reload it (the shot keeps the old page), so rundevc eval "(() => { const f = document.querySelector('iframe'); f.src = f.src })()". - An interactive report keeps its state in the URL hash (
#a3=1&parcial=1&t=2750), restored on load, plus a "copiar link" control: the console's address line only shows/browser?url=(the frame is another origin, its hash never reaches the parent), so the link is the way back to the same scenario. Controls live in one sticky bar on top, and when he asks "tá certo isso?" the page itself explains the difference for the current state (what makes one number smaller, in money, and the fair alternative), not only the chat. - Test it with a throwaway page served from scratch (
uv run python -m http.server <port> --directory <dir>), thendevc browse+devc shot, and stop the server.
Home: the Dynamic View
/ is the home table of SQLite, drawn live: it starts with ONE row, the logo widget (</>, the widget dev-console/domain.updated/Logo of the console's own project; alone it sits centred in the empty canvas), and lists every
widget placed on the home with its position and composition. Agents put widgets there with devc; the owner may also edit
the rows in any SQLite app (TablePro) and the page follows with no reload (SSE /api/home/stream). g h goes home from any page.
devc home show <id> --html '<h2>…</h2>' | --html-file f.html | --url localhost:4321 | --widget <slug>/<event>/<Name> [--task T]
[--title T] [--span 1-3] [--height PX] [--position N] [--parent ID] # same id = replace in place
devc home list [--json] | rm <id> | clear # clear = back to only the logo row; rm of a parent removes what is inside itOne file, ~/.local/share/dev-console/dev-console.sqlite (DEV_CONSOLE_DB; WAL), scripts/console_store.py. Keep it
outside the registry's folder (the reloader restarts the console on any write there; tests put the registry in a folder of its own).
widgets: the catalogue. One row per widget of every loaded project:id=<domain>/<event>/<Name>(the URL/w/<entity>/<event>/<Name>anddevc home --widget),domain, event, name, kind (widget|expected), position, function, module, file, line, fake, roles(JSON:home,module:X,entity_part:Y),code(inspect.getsource),code_sha256,project,exported_at. The console rewrites it from the loaded projects at start and on every hot reload, only when something differs: the code files stay the source of the code.home: one row per placement.id(whatdevc home show <id>uses),widget_id(awidgets.id; null for raw html/url),source(widget|html|url),content(the html or the url),task(the entity a widget renders),title,position(grid order),span,height,parent_id(composition: a placement drawn inside another; a missing parent or a loop falls back to the top),created_at,updated_at,actor(DEVC_ACTOR). Seeded once with the logo; the logo row has no frame.- Writers: from code, only the server (
console_home.py->console_store.py) throughPOST /api/home/show|rm|clear; the owner by hand. External edits are noticed by watchfiles on the db and its-walfile (no polling loop), compared with the last snapshot, and pushed as the same SSE. - The old JSONL (
~/.local/share/dev-console/home/events.jsonl,DEV_CONSOLE_HOME_DIR) is archive: read once, whenhomeis first created, to migrate its placements; never written or deleted after. htmlis drawn in a sandboxed frame (scripts allowed, no same origin);widget/urlin a frame of the route; the logo inline.- Tests:
uv run --script scripts/test_console_home.py(temp database, a real console onDEVC_TEST_PORT, default 5097). Any test that starts a console setsDEV_CONSOLE_DBto a temp file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

