Data stewards¶
Intent and scope¶
The Data Director supports data stewards; it does not replace them (Blueprint §3.3). The Blueprint calls them data support professionals: "a secondary but important user group, both as direct users of the tool and as those who may configure, deploy, or provide support for it on behalf of their institution" (§2). This spec says who a data steward is in a deployment, how a matter reaches one, what a steward may see and do in a researcher's project, and how every step of that is recorded and shown to the researcher. It settles the questions of #372 and the role part of #154.
The specs use "steward" in two senses, and this spec covers both as one role:
- the person who owns the deployment's policy: the institutional profile, its action classes and what needs approval (Policy and identity). How a steward edits the profile from the app is TODO(#225); today a steward reads the profile on the Policy page and changes it through the operator (the steward's guide);
- the person who helps researchers: who receives an escalation, opens the researcher's project and acts in it.
In scope: deployment roles (researcher, steward, administrator) and where they come from; escalation; a steward's access to a project and the closed list of what a steward may do there; pause; the mandatory reviews and who makes each; a steward's overviews; who is told when an escalation moves, and sending one nobody takes to its team again; and how all of this behaves in a deployment with no stewards (C17).
Out of scope: who may edit the profile from the app (#225); the security of sign-in itself (Policy and identity); and the Blueprint's other data-support-professional uses in §4.1 that act on systems outside a project, such as managing access in a repository, which no agent performs.
The experience is designed in Steward escalation flows, and the people who do this work have a Data Steward's Guide.
What is built. The referral: the policy gate's referred(policy_requires_approval) names
referred_to: data_steward and does not run the agent (Policy and identity,
dd_harness.refusals), and the Policy page shows each step a steward must approve
(The app). Deployment roles (invariant 1). The escalation record, its routing and a
steward's queue (invariant 4). The researcher's side in the app: asking, the agents' offers, each
request's status, withdrawing, replying and re-opening, and steward messages in the conversation
(invariants 5, 10 and 11, #375). The steward path, recorded reads, the closed list of a steward's
actions, clearing or refusing a gate as a record, and pause (invariants 2, 3, 6, 7 and 8, #374).
The steward's screens (#376): the queue of requests, with the moves the harness lists for each
(permitted_moves); a project opened as its steward, under the "Viewing as a data steward"
banner, with its requests beside it and without the controls the harness refuses; writing to the
researchers, pausing and lifting a pause; clearing or refusing a referred step beside the request
it came from; proposing an edit to a document's latest version; and asking an agent, on the
conversation page in the project, under a "Working as a data steward" banner. Notifications and
sending an escalation again (invariant 13, #378): a team's email for each escalation opened, sent
again, or moved by the researcher; the researcher's "Updates" in the app's banner; and the hourly
sweep. A steward's list of the projects they may see (#232): GET /api/steward/projects and the
Projects page beside the queue, each project listed recorded as read. Team working (#1308):
reassigning a taken escalation to a colleague, transferring one to another team, and the refusal
of every steward move to a steward who is a member of the project (invariants 2, 4 and 8).
Everything else in this spec is the intended design; each invariant names the issue that builds
it.
Invariants¶
-
A person's deployment role comes from the profile. The profile's
stewardshipkey names the deployment's steward teams, and itsadministratorskey the administrators. Each team has an identifier, a name shown to researchers, its members as principal identifiers (an ORCID iD for ORCID sign-in), the labels of the projects it supports, an optional contact for when no steward can help (an address or a page, shown as given), an expected response time, and optionally the address the team is emailed at and what about (invariant 13). A principal identifier is written as recorded: for ORCID sign-in, the iD as a URL, and a bare iD is refused at load because it would name nobody. Everyone who signs in is a researcher, who may hold projects of their own; a person a team lists is also a steward, and a personadministratorslists is also an administrator, who administers the workbench and has no access to anyone's project by it. The session response names each person's roles and teams. A role never comes from an environment variable:administratorsreplaced the workbench's formerDD_WORKBENCH_ADMINSlist, and a deployed workbench runs under the instance's profile. Group or entitlement claims from an institutional identity provider may later map to a team, in the same key, TODO(#936). Like every profile key,stewardshipis refused at load unless something enforces it, and is recorded with every run throughpolicy_bundle_ref; until co-approval is built, a profile that setsdeposit_co_approval: trueis refused, TODO(#1306). Built:dd_harness.stewardship. -
A deployment role never makes anyone a member of a project (Projects, invariant 16). A steward reaches a project by a separate path beside
dd_harness.project_access.role_of, which answers "steward of this project" or nothing. Every check thatrole_ofanswers today also asks the steward path: the app'sin_project,Governance.roleand the conductor's check before a run. A person who is both a member of a project and a steward acts as a member there, and may not act as its steward (invariant 7). The app'sin_projectadmits a steward only to aGETthat reads, and a steward acts through the routes of invariant 6. Built:dd_harness.steward_access. -
A steward sees a project only while the profile's visibility allows it, and every look is recorded.
stewardship.visibilityis one of:
| Value | A steward may open a project |
|---|---|
escalated (the default) |
while it has an escalation routed to the steward's team that is open, taken or waiting for researcher, or a pause the team holds (invariant 8) |
scope |
as escalated, and also any project whose owners have chosen the steward's team as its support team, from the labels that team supports |
No value lets a steward see every project in the deployment. A project outside a steward's
visibility is refused with status 404, as for any non-member, so that the refusal does not
reveal that it exists. Each time a steward opens a project, or reads any of its content, the
harness appends a steward_viewed event naming the steward; repeated reads by the same steward
on the same day append one. The researcher sees each one in the project's log (invariant 10).
With scope and no live escalation, a steward may only read. A steward's list of the projects
they may see is these projects and no others, and listing a project is a read of it, recorded
as opening it is; a project on a page not listed is not. Built: dd_harness.steward_access,
dd_harness.steward_api.read, dd_harness.steward_projects.
- An escalation is a record in the project's log, not a store of its own. Its events are
escalation_opened,escalation_taken,escalation_released,escalation_waiting,escalation_replied,escalation_resolved,escalation_handed_back,escalation_withdrawn,escalation_reopened,escalation_reassignedandescalation_transferred, each naming whom it acted for and its cause like every project event. Its states and the moves between them are the table in Steward escalation flows; the harness refuses any other move.escalation_openedrecords its origin (the researcher; the policy gate's referral, with the invocation; an agent'sabstainedorreferredoutcome, with the invocation; or the orchestrator's offer), the team it is routed to, the researcher's note, and the scope shared as the researcher saw it when they confirmed it. A re-opened escalation keeps its history. Every later event names the escalation byescalation_id, theevent_idof itsescalation_opened, and a steward's move also recordsacting_as: steward. Each move belongs to a side: the researcher's (reply, withdraw, re-open), open to any member of the project, or the steward's (take, release, ask, resolve, hand back, reassign, transfer), open to a steward of the team it is routed to who is not a member (invariant 2). Asking the researcher, replying, resolving, handing back, re-opening and transferring each need a note.
Team working (§3.1.1: support "availability cannot be assumed"; Flow G). Any steward of the
routed team, not only the one who took it, may reassign a taken escalation to a colleague
in the same team: escalation_reassigned names the steward who had it (from_steward) and the
colleague (to_steward), who must be in the team and not a member of the project, and it stays
taken. A steward of the routed team may transfer a live escalation to another of the
profile's teams, with a note: escalation_transferred names the team it leaves (from_team)
and the team it goes to (team_id); it becomes open, nobody holds it, and the new team is
told as of a new escalation (invariant 13). The researcher reads each move, with the
colleague's or team's name, in the request's history. The harness lists the colleagues and
teams each move may name (permitted_moves[].targets), so that the shell offers only those.
Routing. An escalation goes to the project's support team, the steward team its owners
chose (support_team_chosen). With none chosen, it goes to the profile's only team; where the
profile names several, the sender picks one, and an owner's pick also becomes the project's
support team. A deployment with no team refuses it (invariant 11). The listing index that finds
a person's projects in one query (Storage) also names the team that
support_team_chosen, escalation_opened and escalation_transferred route to, by a URN no principal signs in as, so
that a team's queue is one query too. A steward reaches an escalation's record and moves
through /api/steward/escalations, and opens the project itself through the steward path
(invariant 2). Built:
dd_harness.projects.escalations, dd_harness.escalation_api, dd_harness.escalation_targets.
-
The agent offers; a person confirms. No escalation exists until a person confirms it, having seen what will be shared. An agent's
abstainedoutcome offers an escalation and never raises one. The exception is a mandatory review (invariant 9): the step is stopped whatever the researcher chooses, and the offer is how its reviewer is reached. Built: the app offers beside eachreferredorabstainedrun and in place of the orchestrator'sask-stewardquestion (Orchestration, invariant 24), and opens the escalation only from the dialog in which the researcher reads what is shared, may narrow it, and sends it. A mandatory review's dialog offers "Leave it stopped", not "Not now". After "Not now" the orchestrator does not offer again for the same matter in that conversation, which its prompt says; a run's own offer stays beside it, and the researcher may ask at any time. -
What a steward may do in a project is a closed list. Each action is checked by the harness against the steward's access (invariant 3) and recorded as an event naming the steward as whom it acted for, with
acting_as: steward:
| Action | Recorded as | Who decides the outcome |
|---|---|---|
| Read the project | steward_viewed |
— |
| Write to the researcher | steward_message, shown as from a named person, never as an agent |
— |
| Propose an edit to a document | a new proposed version, marked acting_as: steward (ProjectStore.propose_edit) |
the project's owners approve or reject it (Projects, invariants 11 to 14) |
| Run an agent in the project | a run acting for the steward, with the project as context; its drafts land as proposed versions |
the project's owners |
| Clear or refuse a gated action | gate_cleared or gate_refused, naming the referred invocation and a reason |
the steward (a §5.1 policy exception) |
| Pause the project, or lift a pause | project_paused, project_resumed, each with a reason |
the steward's team (invariant 8) |
| Note on a deposit review item; co-approve a deposit | steward_note; deposit_co_approved |
the researcher approves the deposit (invariant 7) |
| Take, release, ask, resolve, hand back, reassign or transfer an escalation | the escalation events (invariant 4), resolving, handing back and transferring with a note | — |
A steward cannot decide a project fact, approve or reject a version, approve a deposit, change
membership, or delete or restore a project. A researcher cannot do any of the steward's
actions, by any route. Reading is open to every steward who reaches the project; lifting a
pause to its team; a note to the researcher while a matter is escalated or a pause held; every
other action while a matter is escalated to the steward's team. A cleared gate is recorded
but does not yet resume the referred run, TODO(#16); the deposit review items and co-approval
are TODO(#1306). Built: dd_harness.steward_api, dd_harness.projects.stewarding, and the
app's /api/projects/{project_id}/steward/ routes.
-
Clearing a gate is not approving the content (§5.1 against R2 and §8). An accountable role resolves policy exceptions; the researcher approves their own outputs and is responsible for the final submission. So a steward clears a referred action, and the project's owners still approve every document version and the deposit. A steward never approves on a researcher's behalf. A profile may add a check, never remove one: with
stewardship.deposit_co_approval: true, a deposit also needs adeposit_co_approvedevent by a steward of the project's team, naming the package digest the researcher approved; a new package needs a new co-approval. A steward who is a member of the project may not clear its gates, take or move its escalations, or co-approve its deposit, because the person checked would be checking themselves (C14); the queue lists such a steward's moves refused withmember-of-project, and says why. Co-approval is not built yet, TODO(#1306). Built:gate_clearedandgate_refused(dd_harness.steward_api), and the member refusal of every steward action and move (dd_harness.steward_api.reach,dd_harness.escalation_api.move). -
A pause stops consequential steps until a steward lifts it (P4, human on the loop). While a project is paused, the conductor refuses every run in it whose action class is not
advise, and the harness refuses every deposit, each with the reason codeproject_pausedand the pause's reason; the researcher can still read, converse with advisers, and write to the steward. A pause never lapses on its own: it is lifted only by the steward who applied it or a member of that steward's team. The researcher withdrawing the escalation does not lift it, nor does transferring the escalation to another team, and the team keeps access to the project until it is lifted. A run already in progress when the pause is applied finishes and is recorded.project_pausedis a new value of the reason-code vocabulary, a fixed format: Contract gains it in the pull request that builds pause; a paused run endsreferred, withreferred_to: data_steward. Built:dd_harness.refusals,dd_harness.deposit_api,dd_harness.projects.stewarding. -
The mandatory reviews stop their step until their reviewer acts. The Blueprint makes these reviews compulsory; the profile's
stewardship.reviewsnames, for each, whether the reviewer is the researcher, a steward or both, and the defaults are:
| Trigger | Blueprint | Default reviewer | What stays stopped |
|---|---|---|---|
| The policy gate refers a run | §5.1, §5.4 | steward | the referred run |
| A conflict between funder, journal and institutional requirements | R1, §5.1 | steward | repository choice and what depends on it |
| Personal identifiers or sensitive information flagged | C2, §5.4 | researcher | the deposit |
| Generic or low-quality metadata before submission | C15, §5.4 | researcher | the deposit |
| Ethics approval or embargo not confirmed | R8, §5.2 | researcher | the deposit |
A review that concludes data should not be shared, in whole or in part, is recorded as a valid outcome and ends that step (R8), not as a failure. Where no steward team is configured, a review whose reviewer is a steward falls to the researcher only if the profile says so; otherwise the step stays stopped with its card and the profile's contact (invariant 11). Built: the deposit's pause before packaging for the researcher's reviews (Deposit). Not built yet: the steward's reviews and the per-review profile key, TODO(#16, #73).
-
The researcher can see everything a steward does in their project. The project's log view shows each
steward_viewed(who and when), each steward action and each escalation's state, and a single status line answers "what is happening with my request?". A steward's message, proposed version and run are always labelled with the steward's name. Built for the researcher (#375): each request's status line and moves in the project pane, and each steward message and move in the conversation between the turns it fell between, as "Data steward: Name". Built for the steward's other steps (#376): the project pane's "What data stewards did here" lists each read and each decision on a referred step, and a steward's proposed version says "Edited by" the steward. Labelling a steward's runs in the conversation as theirs waits on whether the envelope records the role a run was asked in, TODO(#1482). -
A deployment without stewards still works (C17). With no
stewardshipkey, or no team for a project, the "Ask a data steward" control says so and shows the profile's contact if it has one, a referred step stays stopped with its card and its reason, and nothing else changes for the researcher. Built for the control and the referred step (#375). The profile's contact is named per team, so with no team the control says to ask whoever runs the deployment. -
A steward's contribution is attributed (P5, R10). Each steward event maps to a
prov:Activityassociated with the steward as aprov:Personidentified by their ORCID iD where they have one (Provenance), and carries a CRediT role: Data curation for a proposed edit, a run or a note, and Validation for clearing a gate, a review or a co-approval. In the deposit package's RO-Crate, a co-approval or a cleared gate is anAssessActionand a steward's accepted edit anUpdateAction, each naming the steward. A steward's read is not exported. Not built yet, TODO(#1481). -
Nobody has to watch a queue, and the record stays authoritative (§3: availability cannot be assumed). Each escalation event that someone else must act on is a notice: a subject and a link to the app, never the note, the project's title, research content or any person's name (#156, C2).
Event Who is told How escalation_opened,escalation_reroutedthe team it is routed to email to the team's address escalation_replied,escalation_withdrawn,escalation_reopened(the researcher's moves)the team email to the team's address escalation_waiting,escalation_resolved,escalation_handed_back,steward_message,escalation_reroutedthe project's members "Updates" in the app's banner The deployment holds no person's email address (Policy and identity, invariant 15), so a team is emailed at one address the profile names for it,
stewardship.teams[].notify: a shared mailbox, or the intake address of the institution's helpdesk, which turns each message into a ticket there. The team chooses which ofopened,rerouted,replied,withdrawnandreopenedit is told about withnotify_on, all of them by default. A steward's own move tells the team nothing. A researcher reads their notices in the app, from the project log (GET /api/notices, the last 30 days), and chooses which kinds the banner shows; that choice and which they have seen are kept in their browser only. Where the mail server is, how to sign in to it and whom messages come from are environment variables, since they say where things are and hold a secret (Configuration). A profile that names a team's address with no mail server is refused at start-up. A message is sent after its move is recorded, off the request, and one that cannot be sent is logged and changes nothing.Sending again. With
stewardship.reroute_after, an ISO 8601 duration in days or hours (P3D,PT48H), an escalation that staysopenthat long after its team was last asked to take it (opened, released, re-opened or sent again) is sent to the same team again: the sweep (dd-harness escalations sweep, hourly in a deployment) recordsescalation_reroutedfor the deployment, an accountable role no person signs in as, and the team is emailed and the researcher told. It is sent again once each period until someone takes it. Moving it to another team is a steward's transfer (invariant 4), never the sweep's. The free-textresponse_timestays what the researcher is told to expect. Built:dd_harness.notifications,dd_harness.mail,dd_harness.escalation_api.sweep.
Boundaries and contracts¶
- The harness decides; the shell renders. Every check above is in
dd_harness; the app's shell holds no policy (The app). Each project response gainspermitted_actions, the actions the signed-in person may take there and why any is refused, so the shell shows only what is permitted and explains the rest, instead of learning its limits from a 403. Built forGET /api/projects/{project_id}, which every project page reads, for each projectGET /api/projectslists, and for each projectGET /api/steward/projectslists. Each escalation carriespermitted_moves, the moves the reader may make on it, with whether each needs a note and why one is refused (dd_harness.escalation_api.permitted_moves), so neither side's controls are derived from the state in the shell (built). The session response names the person's deployment roles and teams (built). - Routes. A steward's routes are under
/api/steward/(the queue,escalations; the list of projects they may see,projects; the aggregate overview, TODO(#1307)), the existing/api/projects/{project_id}routes, which serve a steward's reads through the steward path of invariant 2, and/api/projects/{project_id}/steward/, where a steward writes to the researcher, pauses and lifts a pause, clears or refuses a referred run and proposes a version.GET /api/projects/{project_id}/stewardingshows the project's members and stewards what stewards have done in it. There is no separate copy of a project for stewards. - A steward's run acts for the steward (
acting_foris the steward's principal), never for the researcher, with the project as context, so the runs record and the provenance say who asked. Whether the run envelope records the role it was asked in is a contract change, TODO(#1482). - Notifications carry a link and a short subject, never research content or personal data beyond what is needed. The harness record stays authoritative wherever a notification goes (invariant 13): a helpdesk that receives a team's email holds a copy, not the record.
- The admin service stays the operators' loopback, read-only view, with no sign-in. A steward does not use it.
Rationale¶
- Roles in the profile. The deployment owns policy, and the profile is already the reviewable, recorded place for it (Policy and identity). ORCID asserts no institutional role, so the first deployments must name stewards themselves; group claims can follow without a new mechanism.
- Escalation-only by default. A steward's view discloses a person's work (C2, P4). The Blueprint asks for override rights that are "role-based and governed, not open to all users" (§5.4). A deployment that wants stewards to monitor proactively can widen visibility to its supported projects, and every look is still recorded and shown.
- Propose, not decide. The workflow belongs to the researcher (§8), who approves their outputs (R2). A steward's authority is the institution's, over policy exceptions (§5.1), so the two are kept as separate records. This keeps the steward from becoming the bottleneck the tool exists to relieve (§3.1.1).
- The log, not a new store. An escalation is about a project and must sit in its history, provenance and access checks. A separate store would need its own access rules and backup.
- Pause is a steward's, and never lapses. The Blueprint's v2.0 "hold framework" (§13.1, Appendix G) asks for a hold that does not auto-resume; P4 asks for on-the-loop intervention. A pause that lapsed would let a step run that a person had stopped.
- A team's address, not a person's. Sign-in asks for no email address, so that the deployment holds none and never links accounts by one (Policy and identity, invariants 15 and 16). A team's address is the institution's, already published as a contact, and a helpdesk's intake address lets a team keep using its own ticketing without a connector. A researcher, who has no address here, is told in the app.
- Discovery. These decisions are to be checked with working research data management teams (#371) and the RDA working group, which names escalation and suspension the key community governance question (§13.1).
Rejected alternatives¶
- Roles from an environment variable, as the workbench's
DD_WORKBENCH_ADMINSonce did. A role is a policy choice, which belongs in the profile and is recorded with every run. - Making a steward a project member. A member decides facts and an owner approves; giving a steward either would blur whose decision a record shows, and membership is the researchers' to manage.
- A role-assignment page in the app. It would put policy in a second place, unreviewed and unrecorded with runs.
- Every project visible to every steward by default. It discloses researchers' work without a reason, and no Blueprint requirement asks for it.
- A steward approving content or a deposit. It contradicts R2 and §8, and makes the steward responsible for a submission they did not make.
- An escalation store separate from the project log. See Rationale.
- Asking each person for their own email address. It would add personal data for the deployment to hold, check and delete (#156), and amend Policy and identity invariant 15, for a message that may say only "look at the app". A deployment that needs it can raise it later.
- Sending notices from the shell. The browser is closed when it matters most, and the shell holds no policy.
- An abstention raising an escalation automatically. Stewards are scarce; the researcher decides whether a matter is worth a person's time.
Non-functional requirements¶
- Accessibility. Every steward action and every escalation control works by keyboard and screen reader, and each state change is announced (#74).
- Security. Each steward read recorded as
steward_viewedis also asteward.viewedsecurity event, and each steward action, a pause, a lifted pause and a gate decision among them, asteward.actedone naming the action; a note's text never is. The roles a person held when they signed in are onsign-in.succeeded, and each service records the profile it loaded, and so any change of roles, asprofile.loaded(Security baseline, Security events). Built:dd_harness.steward_api. The steward path is the access control AC-3 and AC-6 rely on for deployment roles. - Scale. A team's queue is one indexed query, like a person's project list (Storage), and runs in the listing pool.
- Personal data. An escalation holds the researcher's note and the scope they chose to share, nothing more; it is kept and deleted with its project (Projects, invariant 22).
Open questions¶
- Whether an escalation gets an AI first pass, summarising it for the steward, before a steward sees it (§13.2), TODO(#1310).
- Which team receives an escalation for a project shared across institutions, under an inter-institutional agreement (§5.1), TODO(#371).
- Mapping identity-provider group claims to teams, TODO(#936).
- What happens to a project whose owners have all left, and whether a team may look after it, TODO(#1309).
- The aggregate community and compliance overview (§4.1), TODO(#1307).