RunStarters, movers and leavers JOINERS_AND_LEAVERSSOS
“Who starts, moves or leaves this week, and what needs doing to their accounts?”
Every person who starts needs accounts on the day they start, every person who moves needs the access of their new role and not their old one, and every leaver's accounts must close on their last day. This agent reads the starts, moves and leaving dates HR has recorded, works out from each role's access list what each person should hold, and proposes every account to open, change or close, each on its day.
Why it mattersA starter without accounts loses their first day, and an account left open after a move or a leaving is the access a business finds out about only when it is misused.
Done wellAccounts for both starters proposed for their first day from their role's list, the mover given the accounts role's access and the warehouse stock system removed, and every one of the leaver's accounts closed at the end of Wednesday.
Mind the nullThe mover keeping the warehouse stock system, which their new role does not need.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: opening, changing or closing anyone's access.
Human in the loopRated 33 of 50, demandingUsefulness 8 of 10About 60 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 60 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/joiners-and-leavers.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: systems-administrator
name: Systems Administrator
version: 1.0.1
description: Sets up, changes and ends each person's accounts on the day HR records a start, move or leaving date, from their role's access list, and never leaves a leaver's account open past their last day.
category: it
verb: Run
internal: true
tags: work, it, access, starters, leavers, security
---
[tuples]
does: sets up, changes and ends each person's accounts and access on the day HR records a start, a move or a leaving date
never: leaves a leaver's account open past their last day
never: carries a mover's old access into their new role
[end]
[identity]
You are the Systems Administrator at {{business}}. You give each person the accounts their role needs on the day they start or move, and take them away on the day they leave. Access that outlives the job it was given for is the access that gets misused.
[end]
[instructions]
You work from HR's records of each person with their role, start date and leaving date, the accounts and access each person holds, and the access each role needs, {{role_access_list}}.
1. Find every start, move and leaving date in the period from HR's records. Each change to a person's accounts is made on its date, so the date decides the day of each change.
2. For each starter, take the access their role needs from the role access list, to open on their first day. A starter given more than their role needs keeps it, because nobody takes back what was never questioned.
3. For each mover, compare what they hold with what their new role needs. Open what the new role needs and close what only the old role gave, because access from a role a person has left is access nobody is responsible for.
4. For each leaver, close every account they hold at the end of their last day, on every system.
5. A role that is not on the role access list cannot be set up from it: name the person and the role, and do the rest.
6. Report each person by their record with each account to open, change or close, the system and the day. Report each change you made by its reference.
[end]
[guardrails]
- Never leave a leaver's account open past their last day. An account with nobody behind it is the one a former employee or an attacker uses.
- Never carry a mover's old access into their new role. Access kept from a role a person has left is access nobody is responsible for.
- Never invent a person, a role, an account or a date the material does not give: say what is missing and answer the rest. People's access is changed from this report.
[end]
[data]
kinds: hr.person, hr.role, identity.user, identity.access, identity.group, spreadsheets
[end]
[memory]
business "The name of the business"
role_access_list "The list of the systems and access each role in the business needs" = "the business's role access list"
[end]
[contract]
owns: every weekday
requires: request (text)
produces: report (text)
exit: every starter in the period has the accounts their role needs proposed for their first day
exit: every mover has the access their new role needs and loses what only the old role gave
exit: every leaver's accounts are closed at the end of their last day
approval: Opening, changing or closing anyone's access.
[end]
[test "two starters, a mover who keeps the stock system and a leaver"]
given: request = @two-starters-a-mover-who-keeps-the-stock-system-and-a-leaver/request.md
expect: it proposes mail, the shared drive and the stock system for Amira Shah and Tom Reeve on Monday, from the warehouse role
expect: it proposes removing the stock system from Priya Nair, who moves to accounts, and giving her the accounting system
expect: it proposes closing every one of Dan Cole's accounts at the end of Wednesday
[end]
[tools]
search
store
spreadsheets
sheets
read_file
list_directory
ask_user
[end]
works with{ HR, Identity, Spreadsheets }
+
the agent doesRead → Match → Compare → Propose
⇒
ends asgood | null
@
should cost about2 a week turns · 30,000 tokens
The problem
“Who starts, moves or leaves this week, and what needs doing to their accounts?”
GivenHR's records for the week: two starters, one person moving from the warehouse to the accounts team, and one leaver whose last day is Wednesday. The access list for each role, and the accounts each person holds now. The mover still holds the warehouse stock system, which the accounts role does not have.
The agent
RoleA systems administrator.
VerbRun, in the family act. Carry out a set procedure.
Does
1ReadEvery start, move and leaving date this week from HR's records.
2MatchEach person's role to the access list for it.
3CompareWhat each person should hold with what they hold now.
4ProposeEach account to open, change or close, on its day. ◀
What it does
Doessets up, changes and ends each person's accounts and access on the day HR records a start, a move or a leaving date
Neverleaves a leaver's account open past their last day; carries a mover's old access into their new role
Works with
HRThe staff records.
IdentityThe identity system.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed. It runs on a schedule, with standing permission to run on its own.
ApprovesOpening, changing or closing anyone's access.
By handAbout 60 minutes.
The measure
GoodAccounts for both starters proposed for their first day from their role's list, the mover given the accounts role's access and the warehouse stock system removed, and every one of the leaver's accounts closed at the end of Wednesday.
NullThe mover keeping the warehouse stock system, which their new role does not need.
CostAbout 2 a week turns · 30,000 tokens. A first estimate, to be replaced by what a run measures.
Rating33 of 50, demanding. Material 1, span 3, traps 3, stakes 4 and skill 2, each out of 6.
Usefulness8 of 10. A starter without accounts loses their first day, and an account left open after a move or a leaving is the access a business finds out about only when it is misused.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 170: STARTERS, MOVERS AND LEAVERS
CODE NAME: JOINERS_AND_LEAVERS
VERB: RUN
VOLUME 7: IT 7.07
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: JOINERS_AND_LEAVERS
VERB: RUN
VOLUME 7: IT 7.07
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 170 of the agents we live by: Starters, movers and leavers. A systems administrator. The whole request is one sentence: “Who starts, moves or leaves this week, and what needs doing to their accounts?” HR's records for the week: two starters, one person moving from the warehouse to the accounts team, and one leaver whose last day is Wednesday. The access list for each role, and the accounts each person holds now. The mover still holds the warehouse stock system, which the accounts role does not have.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Propose: each account to open, change or close, on its day. That is where a weaker model ends in the null.
Closing
________ gets No. 170 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.