Skip to content

fix: make atelet / ateom use actor UID for its internal bookkeeping#438

Open
Eric Bishop (ericdbishop) wants to merge 6 commits into
agent-substrate:mainfrom
ericdbishop:actor-uid-refactor
Open

fix: make atelet / ateom use actor UID for its internal bookkeeping#438
Eric Bishop (ericdbishop) wants to merge 6 commits into
agent-substrate:mainfrom
ericdbishop:actor-uid-refactor

Conversation

@ericdbishop

@ericdbishop Eric Bishop (ericdbishop) commented Jul 14, 2026

Copy link
Copy Markdown

Fixes #422

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Gen AI disclosure: Used GPT-5.6 sol to learn about the codebase / issue context, enumerate where the actor name/atespace were being used for bookkeeping, and for adversarial review of my code.

Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Signed-off-by: Eric Bishop <ericbish.dev@gmail.com>
Comment thread cmd/atelet/main.go
// Record the (manifest-pinned) sandbox binaries on-node so a subsequent
// Checkpoint of this restored actor can re-pin the same version.
if err := writeSandboxRecord(atespace, actorName, sandboxRec); err != nil {
if err := writeSandboxRecord(req.ActorUid, sandboxRec); err != nil {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can just use actorUID

// so a later Checkpoint can pin the same version into the snapshot manifest.
SandboxAssets sandbox_assets = 7;

string actor_uid = 8;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in this stage, proto renumbering is fine, can you move actor_uid below actor_name to keep the readability?
Same for all protos you modified in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make atelet / ateom use actor UID for its internal bookkeeping

2 participants