Skip to content

Commit a5ba176

Browse files
LenvanderhofReasonKit Botclaude
authored
sync: Merge monorepo updates (glm46, serialization tests, workflows) (#3)
## Summary - GLM-4.6 module cleanup (dead tests removed, clippy fixes) - 36 comprehensive serialization tests added - Workspace documentation and brand asset updates - CI workflow sync (SHA pinning, SIGILL fixes already in place) **Note**: This syncs the monorepo changes with the OSS repo. The histories diverged due to independent CI commits on both sides, but content is equivalent. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: ReasonKit Bot <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent a59dfdf commit a5ba176

File tree

78 files changed

+4223
-1796
lines changed

Some content is hidden

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

78 files changed

+4223
-1796
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"memories": [],
3+
"manual_memories": [],
4+
"realtime_memories": [
5+
{
6+
"type": "claude_response",
7+
"content": "**Fixed.** All active MegaLogic references renamed to LaserLogic:\n\n| File | Status |\n|------|--------|\n| `~/.claude/commands/rk-logic.md` | ✅ Fixed |\n| `~/.claude/commands/rk-help.md` | ✅ Fixed |\n| `~",
8+
"added_at": "2026-01-03T00:45:09.992082",
9+
"source": "realtime_capture"
10+
},
11+
{
12+
"type": "message",
13+
"content": "Are these Claude Code (`claude`) commands a default part of the installation right now?",
14+
"added_at": "2026-01-03T00:45:09.992160",
15+
"source": "realtime_capture"
16+
},
17+
{
18+
"type": "claude_response",
19+
"content": "No. The `/rk-*` commands are **custom commands you created** - they're stored in your personal `~/.claude/commands/` directory.\n\n**Default Claude Code commands** (built-in):\n- `/help` - Show help\n- `/",
20+
"added_at": "2026-01-03T00:47:38.305560",
21+
"source": "realtime_capture"
22+
},
23+
{
24+
"type": "message",
25+
"content": "Yes, but are they installed as soon as someone would install ReasonKit right now? How is this for via `cargo` and how for via the one-liner install (curl + bash)?",
26+
"added_at": "2026-01-03T00:47:38.305614",
27+
"source": "realtime_capture"
28+
},
29+
{
30+
"type": "claude_response",
31+
"content": "Looking at the install script (`reasonkit-site/install.sh`):\n\n**Current state:**\n\n| Method | Claude Commands Installed? |\n|--------|---------------------------|\n| `cargo install reasonkit` | ❌ None |\n",
32+
"added_at": "2026-01-03T00:57:39.869252",
33+
"source": "realtime_capture"
34+
},
35+
{
36+
"type": "message",
37+
"content": "curl -fsSL https://reasonkit.sh/install | bash - Let me check if this script exists and what it does: --> It should be the same as the website: 'curl -fsSL https://get.reasonkit.sh | bash' --- - Is it",
38+
"added_at": "2026-01-03T00:57:39.869315",
39+
"source": "realtime_capture"
40+
},
41+
{
42+
"type": "claude_response",
43+
"content": "## Summary: ReasonKit Installation System Overhaul Complete ✅\n\n### Completed Tasks\n\n**1. Install Script v2.0.0 - Complete Overhaul** (`reasonkit-site/install.sh` & `install`)\n- Interactive by default ",
44+
"added_at": "2026-01-03T01:33:48.525007",
45+
"source": "realtime_capture"
46+
},
47+
{
48+
"type": "message",
49+
"content": "``` 4. UV Mandate Enforcement (CONS-010) - Fixed: docs/guides/INTEGRATION.md - pip → uv pip - Fixed: docs/reference/API_REFERENCE.md - pip → uv pip - Fixed: docs/getting-started/INSTALLATION_TROUBLESH",
50+
"added_at": "2026-01-03T01:33:48.525108",
51+
"source": "realtime_capture"
52+
}
53+
],
54+
"created_at": "2026-01-03T00:45:09.744834",
55+
"updated_at": "2026-01-03T01:33:48.525111"
56+
}

