agent build

This commit is contained in:
2026-08-28 12:21:44 +05:30
parent b6f8655909
commit f7df96c973
138 changed files with 24164 additions and 207 deletions

37
knowledge/README.md Normal file
View File

@@ -0,0 +1,37 @@
# Documents agents can read
Markdown files, one per document, ingested by:
make ingest ORG=<slug>
Each file declares who may read it in its front matter. **That declaration is
required** — §5 says a chunk without ACL metadata is rejected at ingest, and the
reason is worth stating: an empty audience is not "private", it is a row the
permission filter can never match. A document that indexed to nothing looks
ingested, reports a chunk count, and is silently unreachable forever.
```markdown
---
source: policy_docs
audience: tenant # everyone in the organization
title: Staff Handbook
---
```
`audience` accepts:
| value | who can read it |
|---|---|
| `tenant` | everyone in the organization |
| `role:admin`, `role:employer`, `role:talent` | one role (comma-separate for several) |
| `email:someone@example.com` | one person, by email |
`source` is the corpus name. An agent spec's `sources:` block names which
corpora it may retrieve from, so this is part of the permission story rather
than a label: an agent granted `policy_docs` does not thereby gain
`worker_notes`.
Re-ingesting is safe. A document whose content and audience are unchanged is a
no-op; changing either rewrites its chunks, because the chunks carry a copy of
the audience and a permission change that did not reach them would be a
permission change that did not happen.

View File

@@ -0,0 +1,30 @@
---
source: policy_docs
audience: role:admin, role:employer
title: Pay and Progression Guidance
---
# Setting the annual uplift
Managers set the annual uplift band before the review window opens. The uplift
budget for this year is capped at four percent of the wage bill across the
venue, and individual awards are expected to sit between zero and six percent.
An award above six percent needs a written case and sign-off from the regional
lead. The cap is on the total, not on any one person — funding an exceptional
award means funding it from the same pot as everyone else's.
# Promotion to supervisor
A promotion case rests on three things: sustained attendance, demonstrated
judgement under pressure, and a willingness to be accountable for other people's
shifts. Length of service is not one of them.
Candidates should have covered at least forty shifts and have no unresolved
lateness conversation in the preceding quarter.
# What not to discuss
Individual awards are confidential until communicated. Discussing another
person's band, or the reasoning behind it, outside the review panel is a
disciplinary matter.

View File

@@ -0,0 +1,48 @@
---
source: policy_docs
audience: tenant
title: Staff Handbook
---
# Attendance and lateness
Staff arriving more than ten minutes after the scheduled shift start are
recorded as late. Lateness is measured against the scheduled start, not against
when the rota was published — a rota published late does not move the clock.
Three late marks in a rolling month trigger a conversation with the venue
manager. That conversation is a discussion, not a disciplinary step.
# Time away from work
Every member of staff accrues twenty-eight days of annual leave per year,
inclusive of public holidays, pro-rated for part-time contracts. Requests go to
the venue manager at least fourteen days before the first day away. Two people
from the same role cannot be away on the same date without cover arranged in
advance.
Unpaid leave may be granted at the venue manager's discretion for circumstances
annual leave is not meant to cover.
# Breaks
A shift longer than six hours carries a thirty minute unpaid break. Shifts
longer than ten hours carry a second fifteen minute paid break. Breaks are taken
at a time agreed with the supervisor on duty, and are not taken in the final
hour of a shift.
# Calling in sick
Tell the venue manager as early as you can and at minimum two hours before the
shift starts. A shift you cannot attend is a shift somebody else has to cover,
and two hours is what makes that possible.
Self-certification covers the first seven calendar days. Beyond that a fit note
is required.
# What to wear
Front of house wear the issued shirt with black trousers and closed non-slip
shoes. Kitchen staff wear the issued whites and safety footwear. Jewellery is
limited to a plain band and single studs. Long hair is tied back everywhere on
site.