feat(FN-3619): preserve agent memory across import/export flows

- Extend agent company manifest contract to include memory payloads during export and parse
- Align dashboard agent import/export route generation to pass memory through unchanged
- Add parser, exporter, and route-level tests covering memory passthrough behavior
- Document memory import/export parity in agent and CLI documentation
Ref: Runfusion/Fusion#53

Fusion-Task-Id: FN-3619
This commit is contained in:
Fusion
2026-05-06 21:25:59 -07:00
committed by gsxdsm
parent 46f3ac2114
commit fca8d27342
10 changed files with 125 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ Every first-class editable agent field has a defined create/edit/import/template
| `instructionsPath` | ✓ | ✓ | ✗ | File-backed instructions path |
| `instructionsText` | ✓ | ✓ | ✓ (from manifest `instructionBody`) | Inline instructions |
| `soul` | ✓ | ✓ | ✗ | Personality/identity description |
| `memory` | ✓ | ✓ | | Per-agent accumulated knowledge |
| `memory` | ✓ | ✓ | ✓ (from manifest) | Per-agent accumulated knowledge |
| `bundleConfig` | ✓ | ✓ | ✗ | Structured instruction bundle |
### Agent Companies Manifest Fields
@@ -37,6 +37,7 @@ Every first-class editable agent field has a defined create/edit/import/template
| `role` | `role` (mapped to AgentCapability) | `custom` |
| `reportsTo` | `reportsTo` | — |
| `instructionBody` | `instructionsText` | — |
| `memory` | `memory` | — |
| `skills` | `metadata.skills` | — |
### System-Managed Fields (Not User-Editable)