Files
portal/runs/contractor-planned-2026-09-24/r3/site/needs.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

139 lines
3.7 KiB
YAML

needs:
- done_when:
- won
- lost
enters: /
handled_by: project_managers
id: enquiry
lands_in: enquiries
max_fields: 4
max_steps: 2
stage_words:
lost: lost
open: open
quoted: quoted
surveyed: surveyed
won: won
stages:
- open
- surveyed
- quoted
- won
- lost
success:
- won
via: Work
wants: someone to look at the building and quote the work
who: a housing board or private owner with a problem with a building
- done_when:
- approved
- turned_down
enters: /
handled_by: project_managers
id: subcontractor-application
lands_in: subcontractor_applications
max_fields: 5
max_steps: 2
stage_words:
approved: approved
checking_papers: checking papers
open: open
turned_down: turned down
stages:
- open
- checking_papers
- approved
- turned_down
success:
- approved
via: Join
wants: to be approved as a subcontractor for electrical, plumbing or scaffolding work
who: a trade firm that wants to be on the subcontractor list
- done_when:
- hired
- declined
enters: /
handled_by: project_managers
id: job-application
lands_in: job_applications
max_fields: 4
max_steps: 2
stage_words:
declined: declined
hired: hired
interview: interview
open: open
stages:
- open
- interview
- hired
- declined
success:
- hired
via: Join
wants: to be considered for a job and invited to interview
who: a carpenter or apprentice asking if we are hiring
- done_when:
- closed
enters: /crew/site-report
enters_as: crew
handled_by: safety_officer
id: site-report
lands_in: site_reports
max_fields: 3
max_steps: 1
stage_words:
closed: closed
in_progress: in progress
open: open
stages:
- open
- in_progress
- closed
success:
- closed
via: to report a hazard, near miss or wrong delivery so it gets fixed
wants: to report a hazard, near miss or wrong delivery so it gets fixed
who: crew, ours and the subcontractors' people, on site
personas:
- id: housing-board-damp
need: enquiry
text: |
I chair the board of a housing cooperative from the seventies. Two ground-floor flats have damp in the walls and we don't know if it's drainage or the facade. We need someone to tell us.
- id: buyer-before-purchase
need: enquiry
text: |
We are about to buy an old timber house. Before we sign we want a professional to go through it and tell us what is wrong with it.
- id: attic-conversion
need: enquiry
text: |
We want to turn our attic into two bedrooms and a bathroom. We need drawings and someone who handles the application to the municipality.
- id: shop-to-flat
need: enquiry
text: |
I own a former shop on the ground floor and want to make it a flat. I have no idea what is allowed. Can you sort that out and give me a price?
- id: electrician-firm
need: subcontractor-application
text: |
We are a four-person electrical firm, fully certified. We would like to get on your list so you call us when you need electricians.
- id: scaffolder
need: subcontractor-application
text: |
I run a scaffolding company. How do I get to do jobs for you?
- id: carpenter-jobseeker
need: job-application
text: |
I'm a certified carpenter with eight years on rehabilitation jobs. Are you hiring?
- id: apprentice
need: job-application
text: |
I finish vocational school this spring and need an apprenticeship as a bricklayer.
- id: loose-railing
need: site-report
text: |
The railing on the third level of the scaffold on the north side is loose. Nobody got hurt but someone will.
- id: wrong-membrane
need: site-report
text: |
The bathroom membrane delivered today is not the one in the specification. We stopped work on it.