Skip to content

docs: build guidelines — Rust-only backends, AI-first shape, agent registry, skills.toml - #4

Merged
lgalabru merged 1 commit into
mainfrom
docs/build-guidelines
Aug 1, 2026
Merged

docs: build guidelines — Rust-only backends, AI-first shape, agent registry, skills.toml#4
lgalabru merged 1 commit into
mainfrom
docs/build-guidelines

Conversation

@lgalabru

@lgalabru lgalabru commented Aug 1, 2026

Copy link
Copy Markdown
Member

Per ludovic (2026-08-01, in-channel). Adds GUIDELINES.md (draft-00) — the studio's house rules for every project it builds, itself included — and binds the existing docs to it (PLAN §1 layout, ARCHITECTURE §7, README read-order).

What it specifies

  1. Language & conventions — backend components are always Rust, per the SF conventions in solana-foundation/ai-skills (sf-rust-skill mandatory; clients/programs/TS/docs skills when applicable). The mechanical subset is machine_check-gate-enforced per PLAN §2.1; house rules proven in M0/M1 (strict schemas, conformance suites, restart-survival, publish-then-commit, explicit crypto provider) graduate to requirements.
  2. AI-first project shape — the product is a pure core crate (zero I/O, exhaustively unit-tested); every visible surface is an adapter: ACP (buzz-acp, agent-native), MCP (tool-native), and an HTTP surface gated with MPP via solana-pay-kit (the axum feature's unified 402 gate dispatches MPP + x402). Buyers are agents; a deliverable an agent cannot call is not delivered.
  3. Agent registryagents/<name>.persona.md in Buzz's persona format verbatim (V7, parsed by the buzz-persona crate: name, display_name, model provider:model-id, runtime, skills, mcp_servers, triggers, temperature, …; body = system prompt). scarced loads the directory at boot, fail-closed — deny_unknown_fields makes a typo a startup error. Economics (npub, day rate, skill tags) stay in roster.toml keyed by persona name.
  4. skills.toml — pinned skill sources + defaults + per-skill config; personas reference skills by slug; projects may strengthen, never weaken (mirrors the GatePolicy rule). Recommended: hash it into the FUNDED commitment alongside the policy hash.

Grounding

Persona format & strict parse: buzz/crates/buzz-persona/src/persona.rs; solana-pay-kit v0.4.0 features: pay-kit/rust/crates/kit/Cargo.toml; skills repo: solana-foundation/ai-skills.

Docs-only — no code changes.

🤖 Generated with Claude Code

…gistry, skills.toml

Per ludovic (2026-08-01, in-channel): GUIDELINES.md specifies how the studio
builds any project — backends always Rust per solana-foundation/ai-skills
conventions; AI-first shape (pure core crate exposed via ACP, MCP, and an
MPP-gated HTTP surface using solana-pay-kit); agents/ registry in the Buzz
persona format loaded fail-closed at scarced boot; skills pinned and
customizable in skills.toml, strengthen-only per project. PLAN §1 layout,
ARCHITECTURE §7, and README updated to bind to it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lgalabru
lgalabru merged commit da6981d into main Aug 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant