Skip to content

Commit db7045b

Browse files
author
LP
committed
Initial release v0.1.0
ReasonKit Core - Rust-first ThinkTool reasoning engine with MCP support. Features: - ThinkTool Protocol with 5 reasoning modules (GigaThink, LaserLogic, BedRock, ProofGuard, BrutalHonesty) - Reasoning profiles (quick, balanced, deep, paranoid) - MCP Server integration - SQLite telemetry with privacy-first design - TOML-based protocol configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code)
0 parents  commit db7045b

File tree

621 files changed

+155395
-0
lines changed

Some content is hidden

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

621 files changed

+155395
-0
lines changed

.cargo/config.toml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Cargo configuration for reasonkit-core
2+
# See: https://doc.rust-lang.org/cargo/reference/config.html
3+
4+
[build]
5+
# Use all available CPU cores for compilation
6+
jobs = -1
7+
8+
[term]
9+
# Enable colored output
10+
color = "auto"
11+
12+
# Progress bar configuration
13+
progress.when = "auto"
14+
progress.width = 80
15+
16+
[alias]
17+
# Convenient cargo aliases
18+
xtask = "run --package xtask --"
19+
qa = "run --bin quality_check"
20+
21+
# Quality gate shortcuts
22+
gate1 = "build --release"
23+
gate2 = "clippy -- -D warnings"
24+
gate3 = "fmt --check"
25+
gate4 = "test --all-features"
26+
gate5 = "bench --no-run"
27+
28+
# Run all quality gates
29+
gates = ["build --release", "clippy -- -D warnings", "fmt --check", "test --all-features", "bench --no-run"]
30+
31+
[target.x86_64-unknown-linux-gnu]
32+
# Linux-specific optimizations
33+
rustflags = ["-C", "target-cpu=native"]
34+
35+
[target.x86_64-unknown-linux-musl]
36+
# Static linking for musl
37+
rustflags = ["-C", "target-feature=+crt-static"]
38+
39+
[target.x86_64-apple-darwin]
40+
# macOS Intel optimizations
41+
rustflags = ["-C", "target-cpu=native"]
42+
43+
[target.aarch64-apple-darwin]
44+
# macOS ARM64 (Apple Silicon) optimizations
45+
rustflags = ["-C", "target-cpu=native"]
46+
47+
[target.x86_64-pc-windows-msvc]
48+
# Windows optimizations
49+
rustflags = ["-C", "target-cpu=native"]
50+
51+
# Documentation settings
52+
[doc]
53+
# Build docs for all features
54+
all-features = true
55+
56+
# Private items documentation
57+
private-items = false
58+
59+
# Browser to open docs
60+
browser = ["firefox", "chrome", "safari"]
61+
62+
# Environment variables for development
63+
[env]
64+
RUST_BACKTRACE = { value = "1", force = false, relative = true }
65+
RUST_LOG = { value = "info", force = false, relative = true }

.dockerignore

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# ReasonKit Core - Docker Ignore
2+
# Exclude unnecessary files from Docker build context
3+
4+
# Git
5+
.git
6+
.gitignore
7+
.gitattributes
8+
9+
# GitHub
10+
.github
11+
12+
# CI/CD
13+
.gitlab-ci.yml
14+
.travis.yml
15+
16+
# Documentation
17+
*.md
18+
!README.md
19+
docs/
20+
LICENSES/
21+
22+
# Build artifacts
23+
target/
24+
**/*.rs.bk
25+
**/*.rs.swp
26+
27+
# IDE
28+
.idea/
29+
.vscode/
30+
.vs/
31+
*.swp
32+
*.swo
33+
*~
34+
.DS_Store
35+
*.iml
36+
37+
# Rust
38+
**/*.rs.bk
39+
Cargo.lock.bak
40+
41+
# Data directories (large files)
42+
data/papers/raw/
43+
data/docs/raw/
44+
*.pdf
45+
*.jsonl
46+
47+
# Archive
48+
archive/
49+
ARCHIVE_INDEX.md
50+
51+
# Temporary files
52+
*.tmp
53+
*.temp
54+
*.log
55+
.env.local
56+
.env.*.local
57+
58+
# Test artifacts
59+
coverage/
60+
*.profdata
61+
*.profraw
62+
flamegraph.svg
63+
64+
# Benchmarks
65+
criterion/
66+
target/criterion/
67+
68+
# Development
69+
scripts/
70+
justfile
71+
Makefile
72+
73+
# Other projects
74+
../reasonkit-pro/
75+
../reasonkit-mem/
76+
../reasonkit-sh/
77+
../reasonkit-x/

.gitattributes

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# =============================================================================
2+
# ReasonKit Core Git Attributes
3+
# =============================================================================
4+
# Git LFS tracking for large binary assets in brand/
5+
# See: https://git-lfs.github.com/
6+
7+
# Brand Assets - PNG Images (often large)
8+
brand/**/*.png filter=lfs diff=lfs merge=lfs -text
9+
10+
# Brand Assets - JPEG Images
11+
brand/**/*.jpg filter=lfs diff=lfs merge=lfs -text
12+
brand/**/*.jpeg filter=lfs diff=lfs merge=lfs -text
13+
14+
# README Assets - PNG Images
15+
brand/readme/**/*.png filter=lfs diff=lfs merge=lfs -text
16+
17+
# Banners - PNG Images (typically large)
18+
brand/banners/**/*.png filter=lfs diff=lfs merge=lfs -text
19+
20+
# Keep SVGs as text (small, diffable)
21+
brand/**/*.svg text
22+
23+
# Ensure proper line endings for code
24+
*.rs text eol=lf
25+
*.toml text eol=lf
26+
*.md text eol=lf
27+
*.sh text eol=lf
28+
*.yaml text eol=lf
29+
*.yml text eol=lf
30+
*.json text eol=lf
31+
32+
# Binary files that should not be diffed
33+
*.lock binary

0 commit comments

Comments
 (0)