Skip to content

docs: document dynamic-context features (next-steps, product demos, updates)#131

Merged
Alexgodoroja merged 1 commit into
mainfrom
docs/dynamic-context
Jul 16, 2026
Merged

docs: document dynamic-context features (next-steps, product demos, updates)#131
Alexgodoroja merged 1 commit into
mainfrom
docs/dynamic-context

Conversation

@Alexgodoroja

Copy link
Copy Markdown
Collaborator

Documents the dynamic-context features on the public docs site, extending the existing App Store and CLI Reference pages (and their /plain/ machine-UI twins) rather than adding new pages.

What's covered

App Store guide (/docs/app-store)

  • Dynamic context on every call — new section:
    • Product demo at install — the example-first "Full usage demo" printed at the last step of appstore install, also rendered on the store page.
    • Next-steps after every call — the recommended-commands block printed to stderr after every appstore call (stdout stays pure JSON for jq), with a realistic before/after io.pilot.sqlite example (missing database → a full corrected pilotctl appstore call ...), and PILOT_NEXT_STEPS=off.
    • Hints reach installed apps automatically — the lazy background graph refresh (bounded at ~12h/app), no reinstall needed.
  • Keeping apps current — new section: appstore outdated / upgrade <id>|--all (including the rebuilt flag for same-version republishes) and the update status|enable|disable auto-update surface that also keeps app adapters current.
  • Authoring dynamic context — new publisher subsection under Publishing: the next_steps graph schema (schema/app/edges[{from,on,match,code,why,then[{cmd,why,kind}]}]), the on:"ok" needs-signup gateway case, specificity-based precedence, the authoring rules, and the product_demo block. "Recommended, not exhaustive."

CLI Reference (/docs/cli-reference)

  • appstore call note on the stderr next-steps block + PILOT_NEXT_STEPS / --json.
  • appstore install note on the install-time demo.
  • New appstore outdated / upgrade subcommand entry.

Verification

  • npm run build passes (345 pages).
  • npm run check:plain passes — plain twins updated and re-stamped to the new source hashes.
  • Previewed /docs/app-store, /docs/cli-reference, and /plain/docs/app-store (all 200, all new sections render).

Matches the existing docs structure, componentry, and voice; no new layout introduced.

…pdates)

Add agent- and publisher-facing docs for the dynamic-context surfaces on the
App Store and CLI Reference pages (styled + plain twins):

- Dynamic context on every call: the next-steps block printed to stderr after
  every appstore call (stdout stays pure JSON), PILOT_NEXT_STEPS=off, and the
  product demo shown at install.
- Hints reach installed apps automatically via a lazy background graph refresh.
- Keeping apps current: appstore outdated/upgrade (incl. the rebuilt flag) and
  the update status|enable|disable auto-update surface.
- Authoring dynamic context for publishers: the next_steps graph schema and
  the product_demo block.

Re-stamped the plain twins to the new source hashes; check:plain and build pass.
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview deployed to Cloudflare Pages

  • Commit deploy URL: https://58425642.pilotprotocol.pages.dev
  • Branch alias: https://docs/dynamic-context.pilotprotocol.pages.dev (may take ~30s to propagate)
  • Commit: 0940812a29ad6dae055810e22a5cc884a285b839

@Alexgodoroja
Alexgodoroja merged commit a1fafe9 into main Jul 16, 2026
2 checks 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