Repository navigation
feat(web): GitHub link and local diff for a board fact's commit - #25
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
start writes Repo: from the board file's repo, and adds it to an existing board's goal that lacks one, changing nothing else. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A worker can write the workspace's .git/config; with log.showSignature and gpg.program set, git show ran that program when a fact's drawer opened. Also no lazy fetch from a promisor remote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Board workers commit on local branches and write
Commit: <sha> on <branch>into their facts. This adds two ways to see that commit from the web UI.repo = "owner/name", is validated by the runner./blackboard startwrites it into the goal as aRepo:line. For an existing board whose goal lacks the line, start adds that one line and changes nothing else; this is a second, narrow exception to "from= never edits an existing board".Commit:line shows a link togithub.com/<repo>/commit/<sha>when the goal hasRepo:. Board branches stay local until someone pushes them.git show) and "All changes vs main" (git diff <base>...<sha>, with the commit list). The runner records the workspace instate.json. A board whose runner has not restarted since says so.GET /diff/<board>/<sha>?view=commit|mainon the local server:log.showSignature=false,GIT_NO_LAZY_FETCH=1, and stdin closed;deno task webgains--allow-run=gitonly.Design:
docs/superpowers/specs/2026-11-27-commit-diff-design.md; plan:docs/superpowers/plans/2026-11-27-commit-diff.md.Tests
deno task check, 332 unit tests, and the runnerunittestsuite pass./diffruns against a real temp repo, and against a signed commit in a repo that configuresgpg.programandlog.showSignature. The controlgit showruns the program; the route does not.Deferred minors
view=maincan take up to about 70 s.repocheck accepts a trailing newline ($).Repo:only on the next start.After merge
repo = "…"to a board file and restart its runner.deno task web, for the new--allow-run=git.🤖 Generated with Claude Code