# One conversation, real owners, the same working files

An executive and operator handbook for the agent platform. Updated September 11, 2026.

[Open the presentation](https://nginx.ai-servicers.com/presentations/agents/) · [Implementation review](https://gitlab.ai-servicers.com/agents/runtime/-/merge_requests/5) · [Native-session reference](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-sessions.md)

## The five-minute explanation

The human asks one orchestrator to achieve an outcome. The orchestrator divides the work when that helps, starts the right AI tool, coordinates edits, and brings the results back to the same conversation.

The routing rule is deliberately simple:

| Requested execution owner | Route |
|---|---|
| The same Linux user as the orchestrator | Launch a native Claude, Codex, or Antigravity session locally. |
| Another Linux user | Send a bounded assignment to that user's standalone agent; the receiving agent launches the work locally as its actual owner. |

Agents edit the human's **current project checkout**, including when several agents participate. There is no automatic separate task clone or worktree. The human sees changes immediately in the existing editor and Git diff. The orchestrator assigns file ownership; the native runner currently sequences all participating launches against the same checkout, including disjoint file assignments.

This removes repetitive session setup and coordination steps. It preserves each human's unique Linux account and makes cross-user delegation explicit. It does not make every environment identical, turn a working directory into a security sandbox, or make a delivered message equivalent to completed work.

The seven introductory slides establish the whole model. The presentation's hub provides eight deeper topics: identity, routing, the shared checkout, internal execution, controls, recovery, value, and operator actions. Speaker notes contain additional detail. This handbook can be downloaded, read offline, or printed.

## The design decisions

The user selected the following operating model:

1. Same owner: spawn a native session under the existing account, HOME, and normal harness configuration.
2. Other owner: delegate to that user's standalone agent. Do not run as administrator and merely label the process as another user.
3. Direct edits: use the human's current checkout, including for parallel agents.
4. Coordinated writing: assign files, serialize overlap, preserve others' changes, and coordinate Git operations through the orchestrator.
5. Evidence-based completion: track the assignment and review returned results before calling the outcome complete.

These choices apply to the native-owner path. The repository also contains an older isolated project-worker candidate under `workers/`, along with role-based services. Those designs have different identity, checkout, provider-login, and infrastructure assumptions. They remain separate candidates; their test counts or provisioning prerequisites are not acceptance evidence for the native-owner route.

The native-owner route does not inherently require a new daemon, a new Linux account for each session, or a copied provider login. It uses the owner's available native tools and the existing peer agent when crossing user boundaries. Existing agents and messaging services still have their own deployment and operating requirements.

## Four identities that should not be confused

### Linux owner

The Linux account is the process's operating-system identity. Its numeric UID, group membership, filesystem permissions, and actual runtime environment determine what it can access.

A human and several AI sessions can share that human's existing account because the sessions are ordinary processes. This does not require duplicate Linux accounts with the same UID. Administrator and websurfinmurf remain distinct human accounts.

A name in a worker registry is not proof of execution identity. A peer intended to act for websurfinmurf must actually execute under the expected account and be able to access the selected checkout.

### Provider login

A provider login authorizes the native tool to use a model service. It is separate from the Linux account, the project assignment, and the conversation identifier.

Starting another native session does not inherently require another provider account or a newly copied credential file. The session uses the owner's normal configured authentication mechanism. Vendor tools may share credential or configuration state across sessions; follow their native behavior rather than constructing an unnecessary credential-copy workflow.

Provider tokens and credential contents must not appear in project commits, published guides, task summaries, or chat. A path can be recorded when needed without recording its contents.

### Messaging identity

Cross-user delegation needs an authenticated sender and receiving owner. The existing Matrix messaging route provides message delivery and sender identity, while the receiving agent applies its own authorization rules.

A label written inside a message is not authentication. Trust the actual sender identity and configured entry controls. A Matrix acknowledgement does not establish that a CLI process started or that the requested outcome was achieved.

### Task and session identity

A task record connects the requested outcome to its requester, receiving owner, project, harness, process or conversation, state, and result. An AI session is the conversation in which a tool works on that assignment.

Several tasks may belong to one human request. Each should remain distinguishable so the orchestrator can reconcile progress and avoid accidental duplicate work.

## What stays shared, and what can still differ

A local native session uses the existing owner account, HOME, normal harness configuration, and selected project path. This aligns the session with the environment the human ordinarily uses.

An owner agent running inside a container can share the same numeric UID and a same-path home bind while still differing from the host in several ways:

- The installed Claude, Codex, or Antigravity binary and version.
- Supplementary groups and access to host devices or sockets.
- Available build tools, libraries, environment variables, and network access.
- The actual set of mounted paths and writable directories.

The existing websurfinmurf peer was observed configured with UID 1000 and a same-path home bind. That supports a specific statement about identity and mounts, not a general promise of zero environment drift.

Before assigning work, verify the actual receiving identity, HOME, intended path, tool availability, and project access. Do not treat a successful host-side check as proof that the peer's container sees the same environment.

## How a local assignment works

Consider this request:

> As administrator, update the API and tests in my current project. Use Claude for implementation and Codex for review. Preserve unrelated edits and return the validation results.

The orchestrator resolves the actual current account and selected project. Because the requested owner matches, it launches the requested native tool locally.

It gives the implementation session bounded write ownership, such as one handler module. A separate test session can own a disjoint test file. A reviewer inspects the finished change. Every session uses the same current checkout, and participating native runner launches are serialized by its shared checkout lock.

The orchestrator records the assignment and result, checks for unexpected modifications, runs appropriate validation, and coordinates the commit and push when authorized. A successful process exit is useful evidence, but the final outcome still depends on the task's acceptance criteria.

This example describes the operating pattern, not a claim that a specific API change was made during acceptance testing.

## How a cross-user assignment works

Consider this request:

> Ask websurfinmurf's agent to update the UI in the shared checkout. Report back here with the files changed and validation.

The requesting orchestrator sends a bounded, correlated assignment to the existing owner peer through the configured messaging route. It does not impersonate the other Linux account by changing a label or taking over a login.

The receiving agent verifies the sender's authority, the target project, and its own access. It launches the locally available tool under its actual owner account, works in the specified current checkout, and returns evidence to the original orchestrator.

There are several distinct milestones:

| Milestone | Evidence |
|---|---|
| Request recorded | A local task record identifies the intended owner, path, tool, and scope. |
| Message delivered | The messaging service accepted the request. |
| Work acknowledged or running | The receiving agent confirms the assignment or observable execution begins. |
| Result returned | A correlated reply identifies the outcome and supporting evidence. |
| Outcome accepted | The orchestrator verifies that the requested work is complete. |

Do not collapse these milestones into one success indicator. In particular, an acknowledgement can exist while an execution worker is unavailable. Readiness must include the component that actually launches the CLI.

## Using the same checkout with several agents

Direct editing is an explicit user choice. It keeps all changes in the current project, visible to the human immediately. It also means that incomplete work and competing edits can affect the same files.

Before writing, allocate ownership at the file or directory level:

| Participant | Example responsibility | Access pattern |
|---|---|---|
| Implementation agent | A request-handler module | Writes assigned module. |
| Test agent | Behavior-focused tests in a separate file | Writes assigned test file. |
| Review agent | Inspect finished changes and test evidence | Reads; proposes changes until assigned write ownership. |
| Orchestrator | Shared metadata, integration, validation, Git operations | Sequences changes and checks the complete result. |

When a new need crosses another agent's ownership, stop at that boundary and coordinate the transfer or sequencing. Do not quietly edit another worker's files. Shared manifests, dependency locks, project instructions, and Git metadata often require a single designated writer.

The implemented runner takes an exclusive advisory lock in the Git common directory. It conservatively serializes all participating launches, even when they declare disjoint files or start in different subdirectories of the same repository. Lock waiting has a separate timeout from task execution. File declarations communicate responsibility; they are not enforced per-file permissions.

The lock is cooperative. A human editor, native CLI started outside the runner, or unrelated process can still modify the files. Avoid nesting a runner inside another runner against the same checkout because the inner session will wait for the outer lock. All participants still need to respect the assignment boundaries.

Agents preserve changes they did not create. Cleanup must not automatically reset the repository, discard partial work, or remove someone else's files. The orchestrator inspects the complete working-tree diff before committing and stages only the intended work.

### Cross-user compatibility requires a real access check

A shared group or default ACL can help different accounts collaborate, but does not guarantee compatibility with every file operation. Explicit restrictive modes such as `0600` and `0700`, permission changes, atomic replacement saves, and differing supplementary groups can still block another participant.

Both users must be able to access the same exact checkout under their actual execution environments. Initial directory access is only part of the check. Files created or replaced during the task may also need verification.

If the receiving user cannot use the selected checkout, surface the access issue. Do not silently switch to a new copy or an alternate path; that would change the user's chosen working model.

## Human inspection and takeover

The human opens the existing project and sees changes as they happen. There is no separate task checkout to locate before reviewing the work.

For a clean takeover:

1. Ask the orchestrator to pause or stop the assignment that owns the relevant files.
2. Confirm that the local process ended or the remote owner agent acknowledged the stop.
3. Inspect the task result, partial edits, and current diff.
4. Take ownership of the files and continue from the existing state.

A stop request is not proof that a worker has stopped. A timeout is not proof that the checkout is clean. Preserve partial work until it is understood.

## Controls and accountability

The human sets the outcome and any material limits. The orchestrator translates that intent into bounded assignments, resolves dependencies, tracks results, and integrates the work. The receiving owner agent verifies and executes requests within its own authorized environment.

This does not introduce repetitive approval questions for ordinary work already authorized by the human. Existing project rules and authority still govern destructive actions, protected infrastructure, release gates, and commitments to third parties.

The selected model has an important tradeoff: running as the human's account improves ownership compatibility and carries that account's authority. A working directory establishes context; it does not itself prevent the tool from touching other accessible paths. A task instruction establishes scope; it is not a filesystem sandbox.

Any requirement for hard confinement must be implemented and verified as a separate control. Do not describe cooperative locks, a shared group, or `cd` into a project as stronger enforcement than they provide.

The published guide includes no credentials, raw transcripts, private task receipts, or private configuration. Operational records remain in their appropriate private locations.

## Recovery, uncertainty, and duplicate prevention

The first step after interruption is to inspect existing evidence. Read the task receipt, process state, current checkout diff, and any correlated peer messages.

Classify the task as still running, completed with evidence, stopped with partial work, or uncertain. Then choose one action: wait, collect the result, continue from the existing state, or retry after duplicate risk has been resolved.

The local runner's task IDs and private receipts help identify repeated requests. Runtime bounds and process-group cleanup help terminate a hung local CLI and its descendants. These controls do not automatically cancel a remote assignment; cancellation needs acknowledgement from the receiving peer.

The legacy owner-agent messaging queue is not assumed to be durable. A restart or delivery ambiguity can leave the sender unable to know whether execution began. A Matrix send acknowledgement is not a durable execution receipt. Do not automatically resend uncertain work, because the first copy may still execute.

Keep the assignment's ownership in place while remote execution remains unresolved. The receiving native runner takes the checkout lock during local execution; the sending orchestrator does not hold that lock throughout message delivery. Coordinate outside writers accordingly. Release ownership only after completion, a verified stop, or an explicit reconciliation decision. Uncertainty should remain visible rather than being converted into a false success or a blind retry.

## Readiness and acceptance evidence

**Measured readiness — 12 September 2026 UTC.** The runtime implementation is checked in and pushed. Its full suite passed 458 tests, including all 61 native cases and 42 owner-deployment cases. Messaging passed 444 tests with three optional skips; a real runtime contract test passed separately.

Administrator Claude 2.1.268 and Codex 0.154.0 each created the exact requested marker in the current checkout, with contents and UID 2000 independently checked. Antigravity 1.1.27 passed an exact headless response check after its structured stdin adapter was corrected. A separate assigned file write remained blocked by its existing request-review tool policy. The runner records recognized denial as `permission_blocked` and leaves native permissions intact. The existing other-owner agent failed an authenticated read-only capability check before returning a session/result. Its older adapter discarded the useful diagnostic, so the provider cause remains unknown. The corrected adapter is tested in source; deploying it requires the runtime project’s missing CI runner. Cross-user acceptance must not be inferred from local checks.

The messaging repair is live through its normal GitLab deployment. A fresh tracked request returned an authenticated, correlated failure from the expected owner agent. That proves request delivery and failure reporting; it does not prove successful cross-user work. The tested [owner-service update and acceptance procedure](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-owner-deployment.md) provides the missing image update job and receiver installation. It remains pending the eligible runtime runner. Image rollback requires a surviving container with the existing runtime configuration; the metadata journal cannot recreate lost credentials.

Assess readiness by behavior:

| Area | Required evidence |
|---|---|
| Local native launch | Actual owner, normal HOME, intended checkout, available tool, and captured result. |
| Shared-checkout coordination | All participating launches in the same Git checkout serialize, including subdirectory and disjoint-file assignments. |
| Cross-user delegation | Authenticated request, actual receiving owner, exact checkout access, observable execution, and returned result. |
| Failure handling | Timeout cleanup, duplicate prevention, partial-work preservation, and honest uncertain-delivery states. |
| Source and publication | Appropriate tests, checked-in changes, pushed source, and verification of the published artifact. |

A unit test proves the behavior it exercises under its test conditions. It does not prove that a live provider login works in every owner environment. A successful native Claude run does not establish live Codex or Antigravity readiness. A local launch result does not establish cross-user execution. Report these separately.

The older isolated-worker candidate has its own readiness records, role identities, independent credential ownership, and provisioning requirements. Its evidence should be cited only when discussing that candidate.

## Value and cost

The intended value is less manual setup, fewer repeated explanations, and better continuity across bounded tasks. Those benefits should be measured rather than assumed.

A practical measurement plan:

| Measure | How to use it |
|---|---|
| Human setup and clarification time per accepted task | Compare similar work before and after orchestration. |
| Elapsed task time and overlap-resolution time | See whether concurrency saves time after coordination overhead. |
| First-pass acceptance and rework | Evaluate speed together with quality. |
| Successful recovery after interruption | Check whether tasks can resume without losing context or partial work. |
| Provider usage plus human review and operating effort | Track the cost of an accepted result, not the count of sessions launched. |

No numerical ROI, productivity percentage, or dollar savings is asserted here. Provider charges and subscription capacity vary by tool and account. Task size and complexity also vary, so compare like with like.

Parallel work can be useful across separate projects or independent read-only investigations. The current native runner deliberately sequences all launches within one Git checkout. Disjoint file assignments still make responsibility clearer, but they do not enable simultaneous runner writes. More agents are a scheduling option, not a performance target.

The operating cost of an accepted result includes model usage, coordination, review, and rework. Reusing existing accounts and peers avoids introducing unnecessary identities and services for this route, but the existing services still require maintenance.

## Operator field guide

A useful assignment can be expressed in ordinary language:

> In [current project], have [owner / harness] do [bounded outcome]. Edit the current checkout. Own [files], preserve other work, and return [validation and result].

The orchestrator should infer routine details from the project and conversation. It should resolve material ambiguity about the owner, project, permissions, or acceptance criteria before dependent work.

During execution, useful questions include:

- Which route and actual execution owner is this task using?
- Which files does the task own, and are other writers active?
- What state has actually been observed?
- What remains uncertain or blocked?

Before accepting the outcome, inspect the current diff, relevant tests, outstanding work, and the exact integration evidence. Distinguish these delivery stages:

| Stage | Meaning |
|---|---|
| Written | Files have changed in the working checkout. |
| Tested | The stated checks ran against the relevant state. |
| Committed | The changes exist in a local Git commit. |
| Pushed | The commit reached the remote branch. |
| Merged | The reviewed change entered the target branch. |
| Published or deployed | The intended live artifact or service was updated and verified. |

### Native runner commands

Run these from the runtime repository, or make that repository available through `PYTHONPATH`. The task's `--cwd` selects the existing project independently of the command's starting directory. The project and task-file paths below are illustrative and must already exist.

```bash
python3 -m native_sessions capabilities --owner administrator
python3 -m native_sessions run --owner administrator \
  --cwd /home/administrator/projects/example --harness claude \
  --assigned-file docs/README.md --task-file /tmp/native-task.txt \
  --request-id docs-update-20260911 --timeout 1200 --lock-timeout 60
python3 -m native_sessions status docs-update-20260911
python3 -m native_sessions history
```

`capabilities` reports installed tool availability; it does not prove provider authentication or permission to perform a specific action. `status` reads the private local receipt. It does not automatically poll a peer for completion. Inspect the returned state: an exit code of zero can represent a pending submission or a successful read, as well as a completed local process.

A different owner requires a trusted explicit owner-to-peer mapping and the caller's prepared messaging environment. The receiving peer uses `receive` after independently verifying the transport sender. The originating orchestrator uses `reconcile` after verifying the provenance of a correlated receiving receipt. These are explicit attestations, not authentication produced by typing a peer name. Follow the reference for the exact peer workflow.

The runner records native session identifiers when supplied by Claude or Codex. It does not implement automatic native session resume. Antigravity supplies an observed conversation identifier, but that identifier alone does not prove retained history or resumability. Use the corresponding native tool and available history for human continuation.

Normal timeout and cancellation handling target the child process group. A force-killed runner cannot execute cleanup, and descendants that deliberately create a new process group can escape this mechanism. This is not a persistent watchdog or hard isolation boundary. Preserve uncertain receipts and inspect actual processes before retrying.

Exact runner commands, flags, state names, and receipt formats belong in the [native-session reference](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-sessions.md). This handbook explains the operating contract without inventing an unstable command interface.

## Glossary

| Term | Meaning |
|---|---|
| Orchestrator | The agent that receives the human's request, divides work, coordinates participants, and integrates results. |
| Owner | The existing Linux account under which work actually executes. |
| UID | Linux's numeric identifier for a user account. |
| HOME | The user's home directory, normally containing personal tool configuration and authentication state. |
| Harness | A tool such as the Claude, Codex, or Antigravity CLI that runs an AI conversation. |
| Native session | A CLI process launched in the owner's existing environment. |
| Standalone owner agent / peer | An existing agent that accepts authorized requests and runs work as its owner. |
| Checkout | The current working project files on disk, together with their Git context. |
| Worktree | Another Git working directory; not automatically used by this chosen model. |
| File ownership reservation | A cooperative record assigning write responsibility to a participant. |
| Receipt | A task record linking requester, receiver, project, tool, observed state, and result. |
| Matrix | The existing messaging system used to reach owner agents. |
| ACL | An access-control list that can grant filesystem permissions beyond basic user/group modes. |
| Sandbox | An enforced runtime boundary; a project path or task instruction alone is not one. |
| Acceptance evidence | Observations and checks showing that the requested behavior actually worked. |
| Role-worker candidate | The separate isolated container design under `workers/`, with different identity and checkout assumptions. |

## Sources and maintenance

The canonical project instructions and implementation define the local operating contract. Relevant references:

- [Native-session implementation reference](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-sessions.md).
- [Runtime implementation review](https://gitlab.ai-servicers.com/agents/runtime/-/merge_requests/5).
- [Codex non-interactive operation](https://learn.chatgpt.com/docs/non-interactive-mode).
- [Claude programmatic operation](https://code.claude.com/docs/en/headless).
- [Reveal.js installation and presentation framework](https://revealjs.com/installation/).

The deck is a single HTML source file with inline styling and Reveal.js 5.2.1 CDN resources. If the CDN is unavailable, the handbook remains a plain Markdown fallback. The presentation supports arrow-key navigation, an internal topic hub, speaker notes with **S**, and an overview with **Esc**. For slide printing, append `?print-pdf` to the presentation URL and use the browser's print command after the deck loads.

Source-of-truth files are `docs/agents-guide.html` and `docs/agents-guide.md` in the runtime repository. The published deck is at `/presentations/agents/`; the handbook is served alongside it. The portal entry links to this deck. Refresh both artifacts when routing, controls, commands, or accepted evidence materially change.

The governing principle remains: **same user, launch locally; other user, ask their agent; use the current working files and verify the result.**


Implementation and measured evidence: [native owner sessions](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-sessions.md), [acceptance record](https://gitlab.ai-servicers.com/agents/runtime/-/blob/feature/project-workers/docs/native-acceptance.md), [messaging repair](https://gitlab.ai-servicers.com/administrators/aiagentchat/-/merge_requests/9).
