A workspace selector sets the directory a task uses. That one control is easy to change and hard to audit later.
This is a decision guide for team leads and platform owners who are about to standardize where AI work tasks run. It assumes the tool has an explicit workspace concept. It gives you a four-field gate to fill in, argue about, and expire.
The selector is a scope decision, not a preference
In WorkBuddy Enterprise, the workspace selector at the lower left of the input box sets the directory for the task, and files in that directory can be read and processed. While creating a task, a user can type @ to reference a file, document, or rule as context, or drag a file into the input box. Source: WorkBuddy documentation.
That description yields three separate inputs:
- Scope root — the workspace directory. Chosen once for the task.
-
Explicit references —
@-mentioned files, documents, or rules. Chosen per task. - Uploads — dragged-in files. Chosen per task. The supplied documentation describes the drag action but does not state how the file's origin is recorded.
Only the first input is workspace-level. The other two are per-task context. The practical risk is that the scope root and the ad hoc context can diverge, and a later audit may see only one of them.
Three edge cases to test, not assume
None of these requires unusual setup. They are scenarios to check because the supplied documentation does not spell out resolution, inheritance, or origin logging.
A root-level rules file
A team may keep a shared instruction file at the top of a workspace and reference it with @. If a task runs from a parent directory, that file and sibling material are inside the selected directory tree. The documentation says files in the selected directory can be read and processed; it does not say every file is read automatically. The edge case is eligibility: the selected root is broad enough that the task can reach more than the intended task folder. Observe rather than assume.
A stale copy
Task folders get copied. A rule file, template, or reference document may exist in two places. The supplied documentation says @ can reference a file, document, or rule; it does not describe how a duplicate name or stale copy is resolved. A test: put distinct markers in each copy, reference the copy you intend, ask which marker was used, and compare. If the marker or reported path does not match the intended copy, or changes across repeats, resolution is not visible enough for audit.
A dragged file
A dragged upload is a separate input from the workspace selection. The documentation describes dragging a file into the input box but not recording its origin. If that file comes from outside the selected root, your later workspace audit may miss its source. Treat this as a provenance gap to test, not a documented behavior. W3C PROV-DM models entities, activities, and responsible agents; lineage records use and responsibility, not correctness: PROV-DM.
The four-field gate
Before standardizing, decide per task class using four fields. If a task class cannot fill all four, it does not get a shared root.
| Field | Question | Fails when |
|---|---|---|
scope_root |
Which directory, exactly? | The answer is the repo or the team drive
|
owner |
Who is accountable for what is inside it? | Two teams share the directory |
expires |
When does this scope get re-justified? | The answer is never
|
allowed_context |
Which @ references and uploads are permitted? |
Any file is acceptable |
Rule of thumb: a shared root is defensible only when a single owner can enumerate its contents and say why each item is there. If enumeration requires a meeting, use a task folder.
Write the gate as a reviewable manifest
A wiki page can drift. A manifest can drift too. The difference is review: a small file checked into the task folder can be diffed and validated. It does not prevent drift by itself.
Two JSON Schema mechanics matter, both from the JSON Schema object reference: declaring a property does not require its presence, so mandatory names must appear in required; and unmatched properties are accepted by default, so additionalProperties: false is needed to close the object with respect to properties and patternProperties in that subschema.
The example below is illustrative and was not executed. Treat it as a shape to adapt, not a validated implementation.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": ["scope_root", "owner", "expires", "allowed_context"],
"additionalProperties": false,
"properties": {
"scope_root": { "type": "string", "minLength": 1 },
"owner": { "type": "string", "minLength": 1 },
"expires": { "type": "string", "format": "date" },
"allowed_context": {
"type": "array",
"items": { "type": "string" },
"maxItems": 10
}
}
}
A filled example, also illustrative:
{
"scope_root": "projects/billing-notes/2026-q4",
"owner": "billing-platform-lead",
"expires": "2027-01-15",
"allowed_context": ["rules/notes-style.md", "templates/memo.md"]
}
If a validation step runs, this buys two things prose cannot. First, a missing owner can be made a validation failure rather than a silent omission. Second, a new field appears only when someone edits the schema, so scope creep can show up as a diff.
What reverses the decision
Scope breadth is not a moral question. It is a ratio between two numbers you can count:
- T — tasks per week that would run from this scope.
- N — files in the scope root that no team member can explain without checking.
Illustrative thresholds, not measured results: if N is zero, a shared root is fine and the gate is overhead. If N is nonzero and T is low, a task folder costs less than the audit. If N is nonzero and T is high, you have a cleanup job before you have a scoping job, and the right answer is neither option until the cleanup happens.
A single file with a different retention or access classification below the intended root is enough reason to move the root down a level. You do not need a frequency claim to justify that move.
How to check the outcome before you standardize
These are proposed checks. None were run for this draft. Run them in your own environment and record the date, tool version, prompt, and observed output.
1. Sentinel test
Inputs: a uniquely named, non-sensitive marker file in the shared root; a task folder nested under it or otherwise separate; a task scoped to the task folder through the workspace selector.
Observe: ask the task to quote the marker file's content. Do not put the content in the prompt.
Interpretation: if a random marker value appears verbatim, treat it as evidence that the task-folder scope did not prevent access to the parent for that run. Corroborate with a second run. If it does not appear, that single run is not proof of isolation; repeat with different prompts. A visible marker is stronger evidence against a boundary than its absence is for one.
2. Reference resolution
Inputs: two copies of a rule file in different directories, each with a distinct marker string. Use the @ picker to reference one copy.
Observe: ask the task to quote the marker and report the path it used, if it reports one.
Interpretation: compare the returned marker with the copy you intended. A mismatch means the reference did not resolve as you expected. A match is one data point; repeat to see whether the result is stable.
3. Write boundary
Inputs: a baseline list of file names and last-modified timestamps under the selected root, plus a small sentinel folder outside it.
Observe: run the task, then compare the before and after listings. Use your platform's normal file listing; no command is implied here.
Interpretation: a changed file outside the selected root is evidence that the write boundary did not hold for that run. Changes inside the root do not reveal what was read. No outside changes do not prove that nothing outside was read.
4. Upload provenance
Inputs: for one week, log each dragged-in file's origin as reported by the user, the selected workspace path, and the output path.
Observe: compare the origin path with the selected workspace path. Check whether your audit record captures both.
Interpretation: if uploads routinely originate outside the selected root and your record shows only the workspace, the audit has a blind spot. The supplied documentation does not state that the tool records origin, so treat this as a manual check until verified.
Record the results. “We checked” is not evidence; a dated table is.
Failure modes of this gate
-
False closure.
additionalProperties: falsecloses the object at that level only. Nested objects remain open unless you close them too. Do not read onefalseas a guarantee. -
Expiry without enforcement. An
expiresfield nobody reads is a comment. Something has to fail — a CI check, a weekly report, a review queue — when the date passes. -
Manifest drift. The manifest says
allowed_contextis two files; people reference five. The gate is only real if the mismatch is caught. - Over-application. Four fields per throwaway task is friction that teaches people to route around the process.
- Single-run certainty. One sentinel result is an observation, not proof. Repeat checks before you standardize.
When this gate does not apply
Skip it when a single person owns every file under the root, when nothing in the tree carries a classification you would not paste into a chat window, and when the task's output is discarded rather than circulated. In those cases the manifest is ceremony.
Also skip it when you have no way to observe what a task read. A gate you cannot check is a promise, not a control.
Owner, expiry, exit
Give the gate itself the same treatment as the tasks it governs. Name one owner for the manifest schema. Set a review date — a quarter is usually enough for a new task class. Define the exit: if two consecutive reviews find no scope violations and no unexplained files, promote the task class to a shared root and record why.
One question to settle before you standardize anything: which single file, sitting below your intended scope root, would make you move the root down a level if you found it today? If you cannot name it, you have not looked.
AI disclosure: this draft was written with AI assistance. The sources consulted are the WorkBuddy documentation, the JSON Schema object reference, and W3C PROV-DM. No commands, schemas, or tasks described here were executed, and no results are reported. The JSON examples are illustrative and were not validated. A human should verify the tool's current behavior, the schema mechanics, and DEV's current publishing policy before this goes anywhere public.
This article was created with AI assistance.
Top comments (0)