Git Dashboard
Command: /git-dashboard [repo_path] [--commits N]
Options
- Default repo:
[[orgRepoRoot]] --commits N/-c N— include N recent commits in the dashboard (default: 0, section hidden)- Custom repo: pass any absolute path as the first argument
Output
Output only the artifact — no text, no commentary, no summary. The artifact opens automatically when it is the only output.
Step 1: Gather Data (run in parallel)
git_status(repo_path) → branch name, uncommitted files (staged/unstaged/untracked)git_log(max_count=N; if N=0, still fetch max_count=1 to get the HEAD commit)git_branch(branch_type=“local”) → list of local branchesgit_fetch→ refresh remote refs
Step 2: Unpushed Commits (run after fetch)
git_diff(target=origin/<branch>..HEAD) → committed but not yet pushed- If this fails: record “no remote tracking branch” and continue
Step 3: Vercel Deployment (uvilo-os only — skip for other repos)
getDeployments(teamId=“uvilo”, limit=5) → find most recent deployment wheremeta.githubCommitRefmatches the current branch- Read bypass token from the
VERCEL_AUTOMATION_BYPASS_SECRETenvironment variable on the forgentic Railway container:
Step 4: Build STATUS_DATA
GitHub Diff URL:
devbranch →https://github.com/ErikDakoda/uvilo-os/commit/<HEAD_sha>- Other branch →
https://github.com/ErikDakoda/uvilo-os/compare/dev...<branch>
Step 5: Output Artifact
Identifier: git-dashboard, type: text/html.
Replace:
STATUS_DATA_OBJECT— raw JS object literal (not aJSON.stringify’d string)BYPASS_TOKEN— the value from theVERCEL_AUTOMATION_BYPASS_SECRETenvironment variable