Skip to content

Commit d1e73e5

Browse files
committed
tmp
1 parent db3ddef commit d1e73e5

64 files changed

Lines changed: 7533 additions & 1073 deletions

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ target/
1919
config.toml
2020
guide/book
2121
data
22+
data-bak
2223
**/*.log

CLAUDE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Mitosis Project
2+
3+
## Project Overview
4+
Primary language: Rust. Always run `cargo check` or `cargo build` after changes to verify compilation. Prefer practical runtime verification over purely syntactic checks.
5+
6+
## Working Style
7+
- When the user suggests a simpler approach or architectural change, adopt it immediately rather than defending the current implementation. The user has better context on the desired design.
8+
- Before implementing non-trivial features, outline the proposed architecture and get approval before writing code.
9+
10+
## Concurrency & Parallelism Patterns
11+
- When implementing concurrent/parallel patterns (producer-consumer, async pipelines), prefer the simplest architecture that overlaps I/O operations.
12+
- Do NOT collect all items before processing — overlap production and consumption.
13+
- Avoid redundant intermediate data structures (e.g., separate list + dict for the same data).
14+
- Ask for clarification on the desired concurrency model before implementing.
15+
16+
## Streaming & Real-Time Data
17+
- When streaming data (stdout, network, etc.), always verify that output is truly streaming in real-time and not being buffered.
18+
- Test with continuous output commands (e.g., `ping`) rather than short-lived ones.
19+
20+
## Git Workflow
21+
- Before committing, always run `git status` and `git diff --cached` to ensure only the intended files are staged.
22+
- Never commit previously staged files that aren't part of the current task.
23+
- If unsure, show the user what will be committed before proceeding.

Cargo.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)