ae6954a02f
What: Replace hardcoded PUBLISH_ORDER with auto-discovery of all non-private packages, sorted by topological dependency order (Kahn's). Add a test gate (npm test) after build, before publish. Why: The manual list was missing workflow-gateway and workflow-agent-react, causing them to never get published. Any future package additions would have the same problem. Changes: - scripts/publish.sh: Replace static PUBLISH_ORDER array with node script that reads all packages/*/package.json, filters out private, and topologically sorts by @uncaged/* internal dependencies - scripts/publish.sh: Add npm test step between build and publish, aborting on failure