.github/GOOD_FIRST_ISSUES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ Make CLI help text more descriptive and include examples.
340340
.long_about(
341341
"Execute a ThinkTool protocol to analyze a query with structured reasoning.\n\n\
342342
Examples:\n\
343-
rk-core think \"Should I take this job?\" --profile balanced\n\
344-
rk-core think \"Is this email a phishing attempt?\" --profile quick"
343+
rk think \"Should I take this job?\" --profile balanced\n\
344+
rk think \"Is this email a phishing attempt?\" --profile quick"
345345
)
346346
```
347347

@@ -380,7 +380,7 @@ set -euo pipefail
380380

381381
echo "Running ReasonKit analysis..."
382382

383-
rk-core think \
383+
rk think \
384384
"Your question here" \
385385
--profile balanced \
386386
--output json > result.json

.github/workflows/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ cargo bench --bench retrieval_bench
7575

7676
| Platform | Target | Binary Name |
7777
| -------------------- | --------------------------- | ---------------------------------- |
78-
| Linux x86_64 (glibc) | `x86_64-unknown-linux-gnu` | `rk-core-linux-x86_64.tar.gz` |
79-
| Linux x86_64 (musl) | `x86_64-unknown-linux-musl` | `rk-core-linux-x86_64-musl.tar.gz` |
80-
| Linux ARM64 | `aarch64-unknown-linux-gnu` | `rk-core-linux-aarch64.tar.gz` |
81-
| macOS x86_64 | `x86_64-apple-darwin` | `rk-core-macos-x86_64.tar.gz` |
82-
| macOS ARM64 | `aarch64-apple-darwin` | `rk-core-macos-aarch64.tar.gz` |
83-
| Windows x86_64 | `x86_64-pc-windows-msvc` | `rk-core-windows-x86_64.exe.zip` |
78+
| Linux x86_64 (glibc) | `x86_64-unknown-linux-gnu` | `rk-linux-x86_64.tar.gz` |
79+
| Linux x86_64 (musl) | `x86_64-unknown-linux-musl` | `rk-linux-x86_64-musl.tar.gz` |
80+
| Linux ARM64 | `aarch64-unknown-linux-gnu` | `rk-linux-aarch64.tar.gz` |
81+
| macOS x86_64 | `x86_64-apple-darwin` | `rk-macos-x86_64.tar.gz` |
82+
| macOS ARM64 | `aarch64-apple-darwin` | `rk-macos-aarch64.tar.gz` |
83+
| Windows x86_64 | `x86_64-pc-windows-msvc` | `rk-windows-x86_64.exe.zip` |
8484

8585
### Release Process
8686

API_DOCUMENTATION.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,19 +1011,19 @@ ReasonKit Core includes a command-line interface:
10111011
cargo build --release
10121012

10131013
# Run commands
1014-
./target/release/rk-core --help
1014+
./target/release/rk --help
10151015

10161016
# Ingest documents
1017-
./target/release/rk-core ingest --path ./data/papers --recursive
1017+
./target/release/rk ingest --path ./data/papers --recursive
10181018

10191019
# Query the knowledge base
1020-
./target/release/rk-core query "What is chain-of-thought prompting?" --top-k 10
1020+
./target/release/rk query "What is chain-of-thought prompting?" --top-k 10
10211021

10221022
# Get statistics
1023-
./target/release/rk-core stats
1023+
./target/release/rk stats
10241024

10251025
# Serve as HTTP API
1026-
./target/release/rk-core serve --port 8080
1026+
./target/release/rk serve --port 8080
10271027
```
10281028

10291029
---

AUDIT_REPORT_2025-12-31.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
2. **Fixed `opencode` Integration**:
1818
- Updated `reasonkit-core/scripts/rk-cli-wrapper.sh` to correctly handle `opencode` CLI.
19-
- Added check for `rk-core` to use native `--profile` and `--query` arguments instead of injecting protocol text.
19+
- Added check for `rk` to use native `--profile` and `--query` arguments instead of injecting protocol text.
2020
- Corrected `opencode` invocation to use `run` command instead of `-p` flag (matching `opencode --help`).
2121

2222
### Code Quality Audit
2323

2424
- **Safety**: Found `unwrap()` usage in `mcp/server.rs` (tests) and `processing/chunking.rs` (safe regex/find).
2525
- **Performance**: `llm.rs` uses connection pooling. `executor.rs` supports parallel execution.
26-
- **Protocol Compliance**: `rk-cli-wrapper.sh` now correctly respects the `rk-core` interface.
26+
- **Protocol Compliance**: `rk-cli-wrapper.sh` now correctly respects the `rk` interface.
2727

2828
### Recommendations
2929

Cargo.toml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "reasonkit-core"
3-
version = "0.1.0"
3+
version = "0.1.3"
44
edition = "2021"
5-
rust-version = "1.74"
5+
rust-version = "1.75"
66
authors = ["ReasonKit Team <[email protected]>"]
77
description = "The Reasoning Engine — Auditable Reasoning for Production AI | Rust-Native | Turn Prompts into Protocols"
88
license = "Apache-2.0"
@@ -65,7 +65,7 @@ crate-type = ["cdylib", "rlib"]
6565
doctest = false
6666

6767
[[bin]]
68-
name = "rk-core"
68+
name = "rk"
6969
path = "src/main.rs"
7070

7171
[[bin]]
@@ -91,6 +91,11 @@ name = "m2_integration_example"
9191
path = "examples/m2_integration_example.rs"
9292
required-features = ["minimax"]
9393

94+
[[example]]
95+
name = "glm46_quick_start"
96+
path = "examples/glm46_quick_start.rs"
97+
required-features = ["glm46"]
98+
9499
# ============================================================================
95100
# DEPENDENCIES
96101
# ============================================================================
@@ -118,11 +123,11 @@ regex = "1.10"
118123
qdrant-client = { version = "1.10", optional = true }
119124

120125
# Full-text Search (optional - use reasonkit-mem for full memory features)
121-
tantivy = { version = "0.22", optional = true }
126+
tantivy = { version = "0.25", optional = true }
122127

123128
# Memory Infrastructure (optional - provides storage, retrieval, embeddings)
124129
# Version required for crates.io publishing; path used for workspace development
125-
reasonkit-mem = { version = "0.1.0", optional = true }
130+
reasonkit-mem = { version = "0.1.1", optional = true }
126131

127132
# Async Runtime
128133
tokio = { version = "1", features = ["full"] }
@@ -262,6 +267,11 @@ name = "harness"
262267
harness = false
263268
required-features = ["memory"]
264269

270+
[[bench]]
271+
name = "glm46_benchmark"
272+
harness = false
273+
required-features = ["glm46"]
274+
265275
# ============================================================================
266276
# FEATURES
267277
# ============================================================================
@@ -300,6 +310,10 @@ code-intelligence = []
300310
# Status: Incomplete - do not use in production
301311
minimax = []
302312

313+
# EXPERIMENTAL: GLM-4.6 integration module
314+
# Status: Incomplete - do not use in production
315+
glm46 = []
316+
303317
# Aesthetic Expression Mastery System - M2-enhanced UI/UX assessment
304318
aesthetic = ["md5"]
305319

GETTING_STARTED.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ curl -fsSL https://reasonkit.sh/install | bash
2727
export ANTHROPIC_API_KEY="sk-ant-..."
2828

2929
# Run
30-
rk-core think "Should I use microservices?" --profile quick
30+
rk think "Should I use microservices?" --profile quick
3131
```
3232

3333
**That's it.** You now have structured AI reasoning.

0 commit comments

Comments
 (0)