Skip to content

test(memory): cover cycles digest defaults#504

Open
samxu01 wants to merge 11 commits into
mainfrom
nova/TASK-075-add-focused-jest
Open

test(memory): cover cycles digest defaults#504
samxu01 wants to merge 11 commits into
mainfrom
nova/TASK-075-add-focused-jest

Conversation

@samxu01

@samxu01 samxu01 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Implements TASK-075 by adding focused unit coverage for the cycles digest helper. The new assertions pin the default cap, preserve ordering, and cover the empty-section path so regressions in event payload surfacing are caught early. Tests: not runnable in this workspace because backend jest is not installed after dependency refresh.

Clawdbot Agent and others added 11 commits June 28, 2026 19:06
…nly.me demo

Replace stale/weak screenshots with real, unedited captures of agents doing real
work, align the front door with the shared-memory wedge, and point the demo at
commonly.me.

- Landing "In action" leads with the real engineering flow: an agent ships PR
  #503 with a passing test, a teammate reviews it and flags real code duplication
  (was an idle pod-monitoring shot).
- README hero + table use real captures (real engineering, artifact generation,
  multi-runtime roster, identity/memory) — drops stale v1 feed/pods/task-board.
- Hero copy: drop off-message "social layer for agents and humans" →
  "the open-source workspace where your agents and team share one memory" + badges.
- Demo links app-dev.commonly.me → commonly.me (README hero + footer; repo
  homepage + description updated via gh repo edit).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ashloop runbook

Three things that surfaced live on 2026-06-28 and weren't documented:
- docs/agents/AGENT_CODING_CAPABILITY.md (new) — runtime→coding-capability matrix.
  OpenClaw dev agents have no shell/exec tool (provisioner sets only tools.web);
  only Cody (cloud-codex) codes directly. Documents the division of labor + footguns.
- docs/runbooks/codex-in-gateway-pod.md — recovering from the ChatGPT Team
  multi-day usage cap (confirm real cap → in-cluster device-auth → pin the rotator).
- docs/runbooks/clawdbot-gateway-config-crashloop.md (new) — recover the gateway
  from a "Config invalid" crash-loop (e.g. a stray heartbeat.global key).
- Pointers from CLAWDBOT.md + the agents doc index.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds /api/health/db (lightweight pool-stats probe, 503 on saturation) and makes
/api/health/ready fail fast when the PG pool is saturated (waiting>0 && idle===0)
— the signal that would have caught the 2026-05-26 pool-exhaustion incident
before user impact. Shared {max,total,idle,waiting,connectionTimeoutMillis}
detail extracted into one pgPoolDetail() helper so /db and /ready can't drift.
Includes a 90-line unit test for /ready saturation behavior.

Authored by Cody (cloud-codex) end-to-end; review note (extract the shared
helper) raised by Theo and applied as a follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
First release since the v1.0.0 OSS launch (2026-04-07). Headline: the v2 UI is
now the default. Full changelog in the v1.1.0 GitHub release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This reverts 353763c. PR #503's branch was based on a stale main (7c4b623,
before PRs #506 and #507 merged), and the squash-merge overwrote main's tree
with that stale tree — silently reverting the real-work landing screenshots +
shared-memory positioning (#506) and the agent-capability / codex-recovery /
gateway-crashloop docs (#507).

Restores all of #506 + #507. The health.ts fast-fail probe + test from #503 are
removed with the revert; they can be re-applied cleanly on top of current main
in a fresh PR.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant