Skip to content

sync: roll up fork main into upstream main#15

Merged
mosufy merged 38 commits into
ByMosDev:mainfrom
moltar-forge:main
Mar 6, 2026
Merged

sync: roll up fork main into upstream main#15
mosufy merged 38 commits into
ByMosDev:mainfrom
moltar-forge:main

Conversation

@kalinon
Copy link
Copy Markdown
Contributor

@kalinon kalinon commented Mar 6, 2026

Summary

  • Fork branch moltar-forge:main is 38 commits ahead of bymosbot:main.
  • Diffstat against upstream main: 50 files changed, 2366 insertions(+), 424 deletions(-).

What was merged in the fork

PR Title Branch Merged at
#6 Use secret for Gitleaks license main<-gitleaks 2026-03-04
#4 fix: use backend identity for remote OpenClaw gateway fallback main<-fix/openclaw-remote-gateway-auth 2026-03-04
#3 docs: fix stale OpenClaw and guide references main<-fix/docs-reference-links 2026-03-04
#2 feat(openclaw): normalize host paths for split-root workspace routing main<-codex/feature-openclaw-split-roots-api 2026-03-04
#1 feat: rename org-chart → agents across API layer main<-feature/simplify-org-chart 2026-03-04
#5 fix: disable workspace calls when OPENCLAW_WORKSPACE_URL is unset main<-fix/workspace-url-required 2026-03-04
#7 Fix OpenClaw workspace defaults and agent fallback main<-codex/fix-openclaw-ci 2026-03-04
#8 Codex/fix openclaw ci main<-codex/fix-openclaw-ci 2026-03-04
#9 Typed docs link reconciliation for workspace lifecycle main<-codex/typed-per-agent-links 2026-03-04
#10 feat: full-stack Docker test harness in docker/ main<-feature/docker-full-stack 2026-03-05

Commit-level delta

Features and behavior

  • 0e58a96 feat: add full-stack Docker test harness in docker/
  • 36cf2b2 feat: add system-managed docs link reconciliation
  • 0b29bce feat: simplify org chart — auto-generate from agents.list, remove corporate defaults
  • b3d9318 feat(openclaw): support split roots and native ~/.openclaw path remap
  • baef1e9 feat(openclaw): remap absolute paths before workspace allowlist

Fixes and reliability

  • 54e74cd fix: disable BuildKit for compose up (Podman compatibility)
  • 49b1360 fix: skip connect.challenge handler when using insecure-auth path
  • 5fe0065 fix: reconcile docs links for configured agents on startup
  • 3a19c68 fix tests for new behavior
  • 6b9dc49 fix(openclaw): remove /workspace alias and normalize main fallback
  • 66ae5a5 fix(openclaw): make remap defaults additive and longest-prefix
  • 4e3688e fix(openclaw): simplify fallback agents and allow legacy archived path
  • c80f7c0 fix: use backend client identity for gateway auth fallback
  • 7f0785e fix: disable workspace client when URL is unset

Documentation

  • 24283e8 docs: fix stale OpenClaw documentation references

CI, tooling, and maintenance

  • b530b16 chore: change workspace-service default port from 8080 to 18780
  • e10d15e chore: update engines.node to >=25.0.0

Other changes

  • b7e03f8 dont deploy to s3 on forks
  • 112f819 update .gitignore
  • d91cdca this behavior was removed
  • d8a01e7 remove url
  • 50c0d1a update changelog
  • 2fa72cb Use secret for Gitleaks license
  • 291e8b6 rename org-chart to agents
  • cd357ec Normalize main OpenClaw workspace paths to /workspace

Why this supersedes existing open upstream PRs

This rollup PR contains all commits currently on moltar-forge:main relative to bymosbot:main and therefore supersedes the following still-open incremental PRs:

moltar-bot and others added 30 commits March 2, 2026 16:10
Remove the hardcoded archived fallback agent for fresh installs and extend workspace path allowlisting to permit /_archived_workspace_main when it is intentionally present.
Add OPENCLAW_PATH_REMAP_PREFIXES support to normalize host-absolute workspace paths into virtual paths before allowlist/forwarding, keep archived fallback agent, and add integration coverage for remap + fallback behavior.
Implement API-side OpenClaw path normalization for both /home/node/.openclaw and ~/.openclaw prefixes, preserving allowlist enforcement. Add main/default agent workspace mapping to '/' when workspace is omitted to avoid /workspace-main lookups. Update integration tests and env/docs defaults so remap behavior and deployment config are consistent.
Always include built-in OpenClaw host-path remap prefixes, treat OPENCLAW_PATH_REMAP_PREFIXES as additive extras, and resolve remaps by longest prefix first to avoid nested /workspace path compounding. Also normalize explicit agent workspace values in /openclaw/agents output and align fallback archived workspace to virtual path semantics. Updated integration tests and API docs/env examples to reflect additive behavior and precedence.
- remap host workspace prefixes (~/.openclaw/workspace, /home/node/.openclaw/workspace) into /workspace/*\n- treat missing main/default agent workspaces as /workspace and align fallback COO path\n- allow /workspace and /workspace/* in strict path policy while rejecting bare /<file> paths\n- keep sub-agent/shared/config path rules unchanged\n- update integration tests for remap, allowlist, and agents mapping behavior
…porate defaults

- Replace broken extractOrgChart (which looked for nonexistent agent.orgChart fields)
  with buildOrgChartFromAgentsList that generates a flat org chart from standard
  agents.list identity fields
- Remove hardcoded COO fallback in /openclaw/agents endpoint — return empty array
  when no agents are configured
- Make title field optional in PUT/POST /org-chart/agents endpoints
- Update tests to match new behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use secret for Gitleaks license
fix: use backend identity for remote OpenClaw gateway fallback
docs: fix stale OpenClaw and guide references
…roots-api

feat(openclaw): normalize host paths for split-root workspace routing
Signed-off-by: Holden Omans <holden.omans@gmail.com>
feat: rename org-chart → agents across API layer
fix: disable workspace calls when OPENCLAW_WORKSPACE_URL is unset
kalinon and others added 8 commits March 4, 2026 14:15
Typed docs link reconciliation for workspace lifecycle
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When useInsecureAuth=true, the open handler already calls doConnectAndRpc
immediately. If the gateway also sends a connect.challenge event, the
message handler was triggering a second doConnectAndRpc call, sending
connect as id=2 instead of id=1 — causing the gateway to reject it with
INVALID_REQUEST "connect is only valid as the first request".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds docker/ as a self-contained test environment for running the full
MosBot + OpenClaw stack locally. Isolates integration testing from the
existing 3-service compose used for regular development.

docker/ contains:
- docker-compose.yml: 6-service stack (openclaw-gateway, openclaw-cli,
  workspace, api, dashboard, postgres) with paths adjusted for docker/
- docker-setup.sh: adapted from OpenClaw's setup script; generates all
  secrets automatically; adds `reset` subcommand to nuke and start fresh
- Makefile: setup, up, down, reset, logs, ps targets
- .env.example: reference for what docker-setup.sh generates
- openclaw-config/.gitkeep: placeholder for runtime-generated OpenClaw config

Also removes the now-obsolete docker-compose.override.yml and
docker-compose.prod.yml overlay files, and consolidates the root
docker-compose.yml dashboard service to use the dev target directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Podman's build engine doesn't support BuildKit's h2c protocol,
causing `listing workers for Build` errors. Setting DOCKER_BUILDKIT=0
falls back to the legacy builder which works with Podman.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: full-stack Docker test harness in docker/
Copy link
Copy Markdown
Member

@mosufy mosufy left a comment

Choose a reason for hiding this comment

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

🚀 LGTM!

@mosufy mosufy merged commit d0b9faf into ByMosDev:main Mar 6, 2026
2 checks passed
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.

3 participants