Skip to content

Claude/tiny code self improve d4 mm r#6

Merged
zizzle6717 merged 3 commits into
mainfrom
claude/tiny-code-self-improve-d4MmR
Jun 8, 2026
Merged

Claude/tiny code self improve d4 mm r#6
zizzle6717 merged 3 commits into
mainfrom
claude/tiny-code-self-improve-d4MmR

Conversation

@zizzle6717

Copy link
Copy Markdown
Contributor

No description provided.

zizzle6717 and others added 3 commits June 7, 2026 20:32
…4Zbw

Capture token-savings as core mission; automate usage visibility
…ghts

tiny-code now reflects on a session's transcript and, when it finds concrete
friction (tool errors, retries, denials, missing capabilities), asks the user
for permission to open a pull request proposing an improvement.

The PR contains only a single markdown file under improvements/ for a
maintainer to implement separately — never code. This is enforced structurally
(regex-validated slug, one explicit staged path, staged-set assertion) so a
prompt-injected session cannot smuggle code changes into a PR. Reflection runs
with no tools, so it can never execute anything from a transcript.

- src/improve/{slug,reflect,pr,run}.ts: new module group
- config: opt-out `improve` block (on by default; TINY_CODE_IMPROVE=0 disables)
- repl: `/improve` command + auto-reflection on /exit
- PRs opened via the gh CLI; tests cover the markdown-only guarantee
…o claude/tiny-code-self-improve-d4MmR

# Conflicts:
#	README.md
@zizzle6717 zizzle6717 merged commit 048a9b3 into main Jun 8, 2026
2 checks passed
@zizzle6717 zizzle6717 deleted the claude/tiny-code-self-improve-d4MmR branch June 8, 2026 14:41
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.

2 participants