magpie by Circuit Forge LLC — Cross-product data gathering and collection tool (reserved)
refresh_session() was spawning post.py --login without the REDDIT_SESSION_FILE env
var, so Playwright wrote the refreshed session to the legacy session.json default
instead of sessions/alan_reddit.json. The poster then read a stale file and
failed with 'Playwright re-login failed'.
- Add os import; pass env={...os.environ, REDDIT_SESSION_FILE: str(session_file)}
to subprocess.run so post.py writes to the correct per-account path
- manage.sh status now checks sessions/alan_reddit.json (canonical) not session.json
- Replace session.json with a symlink to sessions/alan_reddit.json for legacy compat
|
||
|---|---|---|
| app | ||
| frontend | ||
| mcp | ||
| scripts | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| manage.sh | ||
| pyproject.toml | ||
| README.md | ||
magpie
magpie by Circuit Forge LLC — Cross-product data gathering and collection tool (reserved)