Files
portal/runs/permits-plan-2026-09-30/site/questions/head_of_section/index.yaml
T
Bendik Aagaard LynghaugandClaude Fable 5.1 3dabcf7c58 build: one page holds every need that answers a record; runs: the kommune planned again by Opus
Two needs about the same record wrote the same page, and the last won.
The record's page now holds one form per answering need, under
words["forms"][need].

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 08:58:55 +02:00

365 lines
11 KiB
YAML

name: What needs doing?
description: Everything head of section looks after.
responsible:
name: Solveig Hauge
contact: byggesak@vestmark.example
alternatives:
- name: Appeals
description: Sent in by Anyone with an interest in a decision, the applicant or a neighbour.
action: /head_of_section
consequence:
- Confirm
features:
- name: Appeals
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: appeals
requires_group: head_of_section
transitions:
- from: under_review
to: decision_changed
label: We changed our own decision
- name: Applications
description: Sent in by A homeowner who wants a garage, an extension, a new window or another change to their property or An approved architect or engineering firm filing on behalf of an owner.
action: /head_of_section
consequence:
- Confirm
features:
- name: Applications
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: applications
requires_group: head_of_section
transitions:
- from: recommended
to: approved
label: Approved
- from: recommended
to: approved_with_conditions
label: Approved with conditions
- from: recommended
to: refused
label: Refused
- name: Approved firm requests
description: Sent in by An architect or engineering firm that wants to file applications for owners.
action: /head_of_section
consequence:
- Confirm
features:
- name: Approved firm requests
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: approved_firm_requests
requires_group: head_of_section
transitions:
- from: checked
to: listed
label: On the list
- from: checked
to: refused
label: Refused
- from: open
to: refused
label: Refused
- name: Completion certificates
description: Sent in by An approved firm whose work on a case is done.
action: /head_of_section
consequence:
- Confirm
features:
- name: Completion certificates
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: completion_certificates
requires_group: head_of_section
transitions:
- from: checked
to: issued
label: Certificate signed
- from: checked
to: refused
label: Refused
- from: open
to: refused
label: Refused
- name: Exemptions
description: Sent in by An applicant whose plans break the zoning rules.
action: /head_of_section
consequence:
- Confirm
features:
- name: Exemptions
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: exemptions
requires_group: head_of_section
transitions:
- from: county_asked
to: refused
label: Refused
- from: county_heard
to: granted
label: Granted
- from: county_heard
to: refused
label: Refused
- from: open
to: refused
label: Refused
- name: Illegal building
description: Sent in by Someone who sees something going up behind their fence without permission or The front desk, when someone rings or comes in about building without permission.
action: /head_of_section
consequence:
- Confirm
features:
- name: Illegal building
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: illegal_building
requires_group: head_of_section
transitions:
- from: explained
to: fined
label: Weekly fine running
- name: Inspections
description: Sent in by An inspector on site, writing on a phone in a cold wind.
action: /head_of_section
consequence:
- Confirm
features:
- name: Inspections
description: Each row is one case and the stage it has reached. Another desk moves these.
resource:
source:
kind: kv
bucket: inspections
requires_group: head_of_section
transitions: []
- name: Objections
description: Sent in by A neighbour who got a notice in the post and does not agree with what is planned next door.
action: /head_of_section
consequence:
- Confirm
features:
- name: Objections
description: Each row is one case and the stage it has reached. Another desk moves these.
resource:
source:
kind: kv
bucket: objections
requires_group: head_of_section
transitions: []
- name: Paper objections
description: Sent in by The front desk, when an objection comes in on paper or over the counter.
action: /head_of_section
consequence:
- Confirm
features:
- name: Paper objections
description: Each row is one case and the stage it has reached. Another desk moves these.
resource:
source:
kind: kv
bucket: paper_objections
requires_group: head_of_section
transitions: []
- name: Temporary permissions
description: Sent in by An approved firm whose client wants to move in before everything is done.
action: /head_of_section
consequence:
- Confirm
features:
- name: Temporary permissions
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: temporary_permissions
requires_group: head_of_section
transitions:
- from: checked
to: issued
label: Temporary permission signed
- from: checked
to: refused
label: Refused
- from: open
to: refused
label: Refused
- name: Invite someone into Agencies
description: They get an account, a place in Agencies, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: agencies
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Appeals board
description: They get an account, a place in Appeals board, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: appeals_board
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Approved firms
description: They get an account, a place in Approved firms, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: approved_firms
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Case officers
description: They get an account, a place in Case officers, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: case_officers
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Front desk
description: They get an account, a place in Front desk, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: front_desk
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Head of section
description: They get an account, a place in Head of section, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: head_of_section
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invite someone into Inspectors
description: They get an account, a place in Inspectors, and a one-time link to set their own password or passkey.
action: /head_of_section
consequence:
- Invite
invite:
group: inspectors
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invitations sent
description: Each invite and where it stands. A link that runs out unused can be sent again.
action: /head_of_section
consequence:
- Confirm
features:
- name: Who has been invited
description: Each row is one invitation. It is done by itself when the person signs in, and expired when the link ran out unused.
resource:
source:
kind: kv
bucket: portal_invites
requires_group: head_of_section
transitions:
- from: open
to: done
label: Is in
- from: expired
to: open
label: Send again
- from: expired
to: done
label: Is in
- name: Suggested changes to the site
description: What the people listed as responsible for a question have suggested changing. They are told each time a suggestion moves.
action: /head_of_section
consequence:
- Confirm
features:
- name: Suggestions
description: Each row is one suggestion, with the page it is about. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: portal_edit_suggestions
requires_group: head_of_section
transitions:
- from: open
to: discussed
label: We are looking at it
- from: open
to: done
label: The change is made
- from: open
to: declined
label: Will not be done
- from: discussed
to: done
label: The change is made
- from: discussed
to: declined
label: Will not be done