Skip to content

Team

Team dashboard

Commits for the whole team in the browser, built from your git remote, behind a GitHub sign-in.

The team dashboard is the Commits viewer for everyone, built from what your git remote holds in team mode: what landed on main and how (merge, squash or rebase), open pull requests and active branches, each commit with its pieces, its guide and its sessions, and a session’s turns down to the chat view.

Every status is one the remote can prove: on each build, Wisdom checks each step against its session and each guide again.

Pull request #118, Round invoice totals once, in the team dashboard: maya squash-merged 2 commits, both explained by recorded steps. The new commit c37a8ab has no record of its own; a link from GitHub’s pull request leads to the two commits it came from

Above, pull request #118 from the invoice-api example: GitHub squashed its two commits into a new one with no record of its own, so a link from the pull request leads back to the two originals and the session behind them.

An admin runs this once, in a checkout of the team-mode repository:

Terminal
wisdom commits deploy

It asks before each step that writes anywhere, and you can run it again to fix the setup.

  1. Who may see it. The data needs a GitHub sign-in by someone who can read the repository. --public deploys it with no sign-in, only on purpose; for a private repository it asks again.
  2. Vercel. The dashboard runs on Vercel. The free Hobby plan is for personal, non-commercial use, so a company’s dashboard needs Vercel Pro. Only whoever deploys needs a Vercel seat; everyone else signs in with GitHub.
  3. The sign-in app. A GitHub App you create from the terminal and install on this repository only. It asks for Metadata: read, nothing else, and has no webhook. Its client ID and secret, and a key for the sign-in cookies, go into the Vercel project’s environment. Its private key is never stored.
  4. The CI token. A Vercel token you create, stored as the repository secret WISDOM_VERCEL_TOKEN (through gh secret set or GitHub’s secrets page). Wisdom never sees it.
  5. The CI file. .github/workflows/wisdom.yml, which checks pull requests, links merges and builds the dashboard, and a commits: section in wisdom-team.yaml with its address. Commit both and push: the first build deploys the dashboard. If the older wisdom-relink.yml is there, it offers to remove it, since the new file links merges too.
  • Signing in asks GitHub who you are and whether you can read the repository. Only a yes opens the data. Your GitHub token stays in your own browser, in an encrypted cookie.
  • Losing access on GitHub locks you out within 10 minutes, and a sign-in lasts at most 8 hours. When GitHub can’t be asked, the dashboard shows nothing rather than guess.
  • The data is never a public file. It sits inside the sign-in function, and no address reaches it around the sign-in.
  • Older builds are removed after each deploy, since an old build still holds sessions deleted since.
Event What happens
A pull request opened or pushed Built, so the pull request shows. A fork’s isn’t: GitHub gives it no secrets.
A push to the default branch Merges linked first, then built.
Every 20 minutes Built, for sessions and records pushed between merges.
wisdom team delete, prune With gh installed and logged in, built at once; otherwise the next build drops the session.
By hand Actions > wisdom > Run workflow

With the dashboard, the Wisdom check run on each pull request starts with a link that opens that pull request there.

  • GitHub and Vercel only, for now.
  • A Vercel function holds at most 250 MB. A build with more stops and says so; wisdom team prune brings it down.
  • Each part has been checked live on its own, and the whole flow with stand-ins, but not yet end to end on GitHub and Vercel.