Files
portal/runs/contractor-planned-2026-09-24/r2/site/aggregates.yaml
T
Bendik Aagaard LynghaugandClaude Fable 5.1 4d22f4cb44 plan: a spectator role goes back to the model once; bare-word movers and unlabelled groups parse
Re-planning the contractor showed three wasted rounds: `moves_by: {
checking: submitter }` written as a bare word, a group without a
label, and the two featured owner roles left with nothing to play,
which the builder only warned about after the fact. The bare word and
the missing label now parse (a label defaults to the id), and a plan
that parses with spectator roles is sent back once with the finding;
on the contractor, round three fixed both.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 06:42:05 +02:00

128 lines
3.2 KiB
YAML

aggregates:
- bucket: enquiries
initial: open
states:
lost:
event: lost
mail:
body: Thanks for the chance to look at this - not one we're able to take on. If plans change or you want a second opinion down the line, get in touch.
subject: Not one we can take on this time
to: submitter
open:
event: received
mail:
body: We've had your enquiry land. A project manager will come back to you shortly about a visit.
subject: Got your enquiry
to: submitter
quoted:
event: quoted
surveyed:
event: surveyed
won:
event: won
mail:
body: Good news - we're going ahead with your job. Your project manager will be in touch about next steps.
subject: You're booked in
to: submitter
transitions:
open:
- surveyed
- quoted
- won
- lost
quoted:
- won
- lost
surveyed:
- quoted
- won
- lost
- bucket: job_applications
initial: open
states:
declined:
event: declined
mail:
body: Thanks for applying - we've filled the position for now. We'll keep your details on file if that changes.
subject: No opening right now
to: submitter
hired:
event: hired
mail:
body: Welcome aboard - we'd like to bring you on. We'll be in touch about start dates and paperwork.
subject: Welcome to the team
to: submitter
interviewing:
event: interviewing
open:
event: received
mail:
body: Thanks for reaching out about work with us. We'll look over what you've sent and get back to you.
subject: Got your application
to: submitter
transitions:
interviewing:
- hired
- declined
open:
- interviewing
- hired
- declined
- bucket: site_issues
initial: open
states:
action_decided:
event: action_decided
closed:
event: closed
open:
event: received
transitions:
action_decided:
- closed
open:
- action_decided
- bucket: subcontractors
initial: open
states:
approved:
event: approved
mail:
body: You're on our list of subcontractors now. We'll be in touch when a job comes up that fits.
subject: You're on our list
to: submitter
checking:
event: checking
declined:
event: declined
mail:
body: Thanks for applying - we won't be adding you to our list at this time.
subject: Not adding you to our list
to: submitter
open:
event: received
mail:
body: |-
We've had your application to become a subcontractor. We'll look it over and be in touch.
What you can do next: {site}/decide/subcontractor-application?chain={chain}&email={email}
subject: Got your application
to: submitter
papers_requested:
event: papers_requested
mail:
body: We need a few papers from you before we can approve you - see the link below for what's missing.
subject: We need some paperwork from you
to: submitter
transitions:
checking:
- papers_requested
- approved
- declined
open:
- checking
- declined
papers_requested:
- approved
- declined