Agentra LabsAgentra Labs DocsPublic Documentation

AgenticCodebase

Canonical Sister Kit (Agentra)

Status: Canonical (normative)

Status: Canonical (normative)
Scope: AgenticMemory, AgenticVision, AgenticCodebase, and every future sister repo

This document is the single baseline contract for all current and future sisters. New sisters inherit this spec by default and must pass guardrails before first public release.

1. Release Artifact Contract

  • Publish deterministic release artifacts per supported platform.
  • Naming format is mandatory: <project>-<version>-<os>-<arch>.tar.gz.
  • Artifact contents must match README/install claims exactly.
  • If a repo publishes multiple binaries, all required binaries must be present in the same release set.
  • Release assets must remain stable enough for installer automation (no ad-hoc filename changes).

2. Install Contract Spec

  • Canonical install surfaces are required:
    • curl -fsSL https://agentralabs.tech/install/<target> | bash (backward-compatible default; desktop profile)
    • curl -fsSL https://agentralabs.tech/install/<target>/desktop | bash
    • curl -fsSL https://agentralabs.tech/install/<target>/terminal | bash
    • curl -fsSL https://agentralabs.tech/install/<target>/server | bash
  • Installer must attempt release artifact install first; source build fallback is required.
  • MCP config behavior is merge-only, never destructive overwrite.
  • Installer must print a consistent completion block:
    • MCP client summary
    • generic MCP guidance (Codex/Cursor/Windsurf/VS Code/Cline/any MCP client)
    • quick terminal test command
  • README install docs must include an explicit standalone guarantee and preserve install parity with installer output.

3. Reusable CI Guardrails

  • Every sister must include:
    • scripts/check-install-commands.sh
    • scripts/check-canonical-sister.sh
    • .github/workflows/install-command-guardrails.yml
    • .github/workflows/canonical-sister-guardrails.yml
  • Guardrails must validate README install commands, installer output requirements, and canonical doc presence.
  • CI checks must run on both push and pull_request for relevant files.

4. README Canonical Layout

  • Section order and top structure are standardized:
    • hero image -> badges -> nav -> intro -> terminal pane
  • Remaining visuals must be distributed across sections; no stacked image blocks.
  • Required sections:
    • Install
    • Quickstart
    • How It Works
  • README install commands must match docs and website quickstart commands.

5. MCP Canonical Profile

  • MCP server keys must use stable sister-specific names.
  • Default command/args contract must be documented consistently in README and installer output.
  • Installer config merge targets must preserve existing user configuration.
  • Generic MCP guidance text must be present and client-agnostic.

6. Packaging Policy

  • Publishing channels (crates/PyPI/npm) must be declared explicitly per repo.
  • Channel expansion requires readiness gates:
    • stable public SDK surface
    • versioning policy
    • release automation and rollback path
    • support commitment
  • No symmetry-only publishing; channels must be maintained, not just opened.

7. Versioning and Release Policy

  • Semantic versioning is mandatory.
  • Git tags must follow vX.Y.Z.
  • Release notes/changelog must summarize user-facing changes and install-impact changes.
  • Rollback procedure must exist and be tested.
  • Release workflow must be green before publish.

8. Design Asset Contract

  • Asset style follows Agentra design system: neutral substrate, mono systems typography, orange signal accent.
  • Required baseline SVG set per repo:
    • hero pane
    • terminal pane
    • architecture/system pane
    • benchmark/performance pane
  • Asset filenames should be stable and predictable for README/docs references.

9. Env Var Namespace Contract

  • Sister-specific vars use sister prefix (for example, AMEM_, AVIS_, ACB_).
  • Cross-sister shared vars use AGENTRA_ prefix.
  • Env var docs must include a consistent table format:
    • variable
    • default
    • allowed values
    • effect

10. New-Sister Bootstrap

  • Canonical bootstrap + README structure now lives in web docs:
  • docs folder required for every sister (minimum baseline):
    • docs/quickstart.md
    • docs/concepts.md
    • docs/integration-guide.md
    • docs/faq.md
    • docs/benchmarks.md
    • docs/api-reference.md
    • plus at least one advanced technical page (docs/file-format.md or docs/LIMITATIONS.md)
  • web docs wiring is mandatory before release:
  • Minimum bootstrap deliverables before first release:
    • README scaffold with canonical layout
    • installer script
    • install guardrail script + workflow
    • canonical sister guardrail script + workflow
    • docs baseline listed above
  • New sister README docs must include:
    • standalone guarantee copy
    • all profile install commands (default, desktop, terminal, server)
    • optional workspace UX notes for agentra status/UI
  • A new sister is not release-ready until all above checks pass.

11. Workspace Orchestrator Contract

  • Public orchestrator behavior contract is maintained in web docs:
  • Local repo responsibility:
    • preserve standalone installability for each sister
    • keep orchestrator UX optional (never a hard runtime dependency)
  • New sister release gate:
    • canonical docs folder and web docs wiring must be validated in CI before publishing.

12. Web Docs Grouping Contract

  • Public web documentation must keep ecosystem navigation grouped and predictable:
    • Overview
    • Workspace
    • AgenticMemory
    • AgenticCodebase
    • AgenticVision
    • Feedback and Community
    • System Architecture
    • Use-Case Playbooks
  • New sister docs must stay under the sister group and must not duplicate workspace-level operations content.
  • Troubleshooting content should live inside workspace operational docs (matrix section), not as a separate top-level page.
  • Command references should stay in command-surface pages; install commands should stay in installation pages.

Change Control

Any exception requires explicit written approval in the repo and a migration note that preserves standalone installability and user-facing command stability.