Skip to content

feat: agent preamble, post-outline approval, URL updates#24

Merged
nathanschram merged 1 commit intomasterfrom
feature/v0.24.0-preamble-plan-mode
Feb 27, 2026
Merged

feat: agent preamble, post-outline approval, URL updates#24
nathanschram merged 1 commit intomasterfrom
feature/v0.24.0-preamble-plan-mode

Conversation

@nathanschram
Copy link
Contributor

Summary

  • Agent context preamble — configurable [preamble] config injects Telegram context and structured summary template into all engine prompts via runner_bridge.py. Works for Claude, Codex, OpenCode, and Pi. Includes PreambleSettings model with enabled and text fields.
  • Post-outline approval buttons — after "Pause & Outline Plan" auto-deny, synthetic Approve/Deny buttons now appear in Telegram automatically, eliminating the need to type "approved". Uses da: callback prefix to fit 64-byte Telegram limit.
  • Resumed session fix — cooldown and approval state (_DISCUSS_COOLDOWN, _DISCUSS_APPROVED) cleaned up on session end to prevent stale state leaking into resumed runs.
  • URL updates — Homepage and Documentation URLs updated to https://littlebearapps.com/tools/untether/ in pyproject.toml, CLI help text, and GitHub repo metadata.
  • Project-scoped rules & skills — added .claude/rules/ (4 rules) and .claude/skills/ (5 skills) for development context.

Closes #21, closes #22, closes #23

Test plan

  • 896 tests pass locally (80.61% coverage)
  • ruff format + ruff check clean
  • uv lock --check passes
  • Service restarted and verified via journalctl — preamble injection confirmed in logs
  • GitHub repo homepage set via gh repo edit
  • CI pipeline passes (format, ruff, ty, pytest, build, lockfile, pip-audit, bandit, docs)

🤖 Generated with Claude Code

…dates (#21, #22, #23)

- Add configurable [preamble] that injects Telegram context and summary
  template into all engine prompts (runner_bridge.py)
- Add PreambleSettings model (enabled, text) to settings.py
- Fix Pause & Outline Plan for resumed sessions: clean up cooldown and
  approval state on session end to prevent stale state leaking
- Add synthetic Approve/Deny buttons after plan outline auto-deny,
  eliminating the need to type "approved" (da: callback prefix)
- Update Homepage/Documentation URLs to littlebearapps.com/tools/untether/
- Update CLI help text URL
- Add [preamble] section to config reference docs
- Add .claude/rules/ and .claude/skills/ for project-scoped development context
- 896 tests passing, 80.61% coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@nathanschram nathanschram merged commit 3451e99 into master Feb 27, 2026
16 checks passed
@nathanschram nathanschram deleted the feature/v0.24.0-preamble-plan-mode branch February 27, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant