Handbook
Verification — process-first Versona install (local / manual primary)
Goal: Confirm that Cursor rules, optional Skills / tasklets / recipes, and artifact paths match blueprints expectations after setup or submodule bump.
1. Tooling prerequisites
- Python 3 on the PATH.
- PyYAML for
check:pip install pyyaml(or distro package).
2. Cursor rules: check, status, diff
From the consuming repository root (with blueprints/ and forge/forge.config.yaml), using the same --preset (and --with-*) flags you rely on in practice:
# Expected Versona files from YAML exist on disk
bash blueprints/sdlc/methodologies/forge/setup/sync-forge-cursor-rules.sh check
# Per-file: missing / drift / ok (exit 1 if any problem)
bash blueprints/sdlc/methodologies/forge/setup/sync-forge-cursor-rules.sh status --preset recommended
# Aggregate SHA diff vs blueprints templates
bash blueprints/sdlc/methodologies/forge/setup/sync-forge-cursor-rules.sh diff --preset recommended
Pass criteria: check exits 0. status exits 0 (no missing files, no SHA mismatch for the job list). diff exits 0 when clean.
After a clean sync, expect .forge/cursor-rules-manifest.json with per-rule source_sha256 / installed_sha256 and blueprints_commit when blueprints/ is a git checkout.
Optional: … sync --preset recommended --write-adoption-manifest writes .forge/versona-adoption-manifest.json (pointers only; not verified by diff). See Forge `forge.config.yaml` ↔ `.cursor/rules/` alignment § Manifest split.
3. Scaffold sanity
After forge-init.sh:
forge/forge.config.yamlexists.forge-logs/andforge-logs/versona-track/exist (placeholders for optional ledger / graph per Versona operating model — process-first layout, artifacts, and tooling split).
4. End-to-end example (one request → evidence → diagram hook)
This is a realistic manual trace; filenames are illustrative. Adjust session-id and actor to your convention.
-
Intake — User request: “Review API story X for security and testing gaps before build.”
Optional (enriched): append one line toforge-logs/versona-track/request-ledger.jsonlper../schemas/request-ledger-entry.schema.json. -
Routing — Invoke
versona-all(orforge-versona) so the model proposes Security + Testing (and Software Engineering if needed). Installed rules come fromsync --preset recommended. -
Sessions — Open folders:
forge-logs/versona/security/sec-2026-0411-api-x/-
forge-logs/versona/testing/tst-2026-0411-api-x/
AddSESSION.md; optionalsession.manifest.jsonlinkingwork_item_refsto the story / Spark. -
Events (optional) — Append
graph-analytics.jsonllines underforge-logs/versona-track/when analytics is enabled (../schemas/graph-analytics-record.schema.json). -
Artifacts — Each Versona writes §5-style output under
outputs/(e.g.section5-security.md,section5-testing.md) per Versona artifact contracts — canonical storage and formats. If chaining, addoutputs/handoff.jsonfor the next Versona. -
Evidence — Assemble or link materials under
forge/evidence/api-x-preflight/(team-definedpack-id). Use Skill / recipe stubs as needed:versona-evidence-pack-assemble(Template recipe: `versona-evidence-pack-assemble`). -
Kitchen-sink–compatible diagram — Under the session,
diagrams/: store diagram IR (e.g.threat-context.diagram.json) and optionally rendered SVG. Register files inartifact-manifest.jsonwithdiagram_ir/diagram_renderedper Versona operating model — process-first layout, artifacts, and tooling split §5. For headless export wiring, copyversona-kitchensink-diagram-exportfrom Template recipe: `versona-kitchensink-diagram-export` intoagents/recipes/and alignrun.shwith yourforgesdlc-kitchensinkor site generator.
Done when: Routing ran the right Versonas, session outputs/ exist, evidence pack is coherent, and diagram artifacts are registered (or explicitly skipped by team policy).
5. Optional: Cloud Agent / automation follow-up
The primary story above is local Cursor + git-tracked files. For CI or Cloud Agent runners:
- Reuse the same
check/status/diffcommands in a job after submodule checkout. - Mount the repo so
blueprints/resolves like a developer machine; gate merges oncheck+statusfor the chosen preset. - Keep secrets (tokens, GRC URLs) out of
versona-adoption-manifest.json; that file is documentation-shaped, not a vault. - Recipes under
agents/recipes/are the natural place to scriptrun.shinvocations; see Agents blueprint — structure & layers.
Do not require Cloud Agent adoption for teams that only use local Cursor; treat automation as additive.