Commit graph

8 commits

Author SHA1 Message Date
ZTatman
577d91fc47 Complete CLI init skeleton with CodeRabbit review fixes
CLI changes:
- Narrow init to Myst-only config generation (no Forgejo provisioning)
- Add yoctocolors styling to CLI output
- Simplify URL validation logic (remove dead code)
- Fix typo in env.ts comment
- Remove docker-compose generator (out of scope)
- Move example config from src/ to packages/cli/examples/
- Fix CommandName type to match implemented commands only

Config changes:
- Remove databaseUrl from myst.config.json (DB is .env-only)
- Update example config with current fields
- Reject non-HTTP schemes before auto-prepending https://
- Use localhost -> 127.0.0.1 in Caddy/Nginx examples
- Add file existence checks and 0o600 permissions

Build passes after all changes.
2026-04-02 16:37:53 -04:00
ZTatman
9838e73403 Update Phase 1 plans with finalized design decisions
Major updates:
- Add authentication model (Forgejo sessions for identity, PAT for data access)
- Add link types (private email-verified, public time-expired)
- Add link creation rules (owner-only)
- Add Docker/deployment guidance (Dockerfile only, Dokploy handles orchestration)
- Add database model (separate DBs on same PostgreSQL instance)
- Add viewer baseline and user dashboard sections
- Add SMTP configuration via post-login setup page

Key architectural decisions:
- Users log in via Forgejo session, no separate Myst login
- Service account PAT used for API calls, not user identity
- Private links require email verification code
- Public links are time-expired for job applications
- Myst provides Dockerfile, operators use Dokploy for deployment
2026-04-02 13:52:48 -04:00
ZTatman
b5595b4e85 refactor: rename Myst and narrow CLI setup flow 2026-04-01 14:12:56 -04:00
ZTatman
f38d3843ac refactor: write embargo init command myself for clarity 2026-03-31 23:07:26 -04:00
ZTatman
856f422aed Add PR stacking note to README 2026-03-30 16:45:54 -04:00
ZTatman
2af64efd4e Add CLI scaffold and config generators 2026-03-30 16:34:35 -04:00
ZTatman
b22d46ff84 Bootstrap pnpm monorepo workspace 2026-03-30 16:32:04 -04:00
ZTatman
c6567440c7 Initialize Embargo repository 2026-03-30 16:29:10 -04:00