From 410e75ce904cefafb4efce371b2533983d19f6ca Mon Sep 17 00:00:00 2001 From: pablof7z Date: Thu, 19 Feb 2026 18:09:26 +0000 Subject: Add e tag markers for file and fork references --- AE.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/AE.md b/AE.md index 6ba29a0..f5c3c56 100644 --- a/AE.md +++ b/AE.md @@ -44,7 +44,7 @@ Execution platforms determine which lessons and comments to apply based on trust ["tool", ""], ["ver", ""], ["image", ""], - ["e", "<1063-event-id>", ""] + ["e", "<1063-event-id>", "", "file"] ], "content": "" } @@ -61,7 +61,24 @@ Execution platforms determine which lessons and comments to apply based on trust - `tool` — Zero or more tags of tool names the agent expects to have - `ver` — Version number, defaults to `1` - `image` — Avatar URL -- `e` — Reference to NIP-94 file metadata event (kind 1063). Execution platforms MAY provide access to these files. +- `e` — Event reference with marker (see below) + +### `e` Tag Markers + +The `e` tag uses markers to distinguish relationship types: + +| Marker | Description | +|--------|-------------| +| `file` | Reference to NIP-94 file metadata event (kind 1063). Execution platforms MAY provide access to these files. | +| `fork` | Reference to a source agent definition this agent was forked from. | + +Example: +```json +["e", "<1063-event-id>", "", "file"], +["e", "<4199-event-id>", "", "fork"] +``` + +Multiple `file` references are allowed. At most one `fork` reference SHOULD be present. ### Content -- cgit v1.2.3