Skip to content

[codex] add terminal goal dispatcher#71

Merged
FlowmemoryAI merged 1 commit into
mainfrom
hq/terminal-dispatch
May 18, 2026
Merged

[codex] add terminal goal dispatcher#71
FlowmemoryAI merged 1 commit into
mainfrom
hq/terminal-dispatch

Conversation

@FlowmemoryAI
Copy link
Copy Markdown
Owner

@FlowmemoryAI FlowmemoryAI commented May 13, 2026

Summary

  • Adds infra/scripts/send-goal-to-agent.ps1, a Windows dispatcher for sending one-line /goal commands into visible FlowMemory Codex terminal windows.
  • The script writes the full goal to E:\FlowMemory\agent-dispatch\<agent>-goal.md, then pastes a short /goal Read ... command into the selected terminal.
  • Supports -List, -DryRun, and -NoEnter for safer operation.

Scope

  • Allowed folders: infra/scripts/
  • Forbidden folders: product implementation folders
  • Recommended agent/worktree: HQ / E:\FlowMemory\flowmemory-review
  • Risk level: Medium, because it uses Windows foreground window and clipboard automation.

Checks

  • PowerShell parser syntax check
  • -List verified visible FlowMemory windows
  • -DryRun verified hardware window targeting without paste
  • git diff --check

Risk And Follow-Ups

  • This is UI automation, so target windows must be visible and uniquely named.
  • It overwrites the Windows clipboard with the one-line dispatch prompt.
  • It cannot verify that the agent completed work; use GitHub PRs/issues and status-report.ps1 for that.

HQ Required Review Metadata (2026-05-14)

Issue status: HQ dispatcher follow-up; may be superseded by merged #98 launcher
Worktree / branch ownership: HQ/review
Allowed folders: infra/scripts/send-goal-to-agent.ps1
Forbidden folders: docs/, crates/, services/, crypto/, contracts/, apps/dashboard/, hardware/, package.json unless separately scoped
Exact checks recorded:

  • Existing PR body recorded checks; GitHub CI checks listed below.
  • GitHub CI Repository hygiene: SUCCESS
  • GitHub CI Contracts: SUCCESS
  • GitHub CI Services and launch core: SUCCESS
  • GitHub CI Launch-core acceptance command: SUCCESS
  • GitHub CI Crypto: SUCCESS
  • GitHub CI Dashboard: SUCCESS
  • GitHub CI Local devnet: SUCCESS
  • GitHub CI Hardware POC: SUCCESS
    HQ readiness: Draft; merge state CLEAN; close if superseded by [hq] add full L1 agent goal launcher #98 or document relationship before merge.

@FlowmemoryAI
Copy link
Copy Markdown
Owner Author

HQ review note, 2026-05-13: PR #98 has merged the full-L1 agent launcher, so this terminal dispatcher should only merge if it remains a distinct helper rather than a competing dispatch path. Merge order: after the HQ integration/status PR refreshes the issue map, or close this draft if #98 fully supersedes it. Scope is currently limited to infra/scripts and does not touch product implementation folders.

@FlowmemoryAI FlowmemoryAI marked this pull request as ready for review May 18, 2026 16:24
@FlowmemoryAI FlowmemoryAI merged commit f3cc8a3 into main May 18, 2026
8 checks passed
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.

1 participant