The Clerk and the institution pack¶
Ask the Clerk anything about your institution: who runs
an office and how to reach them, when the final exams for a course must be
printed, which holidays fall in a count of working days, what a procedure
requires next and by when, which colours and fonts a letter must use. It reads
the answer off the institution's own web pages (a web search limited to
the institution's domains, then the page itself), tells you which page and
when it read it, and says Unknown when the institution's pages do not say.
Never from memory: a language model "knows" a great deal about any
university, and some of it is years old.
The institution pack (institution/<unique_name>/) is the Clerk's
memory, not a reference it was loaded with. Nobody precomputes it. When
the Clerk looks something up, it records the question, the answer, the page
and the date in facts.yaml, and an office holder it confirmed in
directory.yaml, so the next person who asks gets the answer at once, and so
the lab can see what the Clerk has been relying on. A centre may also keep a
few things there on purpose, because they change rarely and are relied on
often: the thesis procedure with its forms and deadlines, the holidays and
term dates, the letterhead.
How it stays current. People and office holders change; a pack that never changed would be worse than none. Three mechanisms:
| When | What happens |
|---|---|
| Every answer | carries the page and the date it was read |
| A remembered fact is used | the Clerk re-reads its page first, every time by default (verify_after_days: 0; murmurent institution verify): the page still says so, and the fact is restamped; or it no longer does, and the Clerk says the page changed and looks again. The memory says where to look; the page says what is true today |
| Weekly, on the lab server | murmurent institution refresh --apply re-reads every remembered fact from its page and reports what changed; a changed fact is left for a person to settle |
A fact is older than max_fact_age_days (180) |
it is answered with its age stated |
How the Clerk answers a question¶
- Recall:
murmurent institution recall "<question>"lists what the pack remembers on it, with the pages;verifyre-reads the page now. - Search the institution's own site:
WebSearchwithallowed_domainsset to the pack's domains, thenWebFetchthe page. A question that combines a rule and a date (the printing deadline for a course's exam) is answered from the rule page and the schedule page together, withmurmurent institution datefor the arithmetic, and the answer says which part was read and which computed. - Learn:
murmurent institution learn "<question>" --answer "..." --source <url> --evidence "<a phrase on the page>"(or--officefor an office holder). The command fetches the page and refuses a fact the page does not state, so nothing enters the memory from recollection. - Answer, with the page and the date.
On a machine without a web search tool, murmurent institution lookup
"<question>" crawls two links deep from the pack's hub pages (a websites
A-Z, listed under lookup.pages in institution.yaml) and lists the pages
that mention the question.
The jobs on top¶
| Ask it | It runs | Verdict |
|---|---|---|
| "Is this letter to the Dean right?" (a document) | murmurent institution check <file> |
Correct / Fix / Unknown per office holder, email, postal code, colour and font named in the document; an office the pack lacks is looked up first |
| "25 working days before the defence" (a date) | murmurent institution date 2027-04-16 --days -25 |
the date, the weekday, and the holidays it skipped; never a holiday |
| "What is next for the thesis, and by when?" (a procedure) | murmurent institution walk thesis_examination --anchor 2027-04-16 --variant doctoral |
the steps with their forms and dates |
| "Look over my course outline" (the whole document) | murmurent institution review outline.md --level undergraduate |
an HTML report that opens with the term day by day (every date, with the outline's events, the pack's holidays and deadlines, and the cutoffs the rules imply, such as the last day a test may be scheduled), then every rule for that level (policies/*.yaml with applies_to), each dated lecture, lab and assessment against the holidays and non-instructional days, the grade weights added up, and what the outline leaves unclear; then the conscience reviews it separately, and the scribe redoes it on request |
| One policy only | murmurent institution check syllabus.md --policy course_outlines |
each rule Fix / Correct / Unknown, quoted as the institution's page words it, with source and date; a test in the last weeks of classes, a new assignment introduced too late |
Where a pack lives and which one is used¶
institution/
README.md
example/ ships with murmurent: invented facts on example.edu, a starting point and the tests' fixture
<unique_name>/ your centre's pack, named after the centre's unique_name
A centre's own pack is deployment content, like rules/local/: it holds the
names and emails of real office holders and does not go in the public release
(release/allowlist.yaml withholds institution/western/; add yours beside
it). The commands choose the pack in this order: --pack <name or folder>,
then $MURMURENT_INSTITUTION_PACK (a pack folder), then the centre's
unique_name from centre.md under institution/. $MURMURENT_INSTITUTION_ROOT
moves the whole folder. The example pack is never chosen by default.
The schema¶
institution/<unique_name>/
institution.yaml name, unique_name, domains, keeper, max_fact_age_days
directory.yaml offices: office, person, title, email, address, room, phone, note, source, date_read
calendar.yaml holidays (name, date), terms (name, start, end, evidence), deadlines (name, date, evidence)
courses.yaml fetch: a rule (url, method, fields, parser, limits); cache: one entry per course
procedures/<name>.yaml title, read_on, confirm_with, constants, steps, sources
templates/letterhead.yaml colours (name, role, hex, ...), fonts (name, role, weights), colour_rules, letterhead_templates
Rules that murmurent institution validate enforces:
- Every fact carries
source:anddate_read:. The source is a page on one of the pack'sdomains(uwo.caadmitsgrad.uwo.ca; nothing else is admitted). The date isYYYY-MM-DD. - The directory holds only what the institution publishes: office, person, title, public email, campus address, room, phone, a note. Any other field is an error. Nothing from LinkedIn, nothing inferred. The Lawyer reads this schema once before a centre's first pack is filled, because the directory holds people.
- A fact that cannot be read from such a page is left out, with a
note:on the nearest entry saying so if it matters. An absent fact makes the Clerk sayUnknown; a guessed fact makes it wrong.
A procedure's steps are ordered. Each has a title, an optional form, an
optional owner, and an optional deadline: mapping with working_days
(negative means before the anchor), relative_to (the anchor's name, such as
defence), rule (the sentence to show) and, when the lead differs by case,
by: with per-variant values (by: {doctoral: -25, masters: -15}). The
constants: block holds limits the code reads (word counts, board
composition); sources: lists the pages with their dates.
courses.yaml is a fetch rule plus a cache, not a hand-typed list, because
timetables change every term. The rule names the page, the method, the form
fields with {subject} and {number} placeholders, and a limits: paragraph
stating what the page does and does not show. The parser reads a page shaped
like Western's master timetable: a heading per course, then a table with a
header row. For Western, read on 2026-11-07, the public page gives each
section's number, component, class number, requisites, status, campus and
delivery type, and not the days, times or rooms; so the Clerk can say which
sections a course has and whether they are full, and answers Unknown to "when
does it meet", naming the timetable page. Another institution's rule states
its own limits.
Making your centre's pack¶
murmurent institution init <unique_name> --name "Your University" --domain your.edu --seed-thesis
This writes the empty files and, with --seed-thesis, a
procedures/thesis_examination.yaml from the seed built into murmurent
(Western's SGPS rules as read on 2026-11-06). Rewrite that procedure for your
graduate school, or delete it if you have none: a company's pack has offices, a
calendar, procedures and templates, and no thesis. The agent does not know the
word "Western"; a different pack is a different institution.
Then fill the files one fact at a time, from your institution's own pages,
writing the page and the date on each. murmurent institution validate says
what is missing. murmurent institution fetch-course SUBJ 1234 --apply caches
a course once the fetch rule is written.
The thesis paperwork that murmurent thesis paperwork writes
(paper_package.md) reads the pack's thesis_examination
procedure when a pack is found: the steps, the limits and the deadlines, which
then skip the pack's holidays. With no pack, it uses the seed and skips
weekends only, and says so in the file.
Keeping it: the refresh, on a schedule¶
On the lab server, under the lab service account that runs the other timers
(docs/service_account.md), a weekly user timer runs
the refresh and keeps its report:
# ~/.config/systemd/user/murmurent-institution-refresh.service
[Unit]
Description=murmurent: re-read the institution pack from its sources
[Service]
Type=oneshot
WorkingDirectory=%h/repos/murmurent
ExecStart=/bin/sh -lc 'murmurent institution refresh --apply > %h/.murmurent/institution_refresh.log 2>&1'
# ~/.config/systemd/user/murmurent-institution-refresh.timer
[Unit]
Description=murmurent: weekly institution refresh
[Timer]
OnCalendar=Mon 06:30
Persistent=true
[Install]
WantedBy=timers.target
systemctl --user enable --now murmurent-institution-refresh.timer. The
report lists every fact the page no longer confirms; those are for a person
(the bookworm, on the PI's say) to settle, and the Clerk says "the page
changed" until they do. Between refreshes, the verify-on-read rule above
catches a change the moment someone relies on the fact.
Reliability is a maintenance commitment. Office holders change; timetables change each term. Two things keep the pack honest:
- A visible date on every answer. The Clerk repeats the
date_readand, past the limit, the age. murmurent institution refresh. It re-reads every fact from its source page, inside the pack's domains only, and reports what it found: confirmed (the person's name and email, the holiday's date, the course's sections are still on the page), changed (no longer there), unreachable. It is a dry run by default. With--apply, every confirmed fact gets today'sdate_readand every cached course is re-fetched. A changed fact is reported, not rewritten: what replaced a Dean is a person's reading of the page, not a parser's. The Bookworm keeps the pack the way it keepsdocs/reporting_guidelines.md, and a lab runs the refresh on a schedule under its service account, the way the space scan runs (service_account.md); the run's report goes to the keeper, who edits the changed facts.
The fetch is urllib with a strict host rule: the page must be on one of the
pack's domains, and a redirect to another host is refused. A redirect the
institution's own site makes to plain http on its own host is followed.
Policies: the institution's rules, applied to a document¶
policies/<name>.yaml holds rules the Clerk read on the institution's pages,
each quoted as the page words it, with the page and the date read, and an
optional machine check:
rules:
- id: tests_last_3_weeks
says: Tests for one-term courses may not be scheduled during the last 3 weeks of classes in the term.
heading: Scheduling Tests
source: https://westerncalendar.uwo.ca/PolicyPages.cfm?...
date_read: '2026-11-07'
check: {kind: no_tests_in_last_weeks, weeks: 3}
Check kinds: no_tests_in_last_weeks, no_final_exam_in_last_weeks,
no_new_assignments_in_last_weeks (each with weeks),
min_weight_before_date (percent, by), and note for a rule the Clerk
applies by reading. murmurent institution learn-rule adds one; the page is
fetched and must state the quote. murmurent institution check <file>
--policy <name> finds the assessments in a syllabus (a line with a
percentage; its first date; "announced --term. What the parser cannot establish
is Unknown, never a pass.
What the Clerk may do online: public pages only¶
Read pages on the pack's domains and on no other host; search only with the results limited to those domains; put into a query the public words of the question (a course code, an office, a term) and never a sentence from a document, a project's data, or a person's details beyond their public office. What it reads goes into the pack through the commands, never into the YAML by hand (it has no Write tool), and never into an answer as an unsourced fact. The pack holds short facts with a source link and an evidence phrase, never a copy of a page: a cached page would be mirroring, which an institution's terms of use may forbid.
Two limits inside the domain rule, from the lawyer's ruling of 2026-11-07 on whether the Clerk could use a member's signed-in access to Western's internal pages (Conflict: Western's AI Tools page lists the tool for public data only; its data classification standard classes intranet pages as Sensitive and grades, rosters and HR data as Confidential; its data handling standard does not list GitHub as an approved store; MAPP 1.13 says access does not imply authorisation; the terms of use let no one use another person's account, which rules out an unattended refresh under a service account with a member's session):
deny_hostsininstitution.yaml: hosts inside the domains that are never read, whatever the domain rule admits. For Western: the learning system (owl.uwo.ca, Brightspace), HR self-service, the student information system, the exam schedule portal, the sign-on and mail hosts. The commands refuse them before any network activity;validateflags a fact whose source is on the list. The example pack carries an illustrative list so the field is documented.- Anything behind a login is refused. A fetch that redirects to a
sign-in page, answers 401 or 403, or returns a login form is refused by
learn,learn-rule,verify,refresh,fetch-courseandlookup, reported as "behind a login; the clerk reads public pages only", never retried with credentials, and never recorded.
If a centre ever wants internal access, the lawyer's condition is a
written agreement with the institution's technology service (for Western,
Western Technology Services, wts-airc@uwo.ca) or an institution-approved
tool; such facts tagged sensitive, kept in a local encrypted pack that
never syncs, and never refreshed unattended. None of that exists today, and
the Clerk does not assume it.
Sources for the Western pack¶
The Western pack (institution/western/, not in the public release) was
filled on 2026-11-07 from pages on uwo.ca and westernu.ca: the HR holiday
schedule, the Academic Calendar's sessional dates, the Provost's leadership
team page, the Western Research leadership pages, the Schulich, Science and
Health Sciences dean pages, the University Secretariat directory, the
Biochemistry staff and contacts pages, the brand site's colour, typography and
letterhead pages, and one query of the master timetable. Its README.md lists
what those pages did not give and so is not in the pack.