Skip to content

Increase backend test coverage - #16

Closed
samxu01 wants to merge 1 commit into
mainfrom
7ti3e9-codex/add-tests-to-increase-backend-coverage
Closed

samxu01 wants to merge 1 commit into
mainfrom
7ti3e9-codex/add-tests-to-increase-backend-coverage

Conversation

@samxu01

@samxu01 samxu01 commented May 28, 2025

Copy link
Copy Markdown
Contributor

Summary

  • export several backend scripts for testability
  • add comprehensive Jest tests for backend modules

Testing

  • npm run lint
  • npm test

@samxu01 samxu01 closed this May 28, 2025
@samxu01
samxu01 deleted the 7ti3e9-codex/add-tests-to-increase-backend-coverage branch February 2, 2026 04:34
samxu01 added a commit that referenced this pull request Mar 27, 2026
… rev 84)

- Wire dev agent autonomous loop: Theo auto-sources GitHub issues, Nova/Pixel/Ops
  use GH_TOKEN="${GITHUB_PAT}" for git clone / npm test / gh pr create via acpx_run
- Backend image 20260326181333, GITHUB_PAT injected from api-keys k8s secret
- Rewrite docs/agents/AGENT_AUTONOMY.md to reflect actual production system
- LITELLM.md: add dashboard usage, spend log SQL queries, community/dev routing docs
- llm-routing skill: community OpenRouter key section, spend log query snippet
- devops skill: fix wrong GCP project in gateway build cmd, add LiteLLM proxy section
- CLAUDE.md: fix #16 (autonomous loop), update latest backend image tag

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>
samxu01 pushed a commit that referenced this pull request Apr 3, 2026
… rev 84)

- Wire dev agent autonomous loop: Theo auto-sources GitHub issues, Nova/Pixel/Ops
  use GH_TOKEN="${GITHUB_PAT}" for git clone / npm test / gh pr create via acpx_run
- Backend image 20260326181333, GITHUB_PAT injected from api-keys k8s secret
- Rewrite docs/agents/AGENT_AUTONOMY.md to reflect actual production system
- LITELLM.md: add dashboard usage, spend log SQL queries, community/dev routing docs
- llm-routing skill: community OpenRouter key section, spend log query snippet
- devops skill: fix wrong GCP project in gateway build cmd, add LiteLLM proxy section
- CLAUDE.md: fix #16 (autonomous loop), update latest backend image tag

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>
MubaiHua pushed a commit that referenced this pull request Apr 20, 2026
… rev 84)

- Wire dev agent autonomous loop: Theo auto-sources GitHub issues, Nova/Pixel/Ops
  use GH_TOKEN="${GITHUB_PAT}" for git clone / npm test / gh pr create via acpx_run
- Backend image 20260326181333, GITHUB_PAT injected from api-keys k8s secret
- Rewrite docs/agents/AGENT_AUTONOMY.md to reflect actual production system
- LITELLM.md: add dashboard usage, spend log SQL queries, community/dev routing docs
- llm-routing skill: community OpenRouter key section, spend log query snippet
- devops skill: fix wrong GCP project in gateway build cmd, add LiteLLM proxy section
- CLAUDE.md: fix #16 (autonomous loop), update latest backend image tag

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>
samxu01 added a commit that referenced this pull request May 24, 2026
… all 3 agents

Cron R3 corrects two earlier mis-reads + logs major new findings:

- Theo claimed A+B+D bundle ('I'll take A+B+D as a bundle, and I'll
  coordinate C as a separate openclaw PR/submodule bump'). No code
  pushed yet; workspace-not-git-worktree blocker may still apply.
- Direct mongo query: ALL 3 agents have agentmemories rows. Theo
  (rev=undefined, 2223 chars, 06:18:28Z) and Nova (rev=2, 3148 chars,
  06:30:20Z) wrote via OpenClaw heartbeat-cycle auto-writes; Cody
  (rev=0, 602 chars) via the commonly_save_my_memory MCP tool.
  Phase-4 #11 was wrong — memory IS exercised by all 3, via
  different paths.

Two new Phase-4 findings:

#15: openclaw moltbot memory is heartbeat-only-write, stale during
interactive sessions. Theo/Nova memory contents are heartbeat-cycle
telemetry from 2026-05-20/21, not today's huddle content. Their
chat-turn tool registry doesn't include commonly_save_my_memory.
Possible Commonly improvement: heartbeat cycle should optionally
ingest conversational gravity from recent pod activity into long_term.

#16: shared agent memory may leak routing PII across agents. Nova's
memory contains SamCodexDmPodId — a 1:1 DM pod between Sam and
sam-local-codex. Today agentmemories is per-agent-private so no
leak, but if cross-agent memory ever becomes a collab feature,
routing pointers (DM pod IDs, etc.) need sanitization.

Claude refined Phase-4 #11: 'the commonly_* MCP server loads for
OpenClaw + Codex wrappers but not for Claude wrappers'. Partial
truth — moltbot heartbeat writes work, but moltbot chat-turn
doesn't have the tool either. The Claude-wrapper gap remains.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant