Repository navigation
Inside The process map
One model of the cycle draws every picture of it. sclaude/lib/flow/process.py
and its parts — process_model.py (the maps), process_config.py (what a
project's config draws), process_position.py (where a feature stands),
process_history.py and process_costs.py (how it went, what it took),
process_diagram.py, process_doc.py and process_page.py (the drawing and
the pages); process.X reads any of them — hold the lanes, the nodes, the edges forward and back, and the commands with
the node each leads to. From it come the printed map,
docs/presentations/bpmn_diagrams.html (rebuilt by
docs/presentations/build.py), and a feature's own map on the proxy,
/__sclaude/flow?f=<label>; the proxy also serves the printed page itself,
drawn from the model on each request, at /__sclaude/bpmn — main's line in
its list of features. The proxy runs for days while sclaude's update pulls
new code under it, so it reads the model again whenever one of its files changed
(process_map): the map it serves is the checkout's, with no restart. A drawing kept by hand beside the code would go
stale the first time a step moved; tests/process.py instead fails when the
model and the code part: a command dispatched in bin/sclaude and missing
from COMMANDS or the other way round, an action verb in actions.sh with no
command, a step number that is not cycle_number's, a place position can
answer that the page cannot light, a built page that is not what the model
draws now.
A feature's way through it is kept and played back. Every thing that
begins or ends — a session's sitting (session_runs), a regression, a fix, a
deploy, QA's verdict, the hand-off, the merge, a rollback, a friction review
and how a workshop change was published (history_add) — is a line of JSON
in .sclaude/local/feature/history.jsonl, in the tree and out of git, gone
with the tree at the clean-up. state.json keeps where each stands now and a
conversation's first start and last end; the history keeps every time a
place was entered. history in process_history.py turns it into the places in
order: the ones named, those between filled in along the map's shortest way
when it is short (a long way round would be a guess; none between a plan's
or a pr's session and the next of its own, which took up one broken off),
the time between two places given to the first check or person on that way
(what it waited on), a conversation resumed with nothing between counted as
one stay of several sittings, and the friction reviews and workshop passes as
ways of their own — each friction review a pass of its own, labelled with its own verdict,
also when several follow one step session resumed round after round and so
share its key. A status session says in its row what it is about
(about, set by run_status): before the merge it is the preview's, red or
written again green, and plays on the epilogue's copy beside the preview: a
step aside from wherever the run or the menu wrote it, never a deviation,
the way on going from the place before it; the player reads the mark rather
than guessing it from the places around. Where the feature left the map — a jump the map has no way
for, a map of its own reached from no block carrying its letter
(deviations) — the place is marked: the History tab counts them, and the
play stops there, rings the places, draws the way it took as a ghost and
says what happened, since there the map or the code is wrong. The
retrospective is given the same places as lines (process.py off, one per
cause with the passes' times, run_retro in retro.sh), to find which side is
wrong and propose the fix. sclaude _flow sends it with the position, and the page
plays it.
The ways taken are written too, where the code takes them. A row
{"what": "edge", "op": "<from> <to>"} (history_edge in state.sh) is one
arrow of a map, with who took it — by: the person, a setting (a machine's
or a project's), sclaude's own check, the session's report, QA, GitHub, or
nobody (no answer) — how (how: the terminal or the phone, as ask leaves
it in ASKED_HOW; the setting and its value; what was checked) and what was
known then (note: the lines found, the tests that were red…). Where they
are, the played way follows them and fills in along the map only where two
do not meet; the History says by each place who took the way into it. A
feature older than them plays as before. Every map is written whole
(RECORDED in process_history.py); a gate a later pass only passes again on
paper (the merge before the ship question, QA's yes and the hand-off while
the merge waits, the way into sclaude done) is written once per pass
(once_edge): again only after an edge back into review, pr or
preview (a hand-back, a rollback, the retrospective's code, main moving
under QA or the merge wait) — a way back to another place goes into its
pattern in state.sh: tests/process.py fails on a pair
the code writes that no map draws, and on an arrow of such a map that no code
writes and UNWRITTEN does not explain. process.py history and the
feature's page take the history from one function, played, on the map the
project draws.
What each place took goes with it (metrics), shown inside the blocks, in
their corners, by checkboxes, and never in the History; each map's heading
says its own whole of the checked ones, zeros included. The person's input — the times they
stepped in during a conversation (claude_usage's human: a message after
Claude's turn, an answer to its question), answers to sclaude's questions
(ask_log writes ask answered) and commands run on the feature at a
terminal (history_command, once per process) — counted on the place the
feature stood on then; and each conversation's cost from Claude Code's own
account, followed into the conversations it was carried on in, on the place
it ran; the time each stay took (s), on its own map — a detailed stay gives up the
minutes a regression, a sync or a friction review ran inside it, which count
on theirs — with how many stays the place had beside it. A workshop's work happens in the conversation that opened it and
counts there. Each stay carries its own share too (m): a moment goes to the
stay it falls in, else the last one at that place begun before it, and a
conversation's cost to the stays of its launches by each one's share where
sclaude recorded them (costs and cost_at beside a run, run_cost in
steps.sh; Claude Code keeps one running total for a resumed conversation),
else to the stay it was last opened in; a sync's counts on the
glance under the block its pass began ahead of. The player adds the shares
up as it goes, so a map playing shows what was played so far, the place
playing now as "before+its own" (its time on the player's clock, after what
the stays before took); the maps outside the play, and every map once it has
played, keep the totals, the stay going on said the same way after the
stays before it on its own map (not on the glance, whose one stay
may be several here); ×k, the times a place was entered, is not shown on the
glance either. A detailed stay's time is its sittings', less what a pass's
map timed in them (_spans, kept on the stays while they are counted). A
stay left with no end row counts up to now only when sclaude's state says
it is going on: a step's conversation while that step is the state's step
and its run is open however long ago it began (_open, as the position
takes it), the retrospective's and the epilogue's the same, a friction
review's while its run is open, a sync while it is going (_going, as its
badge takes it), a regression while it is running (_running), and a wait
with no conversation the feature stands in — the merge's, QA's look
(WAITS_HERE): its position, with nothing after it. A deploy or a local pass
the position names is the next thing to do, not one going on. A stay going on
is live, has no end yet, and it — not the "here" mark, which after a pass
stands on a stay of its own — is the one said as "before+its own". The
merge's wait or QA's look the next place began after ended there. Anything
else ended unseen (a Ctrl-C, a terminal that died): at the earliest of the
next place begun after it — a pass run inside a stay (a friction review, a
workshop) is not the feature leaving it — and the last line its run wrote
(any line, when its rows name no run; a pass whose rows name none took no
time; a command row is another process's and never counts) —
_unseen_end — and its time is a guess:
unsure, ⚠ beside the block's time, the map's and the feature's, and on the
player's clock. The history alone cannot tell a sitting going on from one
that died, which is why the state decides. The page lays the numbers out inside the block:
input and wait at the bottom left, cost at the bottom right, time at the top
left up to the badges; a block whose own words fill four lines hides its last
line of description while it carries them. The transcripts are read through a cache beside
the history (transcripts.json), so a poll reads only what grew, and a
conversation still going at most once a minute.
The review's map (sclaude/lib/review/review_map.py, drawn by
process_review.js under a review step, served at /__sclaude/flow/review)
logs nothing of its own: the rounds are the review report's rows
(journal_runs, the one grouping of the journal's passes on the pull
request, in order of time; a round on a head the tree no longer has is not
drawn and keeps its number),
the fixes the hunks of git diff from one round's head to the next one's
(the last to the tree's HEAD) in the files the branch's own commits changed
— a merge of main between rounds is no fix —, placed by their line in the
newer version; a fix takes the outcome of the nearest thread of its round on
its file, within 15 lines of the fix's line in the round's head (where the
thread was posted; one posted on a commit between round heads is carried to
the head first), and failing that
the thread a subagent of the fixing session was given, when it edited the
fix's file: the subagent's transcript beside the session's names the files
it edited, and its brief the finding's file and line (path:12, line 12;
a file named without a line is not a finding), matched to the nearest
thread of its round within ten lines. A fix the session made itself, with no
thread near, is "no thread". Every file gets a projected axis (project): every line that was ever in
it keeps a place — a deleted line keeps its slot, the lines a fix wrote are
put right after the ones it replaced — so a fix's place (p0/p1, the
lines it removed and wrote) and a thread's (p) are the same place in every
round, and an icicle grows from the lines it changed. A file whose fixes do
not add up to its next version (a rename) is placed by line numbers instead.
The panel draws by fix (files joined by thread or subagent), by file (one
icicle a file, never joined) or by thread, a choice kept in the browser. In
the two icicle views a file's column is as wide as the root of the lines in
it, never under a minimum: a column held at the minimum leaves the sharing
and the rest divide what is left, so the map scrolls sideways only when
every column is at it. The
title's summary opens with the pull request against main now (total, from
the fork point with main today) and the development's share of it. By
thread (drawTree in process_review.js) draws the same JSON as descent: a
node a thread, or a round's changes in one file that no thread asked for;
a thread's parent is the owner of the fix its of names, such a change's
the owners of its from, the one it rewrote most first. A fix is a pie at
the head of its round's column, a thread the line from its parent's pie (or
the PR's) to its own, the pies lying over it as knots — a tick on it only
where a check missed. The person's asks no earlier fix explains grow not
from the PR but from a ✋ of their round (treeHandRoots), at the left of
that round's column, their trees below the review's under a dashed rule;
the round header's ✋ moves there. Each branch takes a band of rows, the node in
the middle of its children, so the ribbons turn in the gap before the next
round and never cross. With chains on one row (treeChains, kept in the
browser) a node's trunk — its only child, or the one with the largest
desc — takes its row (chain), the others above and below, the earlier
node's farther out, so lines still never cross; rows holds each row's
first node, placed every node drawn. The row is labelled by its first
node and titled by its last thread, with ×N threads and → the last other
file the chain reached; same-row repeats and second parents arch over it. The polish round is polish on its round, the one
that read polish_head (polish_round in review_map.py). Folded branches are kept in the browser
per feature, each drawn as a summary pie a round. A line's thickness is the
root of all its branch changed (tot, Leonardo's rule), its first fifth
out of the circle it leaves cut along and darkened by its branch's findings'
severity (review_map.py's severities: a mark's kind, else important in a
round that marked any, else unmarked); the label's ✓ or ring counts its
branch's ends resolved. Findings the local review put in the conversation
(conversation_findings, by local_review.py's NOT_IN_DIFF and
FROM_LOCAL) are threads with conv; the GitHub review's comments of
findings (loose) are a row with no file. The view (rvm) and a note
clicked open (rvi) are kept in the page's address (process_url.js). A thread's cites — the earlier threads its replies name, by
review_report.py's CITED (cites in review_map.py) — are dotted arcs,
repeats rather than parents. Read in review blocks, the columns are grouped by block (the cut's
blocks, FEATURE_BLOCKS), each block's name over its files, a line between
two, and the files the cut does not name last. On the page the
development's diff up to the first round is the block on top (its height
the log of the time from the branch's first commit), a file's column as
wide as the root of what it wrote; a round's fixes close together in one
file are one place, and places in two files join when they are one fix —
the same thread, or the work of one subagent given at most two findings — the files ordered so that linked ones sit side by side; a place hangs from the places of the fixes it grows from
(several: a merge), wherever above — lineage: the axis is also a blame
(writer in project), so a thread knows the fix that wrote its line
(of) and a fix the fixes whose lines it rewrote; a fix grows from its
thread's of, or with no thread from what it rewrote (from), until the
chain closes — a round after its last fix or thread that read it whole
(not stopped, not more, its files in seen), with every thread of it
settled and none of its own there; a fix of that same round landing on it
keeps it going. After that a fix there starts a new icicle; a thread on the
closed chain's own lines reopens it and, when it was a problem (fixed, open
or with the person — not declined, not a reversal), keeps missed, the
round that passed it, drawn purple (rv-missed, a ring on the dot) — only
for a chain that fixed a thread, as a closed chain of fixes answering none
is code the review wrote unasked. The person's asks write no lines of the
review's. A "Fixed in " reply counts in the thread's own file, named
or not, for the fixes that commit itself changed (deletions included). A file with no axis falls
back to the places of the nearest round above whose code overlaps; a place's bottom is shared among those hanging from it
in proportion to their widths (a split); each is a trapezoid, its bottom as
wide as the lines the round changed there on one scale for the map (the one
at which four places in five fit their columns, the rest held to theirs),
its top the slices of the places above (a parent always shares a file with
it), its own width under the development's code in the first round, or
its own width, flat, where nothing is above it (a close is never wider than
what it closes: the place's bottom, or the stem); a place no later round came back to
is cut flat, and closes to a point mid-way down the next row only once its
chain is done — every thread of it and of the places it grew from fixed,
declined or declined as undoing a fix, the first round after its fix that
opened its files read all of it (its last pass not stopped at the cap, the
journal's more) and posted no thread there, and the round after that one
has begun, so that round's fixes are all in. What a round opened (seen,
seen_files) is read from its passes' transcripts — a file read, named in a
command, or shown as a diff header in a command's output; a round that never
opened a place's files is drawn, until one does, as a dashed outline of
its width faintly filled, and once a later round read it as a thin stem
(STEM, reached through a short neck) — as are the rows a place bridges
to the place above it, in that place's colour. A GitHub run's
conversation is read from its job's log, which sclaude keeps once the run
has answered (review_log.py, the journal's log); a run whose log
GitHub no longer gives counts as having read everything. A
file a round's head does not have is in its absent (absent_files, the
end's in absentEnd): a removed file's hunk keeps its path (+++ /dev/null
in hunks), a chain needs only its files still there opened to close, and
a place whose files are gone by the round after its last fix ends in its
row with a ✕ (rv-gone), over (gone in why) once its threads settled. Code
moved between files is found by content (moves): a hunk whose telling
lines (MOVE_LINE characters or more) are mostly, and at least MOVE_MIN
of them, lines another file's hunk of the same round removed — a removed
line standing for as many added copies as it was removed, and only the
branch's own files, not a merge's — keeps movedFrom, a removal half of
whose lines went on so movedTo; with no reply or brief tying them to a
thread (a nearness tie gives way only to a hunk MOVE_ALL moved) their
outcome is moved, the target's _blame takes the removal's, so it grows
from the fixes that wrote the code there (moveUps on the page, a stream
or a jump), and the header counts moved lines apart. A place tied to its
thread only by nearness (via: near on all its threaded hunks) is drawn
rv-guess; a place's tone is its hunks' depth weighted by their own
lines. What is left of the development (alive) is a blame of every
block's file at the end (every file of the pull request where it is not
read in blocks): each line the development's (a commit before the
first round), the review's time (a branch commit after it, fixes and asks
alike: the branch's first parents, so not one of main's a sync merged in)
or main's; blame runs from the
merge-base only, follows a block file the review renamed, keeps re-indented
code's writer (-w) and, in a file the map found code moved into, code
moved from another file (-C, there alone for its cost) — the title's
table (opened by hover, tap or focus) and each block's hover read it. A
block file removed without a rename leaves its development's lines gone. The
places are drawn in three layers — the outlines owed a reading,
the bodies widest first, then every thin line — so no fill hides a stem.
A thread whose reply names a commit of a round's range and, among
the commit's files, the one the fix landed in (by its name, a stem that is
no plain word, or a stem's first part with a digit that no other file of the
commit shares — replied) gives that round's unthreaded fixes in the file
to the thread and is kept as fixedIn: the file is put beside the thread's
in both ways of drawing, and the round's place there hangs from the
thread's place — a stream when the two columns are side by side or one
(a merge is drawn as one stream a parent), a jump further away: a mark
where it leaves and one where it lands, links to each other
(#rvj-<n>-out/-in). A file the review created that the fixes of
another file moved into for good — nothing in the first from the round the
second starts, nothing in the second before, the second in the first's
block or in none (the cut was made before the review wrote it) — goes on under the
first in its column; threads a later round posted at a place where none of
its fixes landed (fixed elsewhere) stay in the place's chain, and the round after the last of them is the one
that checks it (a small point in its row, no line drawn down to it); the touched files are
ordered so that each next one shares the most rounds with the last; the
heights are scaled to fit the panel, which can also cover the whole page.
Behind the rows' names one icicle sums every file, and a folded block's
icicle sums its own (summed): left of a dotted axis the development's
code, right the review's own — the development's lines on top, then each
round's touched lines (a fix's larger side), left those the development
wrote or the person asked for, right those earlier rounds had already
written (a hunk's own, the share of its span on the axis that earlier
rounds' hunks covered; a hunk off the axis counts as the development's),
each side on a square-root scale and split by outcome outward from the
axis. A line on the same scale gives each round's added minus deleted
lines (asks left out), right grown, left shrunk, its tone by how many
threads review posted in the round, to the moment shown. A hunk whose
added lines are mostly from a commit the person asked for (asked_lines: a
feat subject or a Requirement: trailer, by a blame of the round's range),
or that only removes lines in a file no other commit of the range touched
(its None key), is asked, drawn as the development's — unless it is a
thread's fix for sure (unask: a reply's "Fixed in " whose commit
wrote its lines, or a subagent briefed on the thread editing the thread's
own file), which a Requirement: footer the person's answer put on it does
not make theirs; a place's lightness is how many
earlier rounds' other hunks overlap its own (its depth, 3 and more alike),
its fill split by the share of asked lines; solid when a line of code in
an ordinary file or a migration changed, hollow otherwise; a solid place's only pattern is
a migration's, a hollow one's each kind of file it touched instead
(kindOf, by path) and comments alone. A thread
left as it is gets no fixedIn: the commits its reply names are reasons.
A place hangs from the nearest round above that changed its code, bridged
through the rounds between; a kid in its parent's file takes the part of
the parent's bottom above its own code, so a narrow fix under a wide one
starts narrow; a place with no parent starts at its own width, a point
only in a file that did not exist yet. Each block carries lines and
generated (its files' changed lines now, as outgrown counts them) and
the map blockSize (reviewBlocks.size). A thread's
outcome is read from review-reversals (a reversal for good, however its
thread was resolved later — whether it was applied cannot be told; the
commits its replies name are reasons, never its fix), review-yours (the night's mark), decline_of and
GitHub's resolved flag, in that order; a file's change counts as read
(diff) only where a diff of it was shown; its round is the
one whose head its first comment was posted on. The person's hands are the
AskUserQuestion calls answered in the tree's transcripts (the wait, the
option marked "(Recommended)", a discussion_r link in the question), the
answers to sclaude in the history, and the threads a person opened. A
round's cost is the report's (review_report.py): its passes by their
sessions, stopped ones too, and each fix launch on the last round begun
before it (fixes_per_round). A pass stopped or not taken (spent) on a
head of its own is a round, stopped, as the report counts it, reading
nothing (seen empty); how says per file how far a round read it —
whole (a Read of all of it), diff (its change shown: all of it in a
read: first pass, the last fixes' in a delta) or part — and the page
draws a strip at the row's foot where it read and posted nothing; the
outcome reversal stays, since review_context_log marks what it counted
with a # line rather than emptying the file; the state says the block read now (blockNow) and
whether step 4 is over (closed), when the last round closes too. Comment lines are told
by how they start, and a file of prose is all comment — nothing knows a
product's language.
Besides the cycle at a glance and the whole process, two maps take apart what the whole one marks on its sessions: W, a session changing sclaude in its workshop and the publishing after it, and F, the friction review after it — each a block on the whole map leading in, and its own lanes for the rest.
The maps are BPMN with vertical lanes and the flow running down, so the width
is a page's and the length is what splits. An edge running down bends in the
gap above its target; one that would cross a node in its way takes a channel
on the left — on the right, inside the ways back, when both its lanes are
right of the middle — and the ways running back up take a channel on the
right. Ways round by a channel into one block share it, one channel per
block and side: each runs along its row into that trunk, a small arrow where
it joins and a chevron on the trunk past it, and the trunk goes in with the
arrow — no line crosses a node, and every way back is the same dashed red.
Each gap between rows is as tall as what turns in it, and no taller; where
nothing turns in it — the ways leave the upper row from its blocks' middles,
none comes in by a channel — the lower row rises into the upper one's height,
a block in the same lane kept 30 px under the one above, every run clear of
the line the feature's page writes under a start or an end. Printed (A4
landscape), the large map is cut into sheets between lanes, never through
one, each sheet a window on the same drawing that overlaps its neighbours, so
they glue. The page cuts the sheets again in the browser for the paper and
scale chosen above the map (PRINT_SCRIPT), and sets @page to that paper:
a browser's own Scale shrinks each sheet without making fewer, and its
dialog hides Layout and Paper size once a page names its paper.
The pages' scripts and styles are files of their own beside the modules that
draw them — flow/process_*.js and .css, metrics/dora_*.js and .css —
read into the constants named here as the modules are imported; a value the
page fills in is a marker such as /*MODEL*/. The proxy reads the map again
when one of them changes (process.files()).
Every block, arrow and command can be pointed at (INTERACT_SCRIPT,
shared by both pages). Each carries a data-key — n:<node>, e:<map>:<n>,
c:<command> — and the script lights what is hovered and what is selected
as a union: a block with its arrows and their other ends and the commands
open there (WHEN maps a command's "When" to the blocks), an arrow with its
two ends, a command with the place it leads to; the rest fades. A click
selects, Ctrl-click adds or takes away, Esc and a floating button clear. The
note under the pointer is built from the model: a block's lane and kind, the
session's model, effort and permission mode (SPEC, checked against
STEP_SPEC, SYNC_MODEL and the launches — kept off the block itself), what
it does at more length than fits on it (DETAILS), and which commands lead
to it; an arrow's two ends and why it is taken.
A project's map is the cycle its config runs. The model holds every way
sclaude can run a cycle; for_config in process_config.py draws one config's:
NEEDS names the blocks and arrows a setting decides (the review on CI or on
this machine, the gates of the regression parts a project has, QA where the
board has its columns, the merge offer), PASS carries an arrow past a block
taken out, and VARIANTS gives the words a setting changes (who merges, who
accepts). setting reads each one as sclaude does (project_review_mode,
project_flow_mode, project_regression_parts), and config_of finds the
config as project_get does: the main checkout's, a key it lacks taken from
the tree's copy. The proxy draws a feature's map and main's whole map by it,
_flow plays the history on the same map, and the printed page is drawn for
config.example.json. tests/process.py draws every combination of
review, qa and merge, and a config with none of the sections: every
arrow between drawn blocks, every block reached, at most one reviewer.
R and S are maps of their own. A stage's regression — the run, its
fixing sessions, the stop after two, production's rollback and hold — and
the check of main with the sync session leave the whole process for maps of
their own (REGRESSION_*, SYNC_* in process.py); the blocks keep their
ids, so position, the commands and the lighting reach them there, and the
whole process marks where each runs with an R or an S. A run or a sync is
played as a pass on its map (_regression_way, _sync_way), each place
with its own time, so what it took — your input, Claude's cost, the wait for
your answers, the caches written again, the minutes
— counts on that map, summed over every pass, and the step it came from
keeps only its own.
Where a conversation's transcript is. The map reads each conversation's
summary from Claude Code's transcripts (transcripts_of), under the
feature's tree first, then under the main checkout and sclaude's own
checkout, where a friction review or an epilogue of an earlier sclaude ran;
the local review's passes come from its journal. A cache written again is a
request, past the first of a conversation, that wrote more of its context to
the prompt cache than it read and more than CACHE_REBUILT_MIN tokens
(expired in claude_usage.py): what an expired cache costs.
F and W turn while they are at work. A badge carries a ring that the
feature's page turns (busy in process_position.py, handed over by _flow): F on
the block of the session a friction review left open follows — its key is
the step and a number, review-3, fix-local-1 — R on the block a suite
runs from while it runs or a fixing session is open, S where a sync with main
is going, and W on the block of a
session the workshop's record (.sclaude/local/instruments.json) lets write
sclaude, while that session's run is open. With reduced motion the ring
stands still, thick.
Where a feature stands is the state's, not the map's. position in
process_position.py reads state.json — the step, an open fixing session, a running
regression, a sync left open (during a step, only one going — a sync left
unfinished has an end, and the step opens past it), the local review's
passes running
(review.local.running), QA's mark (qa.sha, qa.accepted), the
hand-off, the ship under way (prod_pass.shipping), the production hold as
prod_red_hold sees it, the retrospective's runs, open or ended; an open
friction review is said in the line under the place, since it has none on
this map. A start mark older than three hours is a run that was killed, and
not believed — except the ship's, whose question may wait a night: the next
pass of remind_prod takes it off — plus GitHub's word on the pull request and the epilogue's own record,
which cmd_flow (sclaude _flow <name>) passes it. _flow is a report: no
update of sclaude, no question channel, one line of JSON on stdout with the
node, the menu's words for the step, and the action list from
feature_action_items — the same computation the terminal's list and the
phone's use, so the map never offers what the menu would not. The proxy runs
it in the feature's tree, one run at a time per feature — killed with
everything it started when it takes over a minute — an answer kept fourteen
seconds (SCLAUDE_FLOW_FRESH), and the page asks again every fifteen while
it is in view, every minute while it is not. Asked that often, _flow does
not fetch (FLOW_NO_FETCH: the menu's "behind" is as fresh as the last
fetch) and asks GitHub only past step 4, where the pull request's state is
the place. Opened from the Mini App (map_button in
keepawake/phone_access.py, start=1), the map starts the feature's dev server
as opening the feature would; a feature that never had one has no label yet,
and its button runs sclaude dev --no-browser first.
Generated from docs/sclaude.md; edit it there, then rebuild with wiki/build.py.
SClaude is open source under MIT · Repository · Landing page · Contact
Why
How it works
- The cycle
- Big features in parts
- Limits in code
- Fewer tokens
- Feedback loops
- Metrics and the replay
- For a team
- Working from the phone
- Stack and costs
- Privacy
Guide
- Getting started
- Setting up
- Using sclaude
- The config, key by key
- When something goes wrong
- Glossary
- Gates and rules
- Team setup
- Privacy in full
- The tools
- Decks and the map
- Contributing
Inside
Links