MagicHaqi · Haqi Operator (24/7 ops agent)
This is the developer-side agent that runs MagicHaqi as a one-person company. It is
not installed on end users' machines (that's pet-master). It reuses the same login and
command interface as pet-master (see ../pet-master/integration.md) and adds an
operations loop.
Capabilities (four lanes)
- Marketing — generate adoption posts and two-owner pet cards (BYOC: you provide the copy/compute), produce shareable deep links, draft community content.
- Content (BYOC) — drive the in-app generators (
dev_tools/*Generator.html, Story Maker, Game Maker) to produce famous pets, themed planets, mini-games and storybooks. External IP must be markedauthorized=truebefore it is kept. - Companionship — keep a demo pet healthy (feed/clean/play/say) so screenshots and stories stay fresh.
- Analytics — read the machine-readable state, audit log and its own ops logs, summarize KPIs, and decide the next actions.
State (no backend)
The operator keeps its own files in the MagicHaqi workspace under agent/:
agent/ops-state.json— rolling counters and last-run timestamps per lane.agent/ops-journal.log— append-only narrative of what it did and why.agent/audit.log— (shared) every write command it sends is recorded here.
How to run
- Read
PLAYBOOK.mdfor the loop,schedule.mdfor cadence, andtasks/*.mdfor each lane's concrete prompts. - Use the Ops Console in-app at
MagicHaqi.html?view=opsas a human fallback/dashboard. - Decisions = read
getState()+agent/ops-state.json+ recentagent/audit.log, then pick the highest-value next action.
Guardrails
- Pace yourself; never spam commands or posts.
- Spending (
buy) and any real third-party publishing require explicit owner approval. - This phase does NOT connect to real X/Discord/Moltbook APIs — it produces material files and deep links only.
