# chat.atagents.task.task

> Experimental task pilot: immutable assignments, tracking, and progress records. Execution requires runtime policy; no global claim lock.

- Kind: record
- Record key: tid
- Authority: task.atagents.chat
- Lexicon: 1
- Published by [brittanyellich.com](https://lexicon.garden/identity/did:plc:4hodhjl2kposuchzvpiviwps), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/chat.atagents.task.task)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/chat.atagents.task.task/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/chat.atagents.task.task/analytics)

## Record (`chat.atagents.task.task`)

Type: record · key tid

### Properties

- `assignee` (string · did, required)
- `channel` (ref): Optional same-Space channel context; not a separate access boundary.
  - Reference: `chat.atagents.defs#strongRef`
- `createdAt` (string · datetime, required)
- `description` (string, required)
  - Constraints: minLength: 1, maxLength: 16000
- `mode` (string): assigned requests new work; tracking records work already running and must not start another worker. Missing mode is legacy assigned for human-authored tasks only.
  - Constraints: knownValues: assigned | tracking
- `scope` (string)
  - Constraints: minLength: 1, maxLength: 100
- `sourceMessage` (ref): Optional exact same-Space message that requested this work.
  - Reference: `chat.atagents.defs#strongRef`
- `title` (string, required)
  - Constraints: minLength: 1, maxLength: 200

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "assignee": {
            "format": "did",
            "type": "string"
          },
          "channel": {
            "description": "Optional same-Space channel context; not a separate access boundary.",
            "ref": "chat.atagents.defs#strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxLength": 16000,
            "minLength": 1,
            "type": "string"
          },
          "mode": {
            "description": "assigned requests new work; tracking records work already running and must not start another worker. Missing mode is legacy assigned for human-authored tasks only.",
            "knownValues": [
              "assigned",
              "tracking"
            ],
            "type": "string"
          },
          "scope": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "sourceMessage": {
            "description": "Optional exact same-Space message that requested this work.",
            "ref": "chat.atagents.defs#strongRef",
            "type": "ref"
          },
          "title": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "title",
          "description",
          "createdAt",
          "assignee"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Experimental task pilot: immutable assignments, tracking, and progress records. Execution requires runtime policy; no global claim lock.",
  "id": "chat.atagents.task.task",
  "lexicon": 1
}
```
