Move output to ~/ii/content-engine/ shared root#5
Open
admincoderii wants to merge 4 commits into
Open
Conversation
Decouple output from the repo so multiple repos (content-engine, social-media-poster, etc.) can read/write from the same location. - II_ROOT defaults to ~/ii/content-engine/, configurable via env var - Manifest paths now relative to II_ROOT instead of repo root - Debug screenshots, tracking, logs all write to shared root - Auth/cookies stay repo-local for security - Docker mounts II_ROOT into container at /app/output - Migrated existing schedule.json manifests to new path format Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Auth, cookies, prompts/templates, research, downloads all resolve from II_ROOT instead of the repo root - Add COOKIES_DIR, RESEARCH_DIR, DOWNLOADS_DIR exports to paths.js - Replace all hardcoded REPO_ROOT/cookies/ references with COOKIES_DIR - Remove all /Users/admin hardcoded paths from runtime code - Docker uses single II_ROOT volume mount (no separate state mounts) - Outro path resolves from II_ROOT/assets/plug.mov Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
~/ii/content-engine/instead of./output/inside the repo, enabling multiple repos to share the same content directoryII_ROOTenv var allows override; defaults to~/ii/content-engine/Test plan
node --test tests/autopost-regressions.test.js)II_ROOT,OUTPUT_DIR,VIDEOS_DIR,SCHEDULED_VIDEOS_DIRall point to~/ii/content-engine/AUTH_DIRandROOT_DIRremain repo-localoutput/prefix from paths)~/ii/content-engine/videos/~/ii/content-engine/scheduled_videos/🤖 Generated with Claude Code