Skip to content

Add self-improvement: markdown-only improvement PRs from session insights#3

Merged
zizzle6717 merged 2 commits into
claude/beautiful-bohr-Et4LXfrom
claude/tiny-code-self-improve-d4MmR
Jun 8, 2026
Merged

Add self-improvement: markdown-only improvement PRs from session insights#3
zizzle6717 merged 2 commits into
claude/beautiful-bohr-Et4LXfrom
claude/tiny-code-self-improve-d4MmR

Conversation

@rililive

@rililive rililive commented Jun 8, 2026

Copy link
Copy Markdown

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

claude added 2 commits June 8, 2026 01:38
…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 877a8c9 into claude/beautiful-bohr-Et4LX 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.

3 participants