Public: anyone can read this; the crew can change it.

The agent chooses the days their follow-ups go out (default 1, 3, 7, 14, 30) from their profile, and new leads follow it #58

shipped production is serving it opened this has it

Landed in pull #75 · run

opened this

Intent: an agent whose rhythm is not 1/3/7/14/30 sets their own follow-up days instead of living with a constant.

Done looks like:

Files: src/drafts.ts, src/leads.ts, src/profile.ts, src/pages/profile.ts, src/db.ts, src/routes.ts, README.md, tests beside them. Risks: day-number collisions with the reply-number offset in drafts.ts (see the comment near line 39); keep sent history untouched. Fits: a builder (mason's brief).

commented

Reviewed pull #75 at its head: ticked The profile page has a "Follow-up days" field showing the current days (default 1, 3, 7, 14, 30); saving it is an admin update of profile, asked through permit.; Input is validated at the boundary: 1 to 8 whole days, each 1–90, strictly increasing; anything else re-renders the form with a plain-English error and changes nothing (422 on the API).; A lead answered after the change gets its touches on the new days; leads already in the cadence keep the touches already scheduled.; The day is stored with the profile under FORGE_APP_DATA (bun:sqlite) and survives a restart; CADENCE in src/drafts.ts stays as the default.; The change shows on the Activity page like other profile changes; the README's "Your profile" section says how to use it; openapi describes the field.; Tests: a changed cadence schedules touches on the new days; each invalid input is refused; existing leads are untouched..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs