[GH-ISSUE #6192] [Issue]: [Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations? #3450

Closed
opened 2026-10-21 06:03:15 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6192

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "[Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations?".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: [Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations?
Discord thread link: https://discord.com/channels/1417099416812392641/1548866884600864850
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (16 messages)
[2026-09-14T01:24:01.844Z] Mirai: I really like Marinara overall, but I’m struggling with the current tracker system.

My use case is an inventory where each item needs multiple fields, e.g. name, quantity, location, and description. The current Custom Tracker seems best suited for fixed key/value state, not dynamic structured lists.

I’d also prefer incremental updates instead of replacing the whole tracker every time, like Add, Update, Remove item.

This would reduce token usage and enable agents to delete item from tracker.

A generic “Structured / Collection Tracker” with user-defined fields and CRUD operations could also be useful for quests, clues, injuries, contacts, assets, etc.

Is there already a good way to do this that I’ve missed? If not, I think this could make the tracker system much more flexible without turning Marinara into a full RPG engine.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548866884600864850]

[2026-09-14T01:24:02.714Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548866888249901118]

[2026-09-14T01:27:49.184Z] Mirai: So conceptually, I want something like:

` ` `json
[
  {
    "name": "Painkillers",
    "quantity": 3,
    "location": "Backpack side pocket",
    "description": "Small white tablets"
  },
  {
    "name": "Brass key",
    "quantity": 1,
    "location": "Coat pocket",
    "description": "Marked with the number 17"
  }
]
` ` `

And  for example, the agent could edit items via:

` ` `json
{
  "operation": "update",
  "id": "item_42",
  "changes": {
    "quantity": 2,
    "location": "Bedside table"
  }
}
` ` `

instead of asking the model to regenerate the entire inventory every time something changes.

I think a more general solution could be some kind of Structured / Collection Tracker, where users can define a schema for each entry.

For example:

` ` `yaml
Tracker: Inventory

Fields:
  - name: string
  - quantity: number
  - location: string
  - description: text
` ` `

The tracker would then contain a variable number of rows/entries, with the ability for both the user and agents to create, update, and delete individual entries.

I don't think this would only be useful for inventories. The same system could be used for things like:

- Quests
- Clues
- Injuries
- NPC relationships
- Assets
- Vehicles
- Contacts
- Equipment
- Ongoing conditions

So rather than adding more special-purpose trackers one by one, a generic structured collection tracker might cover a lot of different roleplay use cases.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548867838134194210]

[2026-09-14T05:25:28.609Z] Marinara: There is an Inventory Tracker, why not use it?
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548927646497505341]

[2026-09-14T05:27:55.462Z] Marinara: I like the incremental suggestion, though. The reason I haven’t introduced it earlier is because some models dumped the entire JSON anyway. But we can support both formats.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928262443638805]

[2026-09-14T05:28:50.823Z] Marinara: Professor Mari, make issue only about incremental system of adding/removing/changing things in trackers without outputting them whole again.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928494644236320]

[2026-09-14T05:28:57.897Z] Marinara: @Professor Mari GitHub Issue
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928524314742815]

[2026-09-14T05:29:23.782Z] Professor Mari [bot]: Skill issue. Made a GitHub Issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/6185

This post will be marked as "Closed" on Discord since it was moved to GitHub. When the fix lands on staging, the information will be posted here.
[Issue]: Support incremental tracker item operations · Issue #6185...
Summary Add incremental tracker operations for adding, updating, and removing individual items without requiring the entire tracker contents to be regenerated. The system should continue supporting...
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928632884568104]

[2026-09-14T10:19:16.566Z] Mirai: The current Inventory Tracker doesn’t allow additional information to be attached to each item; it can only track names and quantities.

[attached image 1: https://cdn.discordapp.com/attachments/1548866884600864850/1549001583122186270/image.png?ex=6aa91ba4&is=6aa7ca24&hm=67739617857a67ea36b1f175a6806038326511e3fa506610f2285a80c4aa9623&]
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001583508070440]

[2026-09-14T10:19:58.668Z] Mirai: However, a similar item system seems to exist in the Persona State result type. It would be great if the Inventory Tracker could be upgraded to support this kind of data structure.

