Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1a1bdaf
Refresh README for minicode-lite product surfaces
QUSETIONS Jun 6, 2026
ceb7ff6
Add headless trace artifacts and runtime diagnostics
QUSETIONS Jun 6, 2026
4d1c447
Merge main into codex/minicode-lite-productization and refresh README…
QUSETIONS Jun 7, 2026
dd6e934
Fix Windows bugs, TS-parity gaps, logging hardening, and compaction d…
QUSETIONS Jun 15, 2026
e1f1faa
Harden memory + anthropic adapter against None/missing-key crashes
QUSETIONS Jun 15, 2026
73cb6bf
Harden system-prompt builder + fix memory search concurrency race
QUSETIONS Jun 16, 2026
cbb941f
fix: include /collapse TUI handler (was missed when committing its test)
QUSETIONS Jun 16, 2026
b2f6720
feat: MINICODE_COMMAND_ENCODING override for cp936/GBK command output
QUSETIONS Jun 16, 2026
07edbef
test: integration rounds covering the bug-fix batch end-to-end
QUSETIONS Jun 16, 2026
a5048ed
chore: clean up dead py-src mirror remnants + caches
QUSETIONS Jun 16, 2026
c58b7bd
chore: remove 3 confirmed-unused imports (tty_app logging, circuit_br…
QUSETIONS Jun 16, 2026
81378a8
chore: remove dead context_isolation module + flag stale CODE_WIKI
QUSETIONS Jun 16, 2026
e89d9c7
chore: remove dead skipped tests for deleted gateway/cron_runner modules
QUSETIONS Jun 16, 2026
998feb7
docs: add accurate STRUCTURE.md for the canonical minicode/ package
QUSETIONS Jun 16, 2026
0c6149d
chore: drop tracked .qwen runtime state (tool settings, not source)
QUSETIONS Jun 16, 2026
62094d3
perf/fix: prompt_pipeline lru_cache leak + clear_cache stale; prompt …
QUSETIONS Jun 17, 2026
f8cd3c2
fix(ci): resolve all ruff E/F lint errors (CI was red on every run)
QUSETIONS Jun 17, 2026
47db045
fix(ci): remove dead entry points for deleted gateway/cron_runner mod…
QUSETIONS Jun 17, 2026
366aa10
ci: make full-suite non-blocking + show first failure (-x --tb=short)
QUSETIONS Jun 17, 2026
6380fdb
fix(ci): fix 3 CI-only test failures
QUSETIONS Jun 17, 2026
c7395d5
ci: remove continue-on-error (full suite now passes on all platforms)
QUSETIONS Jun 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ ANTHROPIC_MODEL=claude-sonnet-4-20250514
MINI_CODE_LOG_LEVEL=WARNING
# Options: DEBUG, INFO, WARNING, ERROR

# --- Command output encoding ---
# Encoding used to decode run_command output. Defaults to utf-8.
# On Chinese Windows, set to cp936 (or gbk) so legacy commands that output in
# the OEM code page (dir, systeminfo, batch scripts printing CJK) decode
# correctly instead of mojibake. Pick whichever matches the majority of your
# commands; a single value can't cover mixed utf-8 + cp936 output perfectly.
# MINI_CODE_COMMAND_ENCODING=cp936

# --- Workspace (for Docker) ---
MINI_CODE_WORKSPACE=.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
run: python -m pytest tests/test_packaging.py -q

- name: Run test suite
run: python -m pytest -q
run: python -m pytest -q --tb=short
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,37 @@ Thumbs.db
# Logs
*.log

# Local secrets and provider credentials
.env
.env.*
!.env.example
paper_experiments/*.env
paper_experiments/*.env.local
paper_experiments/.secrets/
!paper_experiments/env.local.example
paper_experiments/results/relative_event_target_pairs_cache.json

# Temporary files
*.tmp
*.bak
*.orig
*.swp
tmp_*.json
tmp_*.py
tmp_*.log

# Local tool/runtime state
.claude/settings.local.json
.omx/
.playwright-mcp/
.mini-code-memory/*.json

# MiniCode specific
.mini-code/
minicode_session/

# Local caches / runtime tool state / dead backups (never commit)
.qwen/
__pycache__/
*.git.bak/
.dead-modules-backup/
8 changes: 0 additions & 8 deletions .qwen/settings.json

This file was deleted.

7 changes: 0 additions & 7 deletions .qwen/settings.json.orig

This file was deleted.

11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,24 @@

<p align="center">
<img alt="Python" src="https://img.shields.io/badge/Python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white">
<img alt="Tests" src="https://img.shields.io/badge/tests-1030%20passed-brightgreen?style=flat-square">
<img alt="Tests" src="https://img.shields.io/badge/tests-1000%2B%20passed-brightgreen?style=flat-square">
<img alt="Package" src="https://img.shields.io/badge/package-minicode--py-555?style=flat-square">
</p>

<p align="center">
<img alt="MiniCode Python terminal hero showing memory, session, rewind, and readiness" src="./docs/assets/readme/minicode-terminal-hero.svg" width="100%">
<img alt="Real MiniCode Python frontend demo showing memory, session, rewind, and readiness" src="./docs/assets/readme/minicode-frontend-hero.png" width="100%">
</p>

<p align="center">
<em>Memory / Session / Rewind / Readiness: the runtime is part of the product.</em>
<em>Real MiniCode frontend demo, not a mock: the landing page now reflects the current Python runtime and shows memory, session, rewind, and readiness as first-class product surfaces.</em>
</p>

MiniCode Python is the Python runtime in the MiniCode family. It is built for local development where the agent needs to survive long sessions, keep its state inspectable, recover from bad edits, and show what it is doing while it works.

If Claude Code represents the polished terminal-agent experience, MiniCode Python is the lightweight, local-first version that leans harder into runtime transparency, durable sessions, memory-backed continuity, rewindability, and verifiable behavior.

The screenshot above is rendered from the real MiniCode frontend demo. It highlights the four product promises we care about most on day one: memory that keeps context alive, sessions you can inspect and replay, rewind flows that make local edits safer, and readiness checks that tell you whether the runtime is actually ready to work.

## At a Glance

MiniCode Python is for you if you want:
Expand Down Expand Up @@ -179,7 +181,7 @@ Current local verification result:
Verification command:

```bash
python -m compileall -q minicode py-src\minicode tests
python -m compileall -q minicode tests
pytest -q
```

Expand Down Expand Up @@ -229,7 +231,6 @@ What matters is not the diagram itself. What matters is that runtime state is tr
| `docs/` | Architecture notes, optimization history, and productization reports. |
| `openspec/` | Specs, archived change records, and build/verify planning artifacts. |
| `.mini-code-memory/` | Workspace-level durable memory state created by the runtime. |
| `py-src/minicode/` | Compatibility and migration mirror. |

## Core Modules

Expand Down
Loading
Loading