26382a7ac6
CI / Clippy (push) Failing after 15m13s
CI / Test (ubuntu-latest) (push) Failing after 16m1s
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Build (no embeddings / no ORT) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Cookbook (Node) (push) Has been cancelled
CI / Pi Extension (Node) (push) Has been cancelled
CI / Rust SDK (lean-ctx-client) (push) Has been cancelled
CI / Embed SDK (lean-ctx-sdk) (push) Has been cancelled
CI / Python SDK (leanctx) (push) Has been cancelled
CI / Hermes Plugin (Python) (push) Has been cancelled
CI / SDK Conformance Matrix (push) Has been cancelled
CI / Coverage (push) Has been cancelled
CI / cargo-deny (push) Has been cancelled
CI / Adversarial Safety (push) Has been cancelled
CI / Benchmarks (push) Has been cancelled
CI / Output-Quality Gate (eval A/B) (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / CI Green (push) Has been cancelled
JetBrains Plugin / Actionlint (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (rust) (push) Has been cancelled
JetBrains Plugin / Validation (push) Has been cancelled
JetBrains Plugin / Build (push) Has been cancelled
JetBrains Plugin / Test (push) Has been cancelled
Security Check / Security Scan (push) Has been cancelled
2.9 KiB
2.9 KiB
Tasks: ctx_explore — FastContext-style iterative exploration (refs #907)
Atomic, individually testable. Cite the spec in commits:
<type>(<scope>): … refs specs/907-ctx-explore.
- T1 — core loop (#909)
- Files:
rust/src/tools/ctx_explore.rs - Do: bounded multi-turn loop (default
max_turns=3, envLEAN_CTX_EXPLORE_*); parallel side-effect-free retrieval channels; RRF fuse + cross-turn dedup; coverage-gap stop;greedy_max_coverageselection under token budget. - Verify:
cargo test -q ctx_explore(loop-stop + determinism).
- Files:
- T2 — citation contract (#909)
- Files:
rust/src/tools/ctx_explore.rs - Do: byte-stable
<final_answer>block (path:start-end symbol (kind)), sorted (score→path→line);citationoption emits only the block. - Verify: citation-parse test; same input → identical bytes.
- Files:
- T3 — MCP + CLI wiring + artifacts (#910)
- Files:
rust/src/tools/registered/ctx_explore.rs,tools/mod.rs,tools/registered/mod.rs,server/registry.rs,cli/explore_cmd.rs,cli/mod.rs,cli/dispatch/mod.rs,cli/dispatch/help.rs,server/mod.rs(count 77→78), generated manifest + reference docs,rust/README.md,rust/src/templates/SKILL.md. - Do: adapter mirrors
registered/ctx_compose.rs(sharebm25_cache,block_in_place,ToolOutput); register; route CLI; regen artifacts. - Verify:
cargo test -q entrypoints_wired mcp_manifest_up_to_date reference_docs_drift.
- Files:
- T4 — determinism + tests (#911)
- Files:
rust/src/tools/ctx_explore.rs(tests mod or sibling),entrypoints_wired.rs. - Do:
explore_output_is_byte_stable_across_calls(warm +isolated_data_dir, savings footer off); addexploreto the entrypoints probe list. - Verify:
scripts/preflight.sh full;cargo clippy -- -W clippy::allzero warnings.
- Files:
- T5 — eval harness arm + tokens (#912)
- Files:
rust/src/core/eval_harness.rs,rust/eval/search-suite.ndjson. - Do:
SearchArm::Explore(extract paths from<final_answer>); per-armcount_tokensaccounting; add explore queries to the suite. - Verify:
lean-ctx benchmark eval-ab --suite rust/eval/search-suite.ndjson --json.
- Files:
- T6 — Phase 2 design (#913)
- Files: design note (issue #913 / spec appendix).
- Do:
explorer-brainaddon manifest sketch ([mcp]stdio,[capabilities]), callback path, benchmark-before-recommend, FastContext license check. - Verify: reviewed; no core change.
- T7 — docs (#914)
- Files:
CONTRIBUTING.md, website tool docs. - Do: document
ctx_explore(purpose, citation contract, vscompose). - Verify: doc/drift gates green.
- Files:
Done gate
- All EARS criteria covered by a task.
cargo fmt --check && cargo clippy --all-features -- -D warnings && cargo test --all-featuresscripts/preflight.sh fullgreen.- GitLab #907–#914 statuses updated; spec referenced in commits.