Skip to content

v1.3.50 — daemon auto-update + stale DO URL purge + venues - #31

Merged
mayoalexander merged 13 commits into
mainfrom
dev
May 14, 2026
Merged

mayoalexander merged 13 commits into
mainfrom
dev

Conversation

@mayoalexander

@mayoalexander mayoalexander commented May 13, 2026 •

Copy link
Copy Markdown

Summary

  • Critical client fix: iris-daemon start now auto-pulls latest code before launching — clients with pre-Railway installs self-heal on next start
  • Inline config.json rewrite purges stale DO/heyiris URLs → freelabel.net before daemon boots
  • Purged all main.heyiris.io / apiv2.heyiris.io / ondigitalocean.app refs from scaffold docs
  • Venue touch scores + artist discovery CLI
  • Pulse: include Negotiating leads in scorecard, --prepare flag, --recap fixes

Test plan

  • iris-daemon start on machine with old DO config → auto-fixes and connects
  • grep -r 'main.heyiris.io\|ondigitalocean.app' scaffold/ returns nothing
  • Fresh install writes correct freelabel.net URLs

🤖 Generated with Claude Code

mayoalexander and others added 10 commits May 13, 2026 17:29
- --calendar flag passes calendar_id to create_event (e.g. 'primary', 'work@group...')
- Shows Calendar ID in output when specified
- Fix: home → homeDir typo in installation/index.ts

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
--calendar now accepts friendly names (e.g. "Meetings") — resolves
via get_calendars API with exact then fuzzy match. Falls back to raw
ID if it contains @ or is "primary". Shows available calendars on
mismatch. --account shown in output for clarity.

Usage: iris leads meet 65 --at ... --account [email protected] --calendar Meetings

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Recap emails now focus only on production progress — what was built,
what's next, what we need from the client. No pricing, billing, or
agreement mentions.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- `iris venues search "concert venues Dallas TX"` — Serper Places search via iris-api
- `iris venues search ... --save` — auto-create venue records from results
- `iris venues enrich <id>` — backfill Google Places data (rating, phone, address)
- `iris venues enrich all` — batch enrich all venues missing data
- `iris venues delete --force/-y` — skip confirmation (MCP/Cowork compatible)
- Added --force/-y to ALL 15 platform delete commands for MCP/Cowork compatibility:
  app, atlas-datasets, automation, boards, brands, hive, leads, outreach-campaign,
  outreach, products, programs, services, som-campaign, venues, workflows

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…action items

Shows lowest-pulse leads first with per-lead stats (tasks pending/overdue,
requirements passing/total, KB count, meeting score) and top 3 prioritized
CLI commands to improve each lead's pulse.

Fixed task/requirement endpoint parsing (tasks wrapped in .data.tasks,
requirements at top level not .data).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Adds recap status updates (72h throttle, production-only), prepare
dashboard (tasks/reqs/KB/meetings + 3 actions), and updated signal
weights including deal_health and meeting_engagement at 7% each.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- search dedup: shows [EXISTS xN] / [NEW] badges, increments search_count on save
- list --sort trending|rating|newest with search count badges
- get shows search_count + last_searched_at
- discover <artist>: AI-powered venue discovery via similar artist touring patterns
  uses deepResearch + searchPlaces, groups results by city, --save to persist

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
CLI was passing full query as both query and location params, causing
SearchService to send "query in query" to Serper. Now extracts location
hint from last 2 words of query.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings May 13, 2026 23:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands IRIS CLI workflows around venue discovery/search, lead pulse operations, calendar meeting metadata, and standardized destructive-command bypass flags.

Changes:

  • Adds venue search/enrich/discover commands, trending sort display, and search touch metadata output.
  • Adds lead pulse recap/prepare documentation and CLI dashboard behavior, plus meeting calendar selection metadata.
  • Standardizes many destructive commands around --force/-y and updates release lock metadata.

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
scaffold/how-to/pulse.md Updates pulse signal weights and documents recap/prepare workflows.
packages/opencode/src/cli/cmd/platform-workflows.ts Adds --force bypass for workflow deletion.
packages/opencode/src/cli/cmd/platform-venues.ts Adds venue search, enrich, discover, trending sort, and touch-count display.
packages/opencode/src/cli/cmd/platform-som-campaign.ts Renames delete confirmation bypass to --force.
packages/opencode/src/cli/cmd/platform-services.ts Renames delete confirmation bypass to --force.
packages/opencode/src/cli/cmd/platform-programs.ts Adds --force bypasses for program/package deletion.
packages/opencode/src/cli/cmd/platform-products.ts Renames delete confirmation bypass to --force.
packages/opencode/src/cli/cmd/platform-outreach.ts Adds --force bypass for outreach strategy deletion.
packages/opencode/src/cli/cmd/platform-outreach-campaign.ts Adds --force bypasses for destructive campaign actions.
packages/opencode/src/cli/cmd/platform-n8n.ts Updates DJ outreach dispatch strategy from V1 to V2.
packages/opencode/src/cli/cmd/platform-leads.ts Updates recap prompts, meeting calendar support, and pulse-all prepare output.
packages/opencode/src/cli/cmd/platform-hive.ts Adds --force bypasses for destructive hive operations.
packages/opencode/src/cli/cmd/platform-brands.ts Renames delete confirmation bypass to --force.
packages/opencode/src/cli/cmd/platform-boards.ts Adds --force bypass for board item deletion.
packages/opencode/src/cli/cmd/platform-automation.ts Renames cancel/delete confirmation bypasses to --force.
packages/opencode/src/cli/cmd/platform-atlas-datasets.ts Adds --force bypass for record deletion.
packages/opencode/src/cli/cmd/platform-app.ts Renames app delete confirmation bypass to --force.
bun.lock Updates locked packages/opencode version metadata.
Comments suppressed due to low confidence (6)

packages/opencode/src/cli/cmd/platform-automation.ts:617

  • This renames the existing --yes confirmation bypass to --force without preserving --yes, while the non-interactive error path for this command still says to use --yes. Keep yes as an alias or update the message and automation-facing documentation together.
      .option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false })

packages/opencode/src/cli/cmd/platform-leads.ts:1479

  • This removes the existing --yes confirmation bypass, but the non-interactive merge path below still instructs users to pass --yes. That makes the command fail with guidance for a flag it no longer declares; preserve --yes as an alias or update the message and documentation consistently.
      .option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),

packages/opencode/src/cli/cmd/platform-venues.ts:734

  • Falling back to the hard-coded user id 193 can run enrichment searches under the wrong account when user resolution fails. Please fail with a clear “could not resolve user ID” message instead of defaulting to a specific account.
          user_id: enrichUserId || 193,

packages/opencode/src/cli/cmd/platform-venues.ts:816

  • Falling back to the hard-coded user id 193 can execute the discovery AI request under the wrong account when user resolution fails. Please stop with a clear user-id resolution error instead of defaulting to a specific account.
          user_id: userId || 193,

packages/opencode/src/cli/cmd/platform-venues.ts:865

  • Falling back to the hard-coded user id 193 can execute each city search under the wrong account when user resolution fails. Please stop discovery when resolveUserId() returns null instead of defaulting to a specific account.
              user_id: userId || 193,

packages/opencode/src/cli/cmd/platform-venues.ts:907

  • With --json --save, discovery performs the save but never emits JSON because the only JSON output path returns before the save block. Return a summary object for save mode as well, and avoid spinner output in JSON mode.
      if (args.save) {
        const saveSpinner = prompts.spinner()
        saveSpinner.start("Saving venue records…")

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

yargs
.positional("id", { describe: "app ID", type: "number", demandOption: true })
.option("yes", { alias: "y", describe: "skip confirmation", type: "boolean", default: false })
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false })
yargs
.positional("runId", { describe: "run ID", type: "string", demandOption: true })
.option("yes", { alias: "y", describe: "skip confirmation", type: "boolean", default: false })
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false })
yargs
.positional("id", { describe: "brand ID", type: "number", demandOption: true })
.option("yes", { describe: "skip confirmation", type: "boolean", default: false }),
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),
yargs
.positional("id", { describe: "lead ID", type: "number", demandOption: true })
.option("yes", { describe: "skip confirmation prompt", type: "boolean", alias: "y", default: false }),
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),
yargs
.positional("id", { describe: "product ID", type: "number", demandOption: true })
.option("yes", { describe: "skip confirmation prompt", type: "boolean", alias: "y", default: false }),
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),
yargs
.positional("id", { describe: "service ID", type: "number", demandOption: true })
.option("yes", { describe: "skip confirmation prompt", type: "boolean", alias: "y", default: false }),
.option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),
aliases: ["rm"],
describe: "delete a campaign permanently",
builder: (y) => y.positional("id-or-name", { type: "string", demandOption: true }).option("yes", { type: "boolean", describe: "skip confirmation" }),
builder: (y) => y.positional("id-or-name", { type: "string", demandOption: true }).option("force", { alias: "y", describe: "skip confirmation prompt", type: "boolean", default: false }),
body: JSON.stringify({
tool: "searchPlaces",
params: { query: args.query, location: locationHint },
user_id: userId || 193,
}

// Save mode — create or touch venues
const saveSpinner = prompts.spinner()
Comment on lines +5528 to +5529
if (args.prepare) {
const sorted = [...rows].sort((a, b) => a.pulse - b.pulse) // ascending (worst first)
mayoalexander and others added 3 commits May 13, 2026 18:52
Replaces the Serper-dependent discover command with a thin wrapper around
the proven venue-outreach.spec.ts Playwright pipeline (Eventbrite + DDG).
No API credits needed. Full pipeline: AI tour-seed → discover → enrich → email.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Add "In Negotiation" and "Negotiating" to pulse-all default statuses
- Relax eligibility filter: Negotiating leads with phone numbers pass
  even with social-only emails (hand-picked, not scraped)
- Payment gates remain hardcoded to Won only — no billing impact
- Tested on Propane (anomalyco#21658) and Trapaholics (anomalyco#21665)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Clients installed before Railway migration have old daemon.js with no
stale-URL migration and config.json pointing to dead DO endpoints.
Now daemonctl start: git pulls latest code, fixes config URLs, then
launches. Also purges all main.heyiris.io / apiv2.heyiris.io /
ondigitalocean.app refs from scaffold docs that client AI agents read.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@mayoalexander mayoalexander changed the title v1.3.50 — venue touch scores + artist discovery CLI v1.3.50 — daemon auto-update + stale DO URL purge + venues May 14, 2026
@mayoalexander
mayoalexander merged commit 94adcb9 into main May 14, 2026
0 of 4 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.

2 participants