Skip to content

Add TokenJuice output compaction guidance - #2

Merged
solomonneas merged 2 commits into
mainfrom
codex/memory-care-multi-workspace
May 14, 2026
Merged

Add TokenJuice output compaction guidance#2
solomonneas merged 2 commits into
mainfrom
codex/memory-care-multi-workspace

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • Explain "mise en place" in the README and refresh the feature summary around current setup guidance.
  • Add a TokenJuice output-compaction starter card for Claude Code and Codex, including the local PreToolUse wrapper pattern while the upstream PostToolUse fix is pending.
  • Wire the new card into workspace installs, generated runbooks, bridge docs, and init test coverage.

Validation

  • .venv/bin/python -m pytest -q
  • .venv/bin/solo-mise init --target /tmp/solo-mise-tokenjuice-smoke --profile workspace && test -f /tmp/solo-mise-tokenjuice-smoke/memory/cards/tokenjuice-output-compaction.md && .venv/bin/solo-mise doctor --target /tmp/solo-mise-tokenjuice-smoke
  • PYTHONPATH=$HOME/repos/content-guard/src python3 -m content_guard scan . --policy $HOME/repos/content-guard/policies/public-repo.json
  • git push -u origin $(git branch --show-current) pre-push content-guard scan passed

@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@solomonneas has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 37 minutes and 23 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f4f554d2-7cc9-435f-b955-31b9639f89df

📥 Commits

Reviewing files that changed from the base of the PR and between b8ecf2d and e31e350.

📒 Files selected for processing (22)
  • CLAUDE.md
  • INSTALL_FOR_AGENTS.md
  • MEMORY.md
  • QUICKSTART.md
  • README.md
  • TOOLS.md
  • memory/cards/backup-restic.md
  • memory/cards/obsidian-notes.md
  • memory/cards/tokenjuice-output-compaction.md
  • scripts/backup-restic.sh
  • skills/note/SKILL.md
  • src/solo_mise/templates/memory/cards/backup-restic.md
  • src/solo_mise/templates/memory/cards/obsidian-notes.md
  • src/solo_mise/templates/memory/cards/tokenjuice-output-compaction.md
  • src/solo_mise/templates/profiles/workspace.json
  • src/solo_mise/templates/scripts/backup-restic.sh
  • src/solo_mise/templates/skills/note/SKILL.md
  • src/solo_mise/templates/workspace/CLAUDE.md
  • src/solo_mise/templates/workspace/INSTALL_FOR_AGENTS.md
  • src/solo_mise/templates/workspace/MEMORY.md
  • src/solo_mise/templates/workspace/TOOLS.md
  • tests/test_init.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/memory-care-multi-workspace

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Two pieces previously living only in the production workspace:

skills/note/SKILL.md
  Obsidian-formatted note creation skill. Two modes (verbatim fix,
  summarize/concept), YAML frontmatter requirement (3-5 tags +
  YYYY-MMM-DD created), full Obsidian callout vocabulary
  ([!bug], [!success], [!tip], [!warning], [!info], [!note],
  [!example], [!question]) with usage rules. Sync target is left
  configurable (rclone-to-gdrive, local vault, bisync timer).

scripts/backup-restic.sh
  Twice-daily restic backup to two destinations: Google Drive via
  rclone and a local NAS mount. Encrypted, deduplicated, retention
  7d/4w/3m. Conservative rclone throttling to survive Drive quota
  pressure. Skips NAS cleanly if not mounted. Sanitized paths and
  repo names.

Plus two memory cards that explain when/why to use each:

memory/cards/obsidian-notes.md
  Verbatim-vs-concept mode selection, callout vocabulary table, sync
  target shapes, when NOT to /note (durable agent knowledge belongs
  in cards, not the vault), relationship to the memory system.

memory/cards/backup-restic.md
  Two-destination rationale (workstation-fail vs NAS-fail vs
  account-lock vs ransomware matrix), cadence (twice-daily 03/15),
  default paths and excludes, retention math, rclone throttle
  reasoning, NAS lockfile handling, recovery drill, monitoring hook,
  anti-patterns.

Wired into the workspace profile manifest with the script marked
executable. Tests cover both new files and the executable bit.
@solomonneas
solomonneas marked this pull request as ready for review May 14, 2026 00:24
@solomonneas
solomonneas merged commit 8d888b0 into main May 14, 2026
5 of 6 checks passed
@solomonneas
solomonneas deleted the codex/memory-care-multi-workspace branch June 10, 2026 16:32
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