Osy#betaRun it on Osyrin: osyrin.com

Reference / Agent

Osysharp.Privacy.Assignments — the people in an assignment, under their privacy requests

`Osysharp.Privacy.Assignments` covers the people *on* an assignment and the person an assignment is *about*: each can see what is held, have it kept out of use, or have it erased.

previewagentsguidekit

Source on GitHub: Osysharp.Privacy.Assignments — github.com/osysharp/privacy/assignments ↗

You are here: Building with agents › The kits › Privacy.Assignments

Summary#

Osysharp.Privacy.Assignments covers the people on an assignment and the person an assignment is about: each can see what is held, have it kept out of use, or have it erased.

An erasure leaves words where the person was, never a hole: somebody who worked on an assignment reads "Somebody no longer here", and the work the organisation did stays on its books.

PackageOsysharp.Privacy.Assignments, version 1.1.0
You add it withNothing. It arrives by itself in an app that uses [[agent-kit-privacy|Privacy]] and [[agent-kit-assignments|Assignments]]; osy lock says so. without Osysharp.Privacy.Assignments; in the manifest keeps it out.
It sits on[[agent-kit-assignments|Assignments]], [[agent-kit-privacy|Privacy]]
It also usesIdentity — parts of the platform's own library
Its own test appA housing co-operative's repair service — kits/privacy-assignments/tests

Description#

What do you get without writing anything?#

  • One mark on an assignment covers what hangs under it: its agent work and its repository.
  • What was done and how it ended is kept; who it was about is replaced.

When do you need it?#

Privacy and Assignments together. It arrives by itself. You write one line: MarkAssignmentAbout.

What does it expose?#

The tables below are generated from the kit itself, not written by hand: osy kits Osysharp.Privacy.Assignments --surface lists each of them with the code of the kit's own test app that uses it, and the tests that show it working.

Settings — one line in the app, each field with a default.

You writeIt says
app.AssignmentsPrivacy = new AssignmentsPrivacySetup { KeepAboutMonths, KeepPeopleMonths, StandIn, FormerColleague, AlwaysBlank, Rules }How this app keeps its assignments private.

Types you derive from — your app writes a class of its own.

TypeWhat it is
AssignmentPrivacyRulesWhat the app says about its assignments' words: which of them say who an assignment is about.

Functions you call, those its own tests show most first.

FunctionWhat it doesTests that show it
MarkAssignmentAbout(Assignment a, DataSubject subject)Say whose data an assignment is: a is about subject — and so is everything opened under it, and every row its attached work stands for.11

Go deeper#

  • [[agent-privacy#assignments]] — assignments under a privacy request
  • [[agent-assignments#erasure]] — taking a person off an assignment

Related

The map of the kits — which sits on which, and what each one is for

The agents family is 29 kits. Two are under everything: `Osysharp.Llm` for every model call and `Osysharp.Agents` for…

Privacy for the agent family — agents, the model meter, assignments and work repositories under a person's request

An app that uses `Osysharp.Privacy` beside the agent kits gets a holder for each without writing one:…

Assignments — a piece of work owned until its outcome is reached (Assignments kit)

An assignment of the `Osysharp.Assignments` kit says who asked, the outcome wanted and what must be true for it to be…