Repository navigation
Docs: add docs-temp source and website sync trigger - #2176
Ibrahim2595 wants to merge 4 commits into
Conversation
Add docs-temp/ as the source-of-truth documentation set the rossoctl website (kagenti/.github) syncs and renders as its Docs section. This is a best-practice scaffold with fleshed starter content the team can edit and extend: Introduction, Getting Started, Concepts, Guides, Security & Identity, Deployment, Operations, Observability, Reference, Troubleshooting, FAQ. Pages use Docusaurus admonitions, code samples, Mermaid, and generated-index card sections, and carry "For contributors" notes pointing at the source docs to expand from. Naming follows the rossoctl/Rosso rebrand target. Add .github/workflows/docs-temp-dispatch.yaml: on pushes to main that touch docs-temp/, fire a repository_dispatch (docs-temp-updated) at kagenti/.github so the site rebuilds and redeploys. Requires a SITE_DISPATCH_TOKEN secret. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
pdettori
left a comment
There was a problem hiding this comment.
Big-picture review
The docs-sync mechanism is solid — the dispatch workflow is well-scoped (contents: read, token presence guard, timeout-minutes, no unpinned third-party actions). The concern is the content it will publish to a live public site, and how it relates to the existing docs/ tree.
Content is largely aspirational / unverified against the codebase
The pages document a product that isn't shipped yet, as if it were current:
rossoctlCLI (brew install rossoctl,rossoctl install --local,rossoctl agent deploy, ...) — does not exist in the repo. The real path is the bash scripts under.github/scripts/local-setup/.- API group
rossoctl.dev/v1and kinds likeToolAccessPolicy/MCPServerRegistration— real group isagent.kagenti.dev/v1alpha1; real kinds areAgent,AgentRuntime,Sandbox,MCPServer. - feature-flags.md names (
features.sandbox, ...) don't match the canonical flags inkagenti/backend/app/core/config.py(kagenti_feature_flag_*). - Aspirational infra:
rosso-systemnamespace,ghcr.io/rosso/*charts,kind-rossocontext. Several pages still carry visible "confirm against repo" author notes.
A user following installation.md / quickstart.md today cannot actually install or use the product.
Second, divergent source of truth
docs-temp/ shadows much of the existing docs/ tree (installation ↔ docs/install.md, architecture ↔ docs/architecture/, sandbox ↔ docs/sandbox-guide.md, security ↔ docs/identity-guide.md+docs/authbridge/, etc.), but uses the aspirational rossoctl interface while docs/ uses the real kagenti/scripts interface — so the two trees contradict each other. There's no stated reconcile/deprecation plan, and the docs-temp name reads as throwaway for something meant to be canonical.
Rebrand timing
The Kagenti→Rosso rebrand is real in intent (already present in some docs/access-control/* prose) but not shipped in code. Publishing rossoctl / rossoctl.dev / rosso-system as current is a deliberate comms decision that's worth making intentionally rather than as a side effect of a "scaffold" merge.
Suggested paths forward (either works)
- Fix the high-traffic pages (installation, quickstart, feature-flags, api-and-crds) against the real codebase before they can sync live; or
- Land the scaffold but keep it clearly marked draft / not-yet-synced until
rossoctland the rename actually ship.
Notes
- CI: the only red check is "AuthBridge Weather (advanced) E2E", which a docs-only PR cannot affect — pre-existing e2e flake. All lint/security/chart/backend checks pass.
- Supply-chain: no
.claude//.vscode/changes. Commit is signed-off. Author is a maintainer (MEMBER).
Assisted-By: Claude Code
| branches: [main] | ||
| paths: | ||
| - "docs-temp/**" | ||
| - "CONTRIBUTING.md" |
There was a problem hiding this comment.
Workflow itself is well-scoped (contents: read, token guard, timeout, no unpinned actions). Two big-picture points on what it wires up: (a) docs-temp/ becomes the permanent canonical website source — the "temp" name will stick and mislead future contributors. (b) It stands up a second source of truth next to the existing docs/ tree with no stated reconcile/deprecation plan. Suggest a follow-up issue to converge the two (or clarify which is authoritative) and to pick a non-temp path name.
| @@ -0,0 +1,60 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): the primary install path here is a rossoctl CLI (brew install rossoctl, rossoctl install --local) that does not exist in the codebase — the real path is the bash scripts under .github/scripts/local-setup/ (kind-full-test.sh, show-services.sh). An installation page users can't follow shouldn't be the site's getting-started content. The same aspirational rossoctl interface runs through quickstart.md and the guides.
| @@ -0,0 +1,48 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): CRD examples use API group rossoctl.dev/v1 and kinds like ToolAccessPolicy / MCPServerRegistration that don't exist. Real group is agent.kagenti.dev/v1alpha1; real kinds are Agent, AgentRuntime, Sandbox, MCPServer. Users copying these manifests will hit errors.
| @@ -0,0 +1,41 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): flag names (features.sandbox, features.skills, ...) don't match the real flags in kagenti/backend/app/core/config.py (kagenti_feature_flag_*), and several real flags are omitted. Per CLAUDE.md this file is the canonical flag mechanism — the reference page should mirror it.
Signed-off-by: Ed Snible <[email protected]>
mrsabath
left a comment
There was a problem hiding this comment.
The docs-sync mechanism is solid — the docs-temp-dispatch.yaml workflow is well-scoped (contents: read, token-presence guard, timeout-minutes: 5, no unpinned third-party actions). The blocker is content accuracy: docs-temp/ renders as the live public "Docs" section of the rossoctl website (via rossoctl/.github#88), but the pages document an unshipped product as if it were current. A first-time user following installation.md / quickstart.md today cannot install or use the product.
This reinforces @pdettori's earlier review — I verified the findings independently against main.
Blocking (must-fix):
installation.md/quickstart.mdlead with arossoctlCLI that doesn't exist — real path is.github/scripts/local-setup/*.sh.api-and-crds.mduses a non-existent API group (rossoctl.dev/v1) and kinds — real group isagent.kagenti.dev/v1alpha1.feature-flags.mdnames don't match the canonicalkagenti_feature_flag_*flags inkagenti/backend/app/core/config.py.
Non-blocking (suggestions): the docs-temp/ name will become permanently canonical (rename before it's a public build source); and the :::note For contributors scaffolding notes ship to the live site.
A good alternative to reworking all content now: gate docs-temp/ as clearly-marked draft/preview until it's reconciled with the shipped product, then flip it live.
Note: chart-tests CI is red, but it's an unrelated ghcr.io/rossoctl/operator 403 (rebrand registry access), not caused by this PR.
Areas reviewed: GitHub Actions workflow (security), Docs (content accuracy vs codebase), CI. Commits: 3, signed-off (2 content commits; 1 merge commit exempt). CI: chart-tests failing (unrelated/environmental); others passing or pending.
| @@ -0,0 +1,60 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): this leads with a rossoctl CLI (brew install rossoctl, rossoctl install --local) that does not exist in the repository. The real install path is the bash scripts under .github/scripts/local-setup/ (e.g. kind-full-test.sh, deploy-rossoctl-operator.sh). As written, a new user following this page — on the live public site — cannot install the product. The same applies to quickstart.md and deploy-your-first-agent.md.
| @@ -0,0 +1,48 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): the CRD YAML uses API group rossoctl.dev/v1 and kinds like ToolAccessPolicy / MCPServerRegistration that don't exist. The real group is agent.kagenti.dev/v1alpha1; real kinds are Agent, AgentRuntime, Sandbox, MCPServer. Copy-pasted examples will fail to apply. Some pages already carry "For contributors" notes acknowledging the real group — the rendered YAML should match today's reality (and can note the rossoctl.dev target as future).
| @@ -0,0 +1,41 @@ | |||
| --- | |||
There was a problem hiding this comment.
must-fix (content accuracy): the flag names here (features.sandbox, features.skills, ...) don't match the canonical flags in kagenti/backend/app/core/config.py (kagenti_feature_flag_*), and several real flags are omitted. This is a reference page, so accuracy matters most here.
| branches: [main] | ||
| paths: | ||
| - "docs-temp/**" | ||
| - "CONTRIBUTING.md" |
There was a problem hiding this comment.
suggestion (not blocking): the workflow itself is well-scoped and needs no change. One forward-looking point: merging this makes docs-temp/ the permanent canonical website source, so the "temp" name will stick and mislead. Consider renaming to docs-site/ (or similar) before it's wired into a public build.
| @@ -0,0 +1,57 @@ | |||
| --- | |||
There was a problem hiding this comment.
suggestion (not blocking): there are 10+ :::note For contributors author-scaffolding notes across these pages that will render on the live public site. Consider stripping them at publish time or moving them out of rendered content — to an end user they read as internal TODOs.
Add a red placeholder admonition to the top of every docs-temp content page, flagging it as placeholder to be replaced, edited, or deleted by the content owners. Takes the reviewer's suggested path of gating docs-temp as clearly-marked draft/preview until it is reconciled with the shipped product. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
|
Cross-repo coordination heads-up (surfaced while reviewing the website side, rossoctl/.github#88): The website PR was just updated to rename its docs source To keep them in sync, this PR would need:
Not blocking on the website side (its cron fallback still works), but worth aligning here since the fix lives in this repo. |
Dismissing the blocking verdict: this PR is intentionally kept in Draft as WIP, so the content-accuracy findings are tracking items to address before it's marked ready — not merge blockers. The inline comments (nonexistent rossoctl CLI, rossoctl.dev/v1 CRDs, feature-flag names) still stand as things to reconcile against the shipped product before publishing. Mechanism (dispatch workflow) remains sound.
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this PR is still relevant, please comment or remove the stale label. |
This PR should merge before: rossoctl/.github#88
Add docs-temp/ as the source-of-truth documentation set the rossoctl website (kagenti/.github) syncs and renders as its Docs section. This is a best-practice scaffold with fleshed starter content the team can edit and extend:
Introduction, Getting Started, Concepts, Guides, Security & Identity,
Deployment, Operations, Observability, Reference, Troubleshooting, FAQ.
Pages use Docusaurus admonitions, code samples, Mermaid, and generated-index card sections, and carry "For contributors" notes pointing at the source docs to expand from. Naming follows the rossoctl/Rosso rebrand target.
Add .github/workflows/docs-temp-dispatch.yaml: on pushes to main that touch docs-temp/, fire a repository_dispatch (docs-temp-updated) at kagenti/.github so the site rebuilds and redeploys. Requires a SITE_DISPATCH_TOKEN secret.
Assisted-By: Claude (Anthropic AI) [email protected]
Summary
Related issue(s)
(Optional) Testing Instructions
Fixes #