Skip to content

docs(khal-os): patterns + dev + release + reference — 7 pages#7

Merged
namastex888 merged 2 commits into
devfrom
docs-khal-ship-manual
Apr 17, 2026
Merged

docs(khal-os): patterns + dev + release + reference — 7 pages#7
namastex888 merged 2 commits into
devfrom
docs-khal-ship-manual

Conversation

@namastex888

Copy link
Copy Markdown
Contributor

Summary

Completes the FDE-manual ship side: reference patterns, the unified dev loop, the publish pipeline, the customer-install handoff, and the canonical reference pages.

Pages added

Patterns (the two canonical pack shapes)

  • patterns/frontend-only-pack.mdx — pack-settings as the reference; no service, no Helm, just an npm package.
  • patterns/full-stack-pack.mdx — pack-terminal as the reference; NATS-bridged frontend ↔ Bun service.

Dev loop

  • dev/local-dev-and-testing.mdx — build + watch + typecheck + test + debug, in one page (collapsed from 10 candidate pages per council verdict).

Release

  • release/publish-your-pack.mdx — the PR → merge → CI → publish flow, grounded in pack-template's actual workflows (ci.yml, ci-guards.yml, release.yml).
  • release/customer-install.mdx — intentionally thin. What the FDE hands off to the customer admin, and what is explicitly NOT the FDE's problem.

Reference

  • reference/khal-app-json-schema.mdx — manifest field reference derived from app-kit/packages/types/src/manifest.ts.
  • reference/example-packs.mdx — matrix of reference packs with what-to-learn mapping.

Authoring note

This PR was authored by hand after the docs-khal-ship team-lead did not ship a PR overnight. The wish at .genie/wishes/docs-khal-ship/WISH.md is the source spec; this PR closes that wish.

Kernel-protection guardrails (applied)

  1. No core/, platform/, brain/, deploy/ source citations.
  2. Contracts exposed, mechanisms hidden.
  3. Secrets: FDE declares, platform provides.
  4. Pack-authoring ≠ pack-deployment — customer-install is deliberately thin.
  5. NATS surface only.

Sibling PRs (same sprint)

Together: 20-page FDE manual, nav wired, starter-kit gone.

Generated with Claude Code.

- patterns/frontend-only-pack.mdx — pack-settings canonical pattern
- patterns/full-stack-pack.mdx — pack-terminal PTY+NATS canonical pattern
- dev/local-dev-and-testing.mdx — unified build/test/debug loop
- release/publish-your-pack.mdx — CI-driven npm + Docker + Helm flow
- release/customer-install.mdx — thin handoff contract for customer admins
- reference/khal-app-json-schema.mdx — manifest field reference (derived from @khal-os/types)
- reference/example-packs.mdx — matrix of reference pack repos

Kernel-protection guardrails applied throughout: no core/platform/brain/deploy
internals, contracts exposed over mechanisms, NATS surface only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@namastex888 namastex888 changed the base branch from main to dev April 17, 2026 05:22
…n frontend-only-pack

Review flagged (report at genie-docs/reports/pr-review-2026-04-17.md):
- useKhalConfig() does not exist in app-kit/packages/os-sdk — removed.
- useKhalAuth() returns {userId, orgId, role, permissions, loading}, not {user, signOut}.
- Realigned code example with actual KhalAuth interface from app-kit/packages/types/src/auth.ts.
- Noted explicitly that sign-out is a shell concern, matching sdk/useKhalAuth.mdx.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@namastex888 namastex888 merged commit 7a89af8 into dev Apr 17, 2026
2 checks passed
@namastex888 namastex888 deleted the docs-khal-ship-manual branch April 17, 2026 05:29
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.

2 participants