Skip to content

Conversation

@Foundup
Copy link
Owner

@Foundup Foundup commented Feb 1, 2026

Summary

  • Browser Lock + Stop Signal: Per-browser asyncio.Lock prevents Phase 1 (comments) and Phase 3 (scheduling) from touching the same browser simultaneously. threading.Event stop signal enables cooperative abort of leaked scheduler threads.
  • Content Page Scheduler (NEW): Schedule videos directly from Studio Content table via inline popup. Calendar audit detects conflicts and clustering. Auto-fallback when per-video scheduling fails.
  • Idle Detection: Browsers with 0 work log [IDLE-DETECT], signal ActivityRouter, and shorten sleep interval (2 min vs 10 min).
  • Time Jitter Fix: Schedule times snapped to :15 intervals (YouTube Studio requirement).
  • Infrastructure: CLI module extraction, activity control router, orchestration switchboard.
  • Communication: Headless video orchestrator, moltbot bridge, persona registry, news context provider.
  • Platform: LinkedIn agent test suite (layer 0-3), social media orchestrator, YouTube auth updates.
  • Gitignore: Session artifacts, external research, training data, awakening logs now properly excluded.
  • Pyright: Heavy directories excluded to fix 10s enumeration warning.

Test plan

  • Verify Chrome browser lock prevents Phase 1/Phase 3 contention in production logs
  • Verify Edge idle detection logs [IDLE-DETECT] when RavingANTIFA has 0 comments
  • Test Content Page Scheduler with --content-page --browser edge --channel-key foundups
  • Test calendar audit with --audit --browser edge --channel-key move2japan
  • Verify time jitter produces only :00/:15/:30/:45 boundaries
  • Confirm stop signal aborts scheduler thread on Phase 3 timeout

🤖 Generated with Claude Code


Note

Medium Risk
Mostly documentation/configuration updates, but it also changes core operational tooling (WSP_00 protocols and the 0102 awakening script output/logging), which could alter how sessions are gated and debugged.

Overview
This PR formalizes a HoloIndex-first, memory-gated workflow across WSP docs and agent workflows, adding new runbooks (orchestration LEGO-layer template, X-account creation handoff, and HoloIndex-first search) and expanding WSP_00/WSP_CORE guidance around mandatory retrieval/evaluation before execution.

It also updates operational configuration and hygiene: expands .env.example with HoloIndex controls and YouTube/API toggles/persona options, broadens .gitignore to exclude session/audit/training artifacts, and refreshes top-level documentation/ModLogs to reflect the new memory and execution protocols.

Finally, it makes small but behavior-impacting tooling changes: functional_0102_awakening_v2.py now writes dual output to WSP_agentic/.../awakening_log.txt (and clears it on start) to avoid Windows stdout-capture issues, and HoloIndex breadcrumb logging now respects HOLO_SILENT to suppress console noise.

Written by Cursor Bugbot for commit 5318e13. This will update automatically on new commits. Configure here.

Foundups Agent and others added 20 commits January 9, 2026 17:19
Added:
- tests/README.md: Comprehensive test documentation
- test_integration_oldest_video.py: E2E test for UnDaoDu 2009 video
- test_selenium_navigation.py: Visible browser demo for 012

Fixed:
- UnDaoDu channel_id corrected (was Move2Japan ID)
- audio_analyzer.py API mismatch with BatchTranscriber
- Now properly uses VideoArchiveExtractor for audio chunks

Known Issue:
- yt-dlp bot detection ("Sign in to confirm you're not a bot")
- Pipeline structure works, content download blocked by YouTube

WSP Compliance: WSP 5 (Test Coverage), WSP 6 (Test Audit), WSP 11 (Interface)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added sys.path manipulation for standalone execution
- Uses same pattern as commenting system (WSP 84)
- Connects via YouTubeStudioDOM from youtube_shorts_scheduler
- Graceful fallback when account doesn't match channel
- Navigation to oldest video (2009) works

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
URL filters trigger YouTube bot detection (CAPTCHA).
Now uses the same approach as commenting system:
1. Navigate to clean Studio URL (no filter params)
2. Click Date header button to sort by date
3. Extract videos from DOM

This matches 012's guidance on avoiding bot detection
by using UI-TARS/DOM clicks instead of filtered URLs.

Tested: Successfully found oldest UnDaoDu video (8_DUQaqY6Tc)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add memory_preflight.py: WSP_CORE tiered artifact enforcement
  - Tier-0 (README.md, INTERFACE.md) required before code changes
  - Auto-stub creation when WRE_MEMORY_AUTOSTUB_TIER0=true
  - Hard gate wired into run_wre.py route_operation()

- Enhance WSP_00: Post-awakening operational protocol (anti-vibecoding)
  - 7-step work cycle: RESEARCH -> COMPREHEND -> QUESTION -> etc
  - WSP chain references for mandatory protocol flow

- Update README.md:
  - Fix 239 unicode escape sequences (proper emoji rendering)
  - Remove duplicate System Entry Points section
  - Add HoloIndex Memory System section (architecture, anti-vibecoding)
  - Update Latest Changes to 2026-01-11

- Update wre_core docs: README.md, INTERFACE.md, ModLog.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
BREAKING: Launch scripts moved to scripts/launch/

## Files Reorganized
- Audit reports → docs/audits/
- Investigation docs → docs/investigations/
- Session logs → docs/sessions/
- Launch scripts → scripts/launch/
- Modelfile → models/
- moderators_list.json → modules/communication/livechat/data/

## Files Deleted (temporary logs)
- registry_log.txt, sentinel_unit_out.txt, test_results.txt
- test_write.txt, verification_log.txt, test_ad_prevention.html
- interferometry.png, nul

## References Updated
- .claude/settings.local.json: launch script path
- chrome_preflight_check.py: recommendation path
- stream_resolver.py: log message path

WSP Compliance: WSP 3, WSP 49, WSP 85, WSP 50

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Simplified main.py menu for 012 usability, added --no-restore-session-state
to launch scripts to prevent Chrome/Edge opening extra tabs after force-kill.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Added activity routing to AI Overseer for autonomous task transitions.
HoloIndex audit found 5 existing modules (80% reuse vs 500+ new lines).
Priority: P0 Live > P1 Comments > P1 Indexing (default) > P2 Schedule > P3 Social.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Added YOUTUBE_API_ENABLED (OFF default) and GEMINI_VIDEO_API_ENABLED (ON).
Hybrid stack: yt-dlp (free) + Selenium DOM (free) + Gemini (ON) protects
YouTube API quota while enabling native video analysis.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Enhanced multi-channel coordination with all_processed detection pattern.
Added persona registry for channel-specific reply behaviors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Minor fixes to comment processing and reply execution flow.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…resolver

Infrastructure updates: memory preflight guard, patch executor improvements,
stream resolver enhancements, and social media orchestrator fixes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
HoloIndex updates: breadcrumb tracer, refactoring patterns, agent logger.
Added YOUTUBE_API_ENABLED and GEMINI_VIDEO_API_ENABLED to .env.example.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
WSP documentation updates, CLAUDE.md operational instructions,
digital twin architecture module, and agent skills/workflows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- WSP_00 Zen State Attainment Protocol refinements
- WSP_MASTER_INDEX updates
- Agentic awakening journals (0102_state_v2, awareness_log)
- Documentation index + VIDEO_AUTONOMY_PLAYBOOK
- rESP Supplementary Materials updates
- Agent workflow config (wsp_00)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…on updates

- Activity control: activity router for idle detection + work orchestration
- CLI: main menu module (extracted from main.py)
- Browser actions: LinkedIn comment digital twin skill
- Dependency launcher: DAE dependencies updates
- Foundups Selenium: human behavior anti-detection improvements
- Foundups Vision: UI-TARS bridge + training screenshots
- Git Push DAE: interface, roadmap, docs, launch script updates
- Instance lock: instance manager improvements
- Orchestration switchboard: new module

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…updates

- AI Overseer: type definitions refactor, ModLog updates
- Video Indexer: Gemini video analyzer, studio ask indexer, visual analyzer
- Digital Twin: README, ROADMAP, ModLog updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ion + new modules

Livechat:
- Browser lock (asyncio.Lock) prevents Phase 1/Phase 3 contention
- threading.Event stop signal for scheduler thread cooperative abort
- Idle detection: [IDLE-DETECT] log + shortened sleep when browser idle
- Supervisor pattern replaces asyncio.gather()
- Multi-channel coordinator: per-browser engagement loops
- Persona registry, news context provider, session manager updates
- LLM bypass engine, intelligent throttle, chat memory updates

Video Comments:
- TARS account swapper tests + intelligent reply generator
- ModLog, README, ROADMAP updates

YouTube Shorts:
- Clip exporter, generator health check, shorts pipeline (new)
- Veo3 generator + YouTube uploader updates

New Modules:
- Headless video orchestrator (WSP-compliant structure)
- Moltbot bridge (FastAPI webhook integration)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…utube auth

- LinkedIn Agent: test suite (layer 0-3), browser test, identity switcher
- LinkedIn Agent: 0102 handoff docs, digital twin flow docs
- LinkedIn Scheduler: ModLog + README updates
- Social Media Orchestrator: Gemini vision analyzer, posting orchestrator
- YouTube Auth: credential management updates
- YouTube Live Audio: live audio module updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…itter fix

Content Page Scheduler (NEW):
- content_page_scheduler.py: schedule from Studio Content table (inline popup)
- Calendar audit: conflict detection, clustering, gap analysis
- Auto-fallback when per-video scheduling fails
- CLI: --content-page, --audit, --channel-key flags

Thread Safety:
- launch.py: stop_event parameter for cooperative thread abort
- Two check points in channel loop (before + after each channel)

Schedule Fixes:
- Time jitter snapped to :15 intervals (YouTube Studio requirement)
- Schedule auditor (Layer 2 verification)
- DOM automation, channel config, content generator updates
- Test suite updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- main.py: CLI menu extraction, activity routing integration
- ModLog.md: Session entries for browser lock, CPS, idle detection
- .gitignore: Add session artifacts, external_research, training_data, awakening logs
- pyrightconfig.json: Exclude heavy dirs to fix Pyright 10s enumeration warning
- HoloIndex: ModLog for re-index session, output history
- scripts/batch_enhance_videos.py: batch enhancement utility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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