Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
5.2 KiB
Growth Tasks: code complete, deploy blocked on box SSH — 2026-10-21
Code for the Growth Tasks feature (OpenMuse-ported durable multi-step agent jobs inside Brand Agent: competitor brief, SEO keyword research, launch-kit bundle) is complete, tested, committed and pushed:
- Commit
b0ade459onorigin/main(github.com/caelum0x/videogen). - 12 new backend tests + 2 migration tests pass (
tests/reelforge/ test_brand_agent_growth_tasks.py,test_brand_agent_growth_tasks_migration.py); full existingbrand_agentsuite still green (127 passed, 1 skipped). - 4 new frontend tests pass (
apps/web/src/features/brand-agent/growth-view.test.tsx);tsc --noEmitand the existingbrand-agent.test.tsxsuite (11 tests) are clean. - Migration
b4f6a8c0e2d5_growth_tasks.pyis the sole alembic head (alembic.script.ScriptDirectory.get_heads()confirms one head), additive and idempotent, verified against sqlite intest_brand_agent_growth_tasks_migration.py.
What's blocked (owner step)
Shipping to the live box needs build/ship-image.sh --host box ... (see
infra-box/build/README.md), which SSHes into box (130.61.180.42, the host
Menivor's API/worker/beat run on). That host currently refuses SSH:
$ ssh box "echo ok"
ssh: connect to host 130.61.180.42 port 22: Connection refused
Confirmed not a local network issue: ping box succeeds (77-93ms), and
railyard-box (130.61.113.116) connects fine over the same ~/.ssh/config
identity file. sshd on box itself is down, misconfigured, or the Oracle
security list changed — this needs either an Oracle Cloud console session
(serial console / instance restart) or another path that already has access,
which is the one step that needs the owner (or whichever session still holds
a live connection to that box).
Exact command to run once SSH is back
cd ~/products
build/ship-image.sh --host box --context ~/products/videogen --ref origin/main \
--dockerfile apps/api/Dockerfile --image menivor-api --image menivor-worker=worker \
--src-dir /srv/src/videogen --health http://127.0.0.1:8080/healthz
This builds the API/worker image at origin/main (includes this feature),
ships it to box, runs the migrate one-shot (applies b4f6a8c0e2d5, which
is additive-only and backward compatible — no existing column is touched),
then recreates menivor-api and menivor-worker and waits for
/healthz. menivor-beat also needs a recreate so the new growth_poll
Celery beat tick (every 2 minutes) picks up:
ssh box "cd /opt/infra-box/stacks/menivor && docker compose -p menivor --env-file /etc/products/menivor.env up -d --no-build --no-deps beat"
Rollback if anything looks wrong: build/rollback.sh --host box --image menivor-api --image menivor-worker.
How to verify after shipping
curl https://<menivor-host>/api/v1/agent/growth-tasks(signed in) returns{"tasks": []}.- In the web app, Agent -> Growth -> start "SEO keyword research" with a topic -> a task appears, steps tick to done within the 2-minute beat window even without refreshing.
docker compose -p menivor logs beat --tail 50 | grep growth_tasksshows the tick running.
No other step in this feature needs the owner; everything else (code, tests, migration, web UI, commit, push) is already done.
Follow-up diagnosis (same day, read-only via OCI API)
Checked with infra-box/oracle/.venv (has the oci SDK + ~/.oci/config
already set up for this tenancy):
- Instance
products-box(this isbox, 130.61.180.42) isRUNNING,VM.Standard.A1.Flex. Not stopped, not terminated. - The subnet's security list allows ingress TCP/22 from
0.0.0.0/0— confirmed viaVirtualNetworkClient.get_security_list. No NSG is attached to the VNIC. So this is not an OCI-level firewall/security-list change; the block is inside the guest OS (sshd crashed/misconfigured, or a guest firewall rule, or sshd listening on a different interface/port). - Tried the OCI Run Command plugin (
Compute Instance Run CommandshowsRUNNINGinPluginClient.list_instance_agent_plugins) to run a read-only diagnostic (systemctl status sshd,ss -tlnp,iptables -L,journalctl -u sshd) without needing SSH. The command was accepted (ocid1.instanceagentcommand...3fa) but stayed inACCEPTEDfor 7.5+ minutes and never ran — the Oracle Cloud Agent on the box isn't actually picking up commands either, which points to the whole cloud-agent process (not just sshd) being stuck, or the instance having an outbound connectivity problem.
This means the fix needs the OCI Console serial/VNC console (Compute ->
Instances -> products-box -> Console Connection), not just a retried SSH or
another Run Command attempt — both remote channels are unresponsive.
Suggested next step from the console: check systemctl status sshd and
systemctl status oci-cloud-agent directly, restart whichever is dead; if
the console itself is unresponsive, a reboot (Compute -> Instances ->
products-box -> Reboot) is the next option, but that takes down every
service currently on this box (Menivor API/worker/beat, and whatever else
is co-located there) for the reboot window, so it's the owner's call on
timing, not something to do unannounced.