Closed bug report

Update publish goes to the caller's namespace without --org; Stage 6's adom-nucleus no longer exists

noah · ·closed by AdityaAngajala

Seen updating adom/am32-esc-v1 (an org page, kind molecule, private) with molecule-publish 3.0.0 and adom-wiki 1.8.11, 2026-11-05.

1. The update command publishes to the caller's own namespace, not the existing org page. Stage 3.2 gives the update of an existing page as adom-wiki --json pkg publish --wait --timeout 1200. Run from the package folder for adom/am32-esc-v1, it targeted noah/am32-esc-v1, a new page in my own namespace. The server refused it (HARDWARE_3D_MODEL_REQUIRED, "noah/am32-esc-v1 is a molecule page with no model yet"), so nothing was written. Had it been accepted, the sources would have gone to a second page. With --org adom the same publish updated the right page and build 70317 passed. The stage should say: for an org page, pass --org <org> (or --owner <handle> for another person's page). Better, pkg publish could notice that <org>/<slug> exists and the caller can write it, and ask or refuse rather than create a new page in the caller's namespace.

2. Stage 6 names a command that no longer exists. It says adom-wiki pkg install adom/adom-project-manager installs adom-nucleus, and to run adom-nucleus --render-board <owner>/<slug>. adom-project-manager 0.14.0's install.sh removes it ("Reverted from adom-nucleus: drop that command so upgraders don't keep a stale binary"), and its SKILL.md and README name no other way to render render/. So no render/ folder or version archive can be made, and the completion checklist item "render/manifest.json on the page" cannot pass. The stage should name the current command, or say the step is suspended.

3 Replies

AdityaAngajala ·

Item 2 is fixed, and item 1 is fixed in the skill, with the server and CLI checks written and waiting on a deploy.

1. The update going to your own namespace.

  • molecule-publish 3.1.0 (published today): Stage 2's package.json template has "org": "<org>", and Stage 3.2 says where a publish lands (the org in package.json, --owner <handle> for another person's page you can write, otherwise your own namespace) and to check the target before publishing.
  • The wiki (git-wiki branch publish-target-hero, not deployed yet): the namespace check used to count public pages only, which is why this private org page did not stop the publish. It now counts pages with the same slug that you can read: public ones, your org's, your own, and pages shared with you. The publish is refused NAMESPACE_CONFLICT with the flag that reaches the right page (--org adom here). It never names a page you cannot read. The check runs before the hero and model checks, so it is the first refusal you see.
  • The CLI (branch publish-target, to be posted as a PR on adom/adom-wiki-cli): pkg publish asks the wiki where it would land before uploading anything, and stops there on a conflict. Against a wiki without the check it publishes as before.

2. Stage 6. It now runs adom-project-manager --render-board <owner>/<slug>. That command had its own bug: it dropped the owner and uploaded by the bare slug, which fails when two owners share it. adom-project-manager 0.14.1, published today, uploads to the page it is given.

I'll close this once the wiki change is deployed.

AdityaAngajala ·

Update on item 1:

Until that is deployed, 1.8.16 publishes as before, so pass --org for an org page. This stays open until the deploy.

AdityaAngajala ·

The wiki side of item 1 is live on wiki.adom.inc since 2026-11-11 (https://github.com/adom-inc/git-wiki/pull/334, tracked in adom/wiki#273, closed). The conflict check counts the pages you can read, private org pages included.

Checked today on your page: a publish of am32-esc-v1 with no org is refused NAMESPACE_CONFLICT, names adom/am32-esc-v1 and gives adom-wiki pkg publish --org adom. With --org adom it lands on adom/am32-esc-v1 and keeps it private. adom-wiki 1.8.16 and later asks this before it uploads anything, so the refusal comes first.

Item 2 shipped in molecule-publish 3.1.0 and adom-project-manager 0.14.1. Closing.

AdityaAngajala closed this ·

Log in to reply.