Skip to content

Full user-facing documentation: getting started, user guide, CLI/flag reference, and whatever else this project needs #149

Description

@scttfrdmn

Why

calque now has real, live-verified capability (v0.3.0: two AI-Almanac functions running unmodified on real AWS hardware with byte-identical results vs. local reference runs; secrets injection, volume sync, multi-arg positional payloads via --arg-file/--arg-json, --function selection, --stage-file, --pip/--python-version, fleet pooling, spot/multi-region acquisition, institutional GPU sharing via MIG/MPS). None of this is discoverable by a new user without reading source or --help output flag-by-flag.

Existing docs are strong on design rationale (docs/*.md — an "index of what each design doc answers", docs/porting-modal-to-aws.md, examples/README.md, README's quick start) but there is no single onboarding path: no getting-started walkthrough for a first real (billable) run, no consolidated user guide covering the full command surface (analyze, run, smoke, real, ramp, pool, spawn-run, session) and how they relate, and no flag/CLI reference generated or maintained outside scattered --help strings in cmd/calque/main.go.

Scope (to be refined by the exploration pass below)

At minimum, this should produce:

  • Getting started: install → calque analyze on a sample script → first real (billable) run, with the exact cost/confirmation gates explained up front.
  • User guide: task-oriented walkthroughs per verb (real, ramp, pool, fleetrun/shards, spawn-run, session), including the newer primitives from this session (--secret, --item-file, --function, --arg-file/--arg-json, --stage-file, --pip/--python-version).
  • Reference: a complete, accurate CLI/flag reference (ideally generated from or checked against the actual flag.NewFlagSet definitions so it can't silently drift).
  • Anything else a project like this should have: e.g. a troubleshooting/FAQ page (reading leak reports), a "what calque does NOT do" pointer to docs/behind-the-seam-register.md, a migration checklist tying back to docs/porting-modal-to-aws.md, and a clear map of how docs/README.md's existing design-doc index relates to the new user-facing docs (design docs stay design docs; this is new, separate, user-facing material).

Ask

Run an exploration pass (agent) to:

  1. Inventory the current command surface, flags, and existing docs (README, docs/*.md, examples/README.md) to find the real gaps vs. what's already covered.
  2. Propose a concrete information architecture (what pages/files, where they live — e.g. a new docs/guide/ tree vs. flat files — and how they cross-link with the existing design-doc index).
  3. Identify anything that should be auto-generated or auto-checked (e.g. flag reference vs. flag.NewFlagSet) so docs don't silently drift from the CLI the way docs/README.md had to correct for elsewhere.
  4. Report back a plan; do not write the documentation itself in that pass.

Labels: documentation, kind:design (this issue tracks a design/planning pass first, not a direct doc-writing task).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationkind:designDesign-note issue that ships a decision, not code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions