Skip to content

Commit 4ac055b

Browse files
authored
Merge pull request #12 from QUSETIONS/codex/minicode-lite-productization
Codex/minicode lite productization
2 parents 54d47f3 + c7395d5 commit 4ac055b

312 files changed

Lines changed: 5487 additions & 65886 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ ANTHROPIC_MODEL=claude-sonnet-4-20250514
4545
MINI_CODE_LOG_LEVEL=WARNING
4646
# Options: DEBUG, INFO, WARNING, ERROR
4747

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

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
run: python -m pytest tests/test_packaging.py -q
4040

4141
- name: Run test suite
42-
run: python -m pytest -q
42+
run: python -m pytest -q --tb=short

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,37 @@ Thumbs.db
4646
# Logs
4747
*.log
4848

49+
# Local secrets and provider credentials
50+
.env
51+
.env.*
52+
!.env.example
53+
paper_experiments/*.env
54+
paper_experiments/*.env.local
55+
paper_experiments/.secrets/
56+
!paper_experiments/env.local.example
57+
paper_experiments/results/relative_event_target_pairs_cache.json
58+
4959
# Temporary files
5060
*.tmp
5161
*.bak
62+
*.orig
63+
*.swp
64+
tmp_*.json
65+
tmp_*.py
66+
tmp_*.log
67+
68+
# Local tool/runtime state
69+
.claude/settings.local.json
70+
.omx/
71+
.playwright-mcp/
72+
.mini-code-memory/*.json
5273

5374
# MiniCode specific
5475
.mini-code/
5576
minicode_session/
77+
78+
# Local caches / runtime tool state / dead backups (never commit)
79+
.qwen/
80+
__pycache__/
81+
*.git.bak/
82+
.dead-modules-backup/

.qwen/settings.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.qwen/settings.json.orig

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,24 @@
1414

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

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

2525
<p align="center">
26-
<em>Memory / Session / Rewind / Readiness: the runtime is part of the product.</em>
26+
<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>
2727
</p>
2828

2929
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.
3030

3131
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.
3232

33+
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.
34+
3335
## At a Glance
3436

3537
MiniCode Python is for you if you want:
@@ -179,7 +181,7 @@ Current local verification result:
179181
Verification command:
180182

181183
```bash
182-
python -m compileall -q minicode py-src\minicode tests
184+
python -m compileall -q minicode tests
183185
pytest -q
184186
```
185187

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

234235
## Core Modules
235236

0 commit comments

Comments
 (0)