Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
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.
102 lines
5.2 KiB
Markdown
102 lines
5.2 KiB
Markdown
# 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 `b0ade459` on `origin/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 existing `brand_agent` suite still green (127 passed, 1 skipped).
|
|
* 4 new frontend tests pass (`apps/web/src/features/brand-agent/growth-view.test.tsx`);
|
|
`tsc --noEmit` and the existing `brand-agent.test.tsx` suite (11 tests) are clean.
|
|
* Migration `b4f6a8c0e2d5_growth_tasks.py` is the sole alembic head
|
|
(`alembic.script.ScriptDirectory.get_heads()` confirms one head), additive
|
|
and idempotent, verified against sqlite in `test_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
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
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
|
|
|
|
1. `curl https://<menivor-host>/api/v1/agent/growth-tasks` (signed in) returns `{"tasks": []}`.
|
|
2. 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.
|
|
3. `docker compose -p menivor logs beat --tail 50 | grep growth_tasks` shows
|
|
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 is `box`, 130.61.180.42) is `RUNNING`,
|
|
`VM.Standard.A1.Flex`. Not stopped, not terminated.
|
|
* The subnet's security list **allows** ingress TCP/22 from `0.0.0.0/0` —
|
|
confirmed via `VirtualNetworkClient.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 Command` shows
|
|
`RUNNING` in `PluginClient.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 in `ACCEPTED` for 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.
|