docs(agents): update open follow-ups to #59-#62#63
Merged
Conversation
…tection) rules - §5.10: After UI refactoring, verify all old entry points are migrated. Use sin-discover to find orphaned components. Delete legacy files in the same PR. - §5.11: Docker + Cloudflare Tunnel on macOS — check port 3000 with lsof before assuming it's free. Remap to 3100:3000, update cloudflared config. Restart tunnel. Verify with curl, expect Next.js JSON not Express. fix(proxy): add /share to PUBLIC_PATHS so shared chat links are public access
…Docker - Add postgres:16-alpine service to docker-compose with healthcheck - Add @better-auth/kysely-adapter + kysely dependencies - Wire getDb() (Kysely + PostgresDialect) in lib/db.ts - Update lib/auth/better-auth.ts to use kyselyAdapter(getPool()) - Extract isDbConfigured() to lib/is-db-configured.ts (no pg native addon dep) - Add BETTER_AUTH_URL + BETTER_AUTH_SECRET env vars - Mount scripts/better-auth-schema.sql + scripts/001_init.sql in /docker-entrypoint-initdb.d - Remap container port 3100:3000 to avoid conflict with whatsapp-bridge PARTIAL: Currently health endpoint returns 401 due to Better Auth kysely adapter issue. Reverting to native pg pool is a clean fallback. See new follow-up issue for root cause investigation.
…bopack NFT warning
Pattern: convert top-level constants using path.join(process.cwd(), ...) or
process.cwd() to lazy-getter functions (memoized). Add /*turbopackIgnore: true*/
inline comments and // @turbopack-disable-next-line before each function to
prevent Turbopack's NFT tracer from including the entire project tree.
Files fixed:
- lib/sin/orchestrator-runner.ts (cwd)
- lib/workspace/design-history.ts (dir/historyFile/redoFile/root)
- lib/audit.ts, lib/shares.ts, lib/tokens.ts, lib/workspaces.ts (DIR constant)
- lib/chat-history.ts (DIR + ROOT)
- lib/users.ts, lib/vercel/deploy.ts (paths)
- lib/storage.ts (storage base dir)
- lib/settings/store.ts, lib/settings/api-keys.ts, lib/settings/activity.ts (BASE)
- app/api/settings/mcp/route.ts, app/api/settings/workspace/route.ts (BASE)
- app/api/workspace/{design-edit,files,versions}.route.ts (ROOT)
- app/api/workspace/screenshot/route.ts, [filename]/route.ts
Add outputFileTracingExcludes in next.config.mjs for the same files and
exclude 'app/api/workspace/**' from the include map (so they don't get
auto-traced).
Also remove '.next' from .dockerignore so fresh builds are picked up by Docker.
feat(sidebar): replace single Export button with Markdown/JSON submenu
- handleExport(format: 'md' | 'json') calls real /api/chats/[id]/export API
- Downloads file as <slug>.md or <slug>.json
- Properly cleans up with URL.revokeObjectURL
… listChats - lib/auth/better-auth.ts: use getDb() (Kysely) for kyselyAdapter (not pg Pool). Use raw SQL via getPool() for the user-count query (Kysely typing was too dynamic and TS couldn't resolve the generic). - lib/storage.ts: file-based listChats() takes no args; don't pass userId. Both are needed for pnpm tsc --noEmit to pass with the new Kysely deps.
CEO Audit — Not applicableThis repository is a Node.js / TypeScript project. Recommended checks for this repo:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates AGENTS.md §9 with the new open issues after #51-#55 were closed and shipped.
Closes: (none — just a docs update)
Refs: #58 #59 #60 #61 #62