[attached image 1: https://cdn.discordapp.com/attachments/1548866884600864850/1549001759530295356/image.png?ex=6aa91bce&is=6aa7ca4e&hm=fe98b4cc8842769683d249bb1d8e748f133c82aa2ecbac278b58c9f53cbefe54&]
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001760096395284]

[2026-09-14T10:20:54.896Z] Marinara: Now I need to remember who made this tracker, lmao.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001995933720658]

[2026-09-14T10:21:13.424Z] Professor Mari [bot]: The GitHub Issue #6185 was addressed and closed! It has now landed on staging (you can change the branch to staging in Marinara Engine's **Settings -> Advanced -> Updates -> Release Channel -> Staging/UAT**), so please test it out and let us know if everything works!
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549002073645776957]

[2026-09-14T10:25:22.122Z] Marinara: WAIT.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003116760797246]

[2026-09-14T10:25:30.481Z] Marinara: WHY DOES THE PR SHOW IT WAS ME, I REMEMBER SOMEONE ELSE DESIGNING IT.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003151820980295]

[2026-09-14T10:26:45.179Z] Marinara: Okay, no, I wasn't crazy, it was Augusteo.
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003465127362616]

[2026-09-14T10:26:55.835Z] Marinara: Guess I'll need to do it myself, damn
[Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003509821870121]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6192 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "[Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations?". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: [Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations? Discord thread link: https://discord.com/channels/1417099416812392641/1548866884600864850 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (16 messages)</summary> ```text [2026-09-14T01:24:01.844Z] Mirai: I really like Marinara overall, but I’m struggling with the current tracker system. My use case is an inventory where each item needs multiple fields, e.g. name, quantity, location, and description. The current Custom Tracker seems best suited for fixed key/value state, not dynamic structured lists. I’d also prefer incremental updates instead of replacing the whole tracker every time, like Add, Update, Remove item. This would reduce token usage and enable agents to delete item from tracker. A generic “Structured / Collection Tracker” with user-defined fields and CRUD operations could also be useful for quests, clues, injuries, contacts, assets, etc. Is there already a good way to do this that I’ve missed? If not, I think this could make the tracker system much more flexible without turning Marinara into a full RPG engine. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548866884600864850] [2026-09-14T01:24:02.714Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548866888249901118] [2026-09-14T01:27:49.184Z] Mirai: So conceptually, I want something like: ` ` `json [ { "name": "Painkillers", "quantity": 3, "location": "Backpack side pocket", "description": "Small white tablets" }, { "name": "Brass key", "quantity": 1, "location": "Coat pocket", "description": "Marked with the number 17" } ] ` ` ` And for example, the agent could edit items via: ` ` `json { "operation": "update", "id": "item_42", "changes": { "quantity": 2, "location": "Bedside table" } } ` ` ` instead of asking the model to regenerate the entire inventory every time something changes. I think a more general solution could be some kind of Structured / Collection Tracker, where users can define a schema for each entry. For example: ` ` `yaml Tracker: Inventory Fields: - name: string - quantity: number - location: string - description: text ` ` ` The tracker would then contain a variable number of rows/entries, with the ability for both the user and agents to create, update, and delete individual entries. I don't think this would only be useful for inventories. The same system could be used for things like: - Quests - Clues - Injuries - NPC relationships - Assets - Vehicles - Contacts - Equipment - Ongoing conditions So rather than adding more special-purpose trackers one by one, a generic structured collection tracker might cover a lot of different roleplay use cases. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548867838134194210] [2026-09-14T05:25:28.609Z] Marinara: There is an Inventory Tracker, why not use it? [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548927646497505341] [2026-09-14T05:27:55.462Z] Marinara: I like the incremental suggestion, though. The reason I haven’t introduced it earlier is because some models dumped the entire JSON anyway. But we can support both formats. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928262443638805] [2026-09-14T05:28:50.823Z] Marinara: Professor Mari, make issue only about incremental system of adding/removing/changing things in trackers without outputting them whole again. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928494644236320] [2026-09-14T05:28:57.897Z] Marinara: @Professor Mari GitHub Issue [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928524314742815] [2026-09-14T05:29:23.782Z] Professor Mari [bot]: Skill issue. Made a GitHub Issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/6185 This post will be marked as "Closed" on Discord since it was moved to GitHub. When the fix lands on staging, the information will be posted here. [Issue]: Support incremental tracker item operations · Issue #6185... Summary Add incremental tracker operations for adding, updating, and removing individual items without requiring the entire tracker contents to be regenerated. The system should continue supporting... [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1548928632884568104] [2026-09-14T10:19:16.566Z] Mirai: The current Inventory Tracker doesn’t allow additional information to be attached to each item; it can only track names and quantities. [attached image 1: https://cdn.discordapp.com/attachments/1548866884600864850/1549001583122186270/image.png?ex=6aa91ba4&is=6aa7ca24&hm=67739617857a67ea36b1f175a6806038326511e3fa506610f2285a80c4aa9623&] [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001583508070440] [2026-09-14T10:19:58.668Z] Mirai: However, a similar item system seems to exist in the Persona State result type. It would be great if the Inventory Tracker could be upgraded to support this kind of data structure. [attached image 1: https://cdn.discordapp.com/attachments/1548866884600864850/1549001759530295356/image.png?ex=6aa91bce&is=6aa7ca4e&hm=fe98b4cc8842769683d249bb1d8e748f133c82aa2ecbac278b58c9f53cbefe54&] [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001760096395284] [2026-09-14T10:20:54.896Z] Marinara: Now I need to remember who made this tracker, lmao. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549001995933720658] [2026-09-14T10:21:13.424Z] Professor Mari [bot]: The GitHub Issue #6185 was addressed and closed! It has now landed on staging (you can change the branch to staging in Marinara Engine's **Settings -> Advanced -> Updates -> Release Channel -> Staging/UAT**), so please test it out and let us know if everything works! [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549002073645776957] [2026-09-14T10:25:22.122Z] Marinara: WAIT. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003116760797246] [2026-09-14T10:25:30.481Z] Marinara: WHY DOES THE PR SHOW IT WAS ME, I REMEMBER SOMEONE ELSE DESIGNING IT. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003151820980295] [2026-09-14T10:26:45.179Z] Marinara: Okay, no, I wasn't crazy, it was Augusteo. [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003465127362616] [2026-09-14T10:26:55.835Z] Marinara: Guess I'll need to do it myself, damn [Discord message: https://discord.com/channels/1417099416812392641/1548866884600864850/1549003509821870121] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:03:15 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

The current Inventory Tracker doesn’t allow additional information to be attached to each item; it can only track names and quantities.

However, a similar item system seems to exist in the Persona State result type. It would be great if the Inventory Tracker could be upgraded to support this kind of data structure.

Image
<!-- gh-comment-id:5662562942 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): > The current Inventory Tracker doesn’t allow additional information to be attached to each item; it can only track names and quantities. > However, a similar item system seems to exist in the Persona State result type. It would be great if the Inventory Tracker could be upgraded to support this kind of data structure. <img width="335" height="206" alt="Image" src="https://github.com/user-attachments/assets/e6f17c58-0ea5-4181-acc7-258b8dc59ae5" />
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.

<!-- gh-comment-id:5662614443 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Implemented on staging in #6193 and Pasta-Devs/Marinara-Agents#852. Existing Inventory Tracker now retains editable description and location fields alongside name/quantity, with field locks and prompt context preserved. Inventory Tracker 1.2.0 supplies the corresponding optional-field guidance. Incremental add/update/remove with full-list compatibility was already delivered for #6185; this finishes the remaining inventory request by reusing that system. Normalization, prompt/route and light/dark browser regressions pass.

<!-- gh-comment-id:5664678262 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Implemented on staging in #6193 and Pasta-Devs/Marinara-Agents#852. Existing Inventory Tracker now retains editable description and location fields alongside name/quantity, with field locks and prompt context preserved. Inventory Tracker 1.2.0 supplies the corresponding optional-field guidance. Incremental add/update/remove with full-list compatibility was already delivered for #6185; this finishes the remaining inventory request by reusing that system. Normalization, prompt/route and light/dark browser regressions pass.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3450
No description provided.