mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
Build a complete user-facing documentation site (MkDocs Material) under docs/, served at roboco.dev/docs via a new gh-pages deploy workflow. - Sections: Get Started, The Company, the Tour, Operating the Panel, Choosing & Running Models, Cost & Observability, Optional Subsystems, Configure & Deploy, API Reference, Troubleshooting & Security (55 pages). - mkdocs.yml (Material theme; excludes the agent-facing rag/ corpus, internal scratch, and orphaned stub trees) and .github/workflows/docs.yml (mkdocs gh-deploy to gh-pages). - Retire the stale root usage.md and deployment.md to redirect stubs into the site. - Fix the docs tooling: add the pymarkdownlnt dependency + .pymarkdown.json, run serve-docs/lint-docs/fix-docs under the docs extra, add a build-docs strict gate. - Fix the roboco console-script entry point (cli, not the un-awaited async main). - README: correct the project-structure tree (optimal.py, alembic) and link the docs site.
49 lines
2.8 KiB
Markdown
49 lines
2.8 KiB
Markdown
# Git
|
|
|
|
The **Git** page (`/git`) is a real working git client over any of your registered projects. You pick a project (and optionally a task), browse the live state of its workspace — status, branches, commit log, and diffs — and run git operations directly from the panel. It's how you inspect what the agents are doing in git, and step in by hand when you need to.
|
|
|
|
## Picking a project
|
|
|
|
Choose a project from the dropdown to load its repository. The selection is held in the URL, so a given project's git view is shareable and back-button-safe. Until you pick one, the page prompts you to choose. You can also scope to a specific task.
|
|
|
|
!!! note "The orchestrator must be up"
|
|
Git operations run server-side against the agent workspaces, so this page needs the orchestrator running. With the backend down it shows an offline state with a retry rather than failing silently.
|
|
|
|
## Browsing the repository
|
|
|
|
Once a project is loaded you get live, refreshable views:
|
|
|
|
- **Status** — staged and unstaged changes in the workspace.
|
|
- **Branches** — the branch list (including remotes).
|
|
- **Log** — the recent commit history.
|
|
- **Diff** — the staged/unstaged diff viewer for the working tree.
|
|
|
|
A **Refresh** re-pulls status, log, and branches together.
|
|
|
|
## Operations you can run
|
|
|
|
The page wires up the full set of git operations against the selected project:
|
|
|
|
| Operation | What it does |
|
|
|-----------|--------------|
|
|
| **Commit** | commit staged changes (returns the new commit hash) |
|
|
| **Push** | push the current branch to the remote |
|
|
| **Create branch** | cut a new hierarchical branch for a task (by branch type) |
|
|
| **Checkout** | switch to an existing branch |
|
|
| **Create PR** | open a pull request (returns the PR number) |
|
|
| **Merge PR** | merge a PR into its target branch |
|
|
| **Pull** | pull the current branch from the remote |
|
|
| **Fetch** | fetch from the remote |
|
|
| **Rebase** | rebase the current branch onto a target branch |
|
|
|
|
Each action confirms with a toast on success (or a clear failure message) and refreshes the relevant view.
|
|
|
|
!!! warning "This is the live repository"
|
|
These operations act on the real workspace clone and your real remote — a merge here merges for real. The same branch/PR/merge actions are also available, task-scoped, from the [Task Detail page](./tasks-and-kanban.md#ceo-god-mode), where they run as agent id `ceo`. Remember that **only the CEO merges to master**; see [the merge model](../company/merge-model.md).
|
|
|
|
Git authentication uses the project's encrypted GitHub token, which you set when you [register the project](../get-started/first-project.md#the-github-token) — the panel never holds or shows the PAT.
|
|
|
|
## Next
|
|
|
|
→ [Agents & work sessions](./agents-and-work-sessions.md) to tie branches back to the agents that cut them, or [Projects & products](./projects-and-products.md) to manage the repositories themselves.
|