Repository navigation
Inside The board and its dates
An issue taken into work leaves Backlog and gets a start date. The board is
the only place that shows what a person is busy with right now and since which
day, and an issue lying untouched all that time while a feature runs on it lies
about exactly that. At the cycle's start sclaude moves it to In progress — on
every board it lies on, and only out of Backlog: In review is set by whoever
sent it for review, Done by whoever closed it, and out-arguing them would take
the board's meaning away. An issue in any other column stays where it is, and
that is said out loud. An empty Start date field gets today's date; a filled
one is never touched.
Once, at the start, rather than at every step transition: "the work has started" is one moment of the cycle, and repeating the move would put back into progress an issue the human had meanwhile moved on themselves.
A merged pull request closes the bar on the chart. In the cycle's epilogue,
in the same place where sclaude re-reads the PR's state and sees the merge, an
empty Target date field gets today's date. The moment is not chosen at random:
GitHub closes the issue itself by Closes #N while sclaude is not running, and
the epilogue is the first place the merge is visible from at all. Today's date is
set rather than the issue's closedAt: the bar must end when the work ended, and
those two dates diverge only if the human came back to a postponed epilogue the
next day.
Target date specifically, even though by its name it is a planned deadline.
Roadmap — GitHub's Gantt chart — draws a bar from a pair of DATE fields, and
there are exactly two in the repository: Start date and Target date. The
computed Closed that GitHub maintains itself does not enter that choice, so an
issue's closing date is not visible to the chart at all. That is how the field
was filled in by hand: on one issue Target date coincides with the day it was
closed. The price of the decision is that the field stops being a plan, and
"we overran" can no longer be seen from it.
The column and the dates are edited differently, although on the board they stand
side by side. Status is a project's field, while both dates are fields of the
issue itself (repository.issueFields, a mechanism newer than projects), and to
a write in the old way GitHub answers with a plain refusal: "Issue field values
cannot be updated using the updateProjectV2ItemFieldValue mutation". Hence the
different requests: the column on every board item, the dates once on the issue —
which means they will be set even on an issue that is on no board at all. The
gh token needs the project scope for all this
(gh auth refresh -s project); without it there is a warning with that same
line, and the cycle goes on, as it does with any other refusal from GitHub.
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