Remove wasm32 target support, update architecture documentation - #128
Merged
Conversation
Closed
Remove #[cfg(target_arch = "wasm32")] blocks (stub code) entirely and strip #[cfg(not(target_arch = "wasm32"))] gates while keeping the guarded code. Replace the cfg_attr tokio::main pair with a plain #[tokio::main] attribute. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove all #[cfg(target_arch = "wasm32")] blocks (wasm stubs), unwrap #[cfg(not(target_arch = "wasm32"))] blocks keeping their contents, remove the cfg_attr line, and make the std::process::Command import unconditional. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove all #[cfg(target_arch = "wasm32")] stubs, #[cfg(not(target_arch = "wasm32"))] gates, and #[cfg_attr(target_arch = "wasm32", ...)] attributes. The native implementation code is kept and unwrapped from its cfg blocks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove #[cfg(target_arch = "wasm32")] stubs, #[cfg(not(target_arch = "wasm32"))] gates, and #[cfg_attr(target_arch = "wasm32", ...)] attributes. Keep all non-wasm code intact and unwrap cfg-gated blocks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove #[cfg(not(target_arch = "wasm32"))] guards from imports, struct fields, and function definitions, keeping the native code unconditionally. Remove #[cfg(target_arch = "wasm32")] stub functions and their doc comments entirely, as wasm32 support is no longer needed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove #[cfg(target_arch = "wasm32")] stubs and #[cfg(not(target_arch = "wasm32"))] gates from: - core.rs: imports, struct fields, builder methods, run/dry_run blocks - batch.rs: imports, run_batch/dry_run_batch methods and wasm stubs - retry.rs: imports, VerifyParams struct, retry/verify methods and wasm stubs - utils.rs: imports, detect_tool_version, make_spinner, validate_input_files - tests.rs: spinner calls and test function annotations All native code is kept; all wasm32 stub code is removed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Remove #[cfg(target_arch = "wasm32")] blocks (stubs) and #[cfg(not(target_arch = "wasm32"))] gates from: - src/skill.rs - src/engine.rs - src/workflow.rs - src/server.rs - src/llm/types.rs The non-wasm code is kept; wasm stubs and cfg_attr annotations are removed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
…tion - Remove wasm32/wasm32-wasip1 target-specific dependency sections from Cargo.toml - Remove all #[cfg(target_arch = "wasm32")] stubs and #[cfg(not(target_arch = "wasm32"))] gates from 20+ source files - Remove build-wasm CI job from .github/workflows/ci.yml - Remove wasm32-wasip1 from release job dependencies - Remove WebAssembly references from installation docs and landing page - Update architecture docs to reflect native-only platform support Resolves part 1 of #127 Agent-Logs-Url: https://github.com/Traitome/oxo-call/sessions/15197fad-e5b3-4017-b62d-bb2d5e02b652 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Rewrite docs/guide/src/reference/architecture.md to reflect the new 5-layer architecture (User Interface, Language Processing, AI Orchestration, Knowledge Enhancement, Execution & Monitoring, Infrastructure) with complete module mappings matching the actual codebase. Agent-Logs-Url: https://github.com/Traitome/oxo-call/sessions/15197fad-e5b3-4017-b62d-bb2d5e02b652 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove wasm32 code and implement new system architecture
Remove wasm32 target support, update architecture documentation
Apr 17, 2026
…tion layers New modules implementing the 6-layer architecture: Knowledge Enhancement Layer (src/knowledge/): - tool_knowledge.rs: Embedded bioconda catalog (80+ tools) with TF-IDF search - error_db.rs: Error learning DB with category classification and recovery hints - best_practices.rs: Domain-specific best practices (alignment, variant calling, RNA-seq, QC) AI Orchestration Layer (src/orchestrator/): - supervisor.rs: Routes tasks, selects SingleCall vs MultiStage mode - planner.rs: Decomposes pipeline tasks into executable steps - executor.rs: Task normalization and enrichment with knowledge hints - validator.rs: Result validation with error DB integration Execution & Monitoring Layer (src/execution/): - result_analyzer.rs: Post-execution analysis (patterns, quality metrics, improvements) - feedback.rs: Feedback collection for self-evolution Runner integration: - Supervisor decision drives workflow mode selection (replaces hardcoded Fast) - Planner detects multi-step pipelines - Executor enriches prompts with best practices and normalized task - Validator + ResultAnalyzer provide post-execution insights - FeedbackCollector records all outcomes for learning - ErrorKnowledgeDb records failures for recovery suggestions All 918 unit + 228 integration tests pass. make ci clean. Agent-Logs-Url: https://github.com/Traitome/oxo-call/sessions/307b4516-b3f5-4991-889b-07e9d212d081 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
…tants, improve API - Remove duplicate ErrorKnowledgeDb::record() call from validator (runner already records) - Add TOOL_NAME_BOOST constant for TF-IDF name match boost factor - Add OrchestrationMode::to_workflow_mode() for explicit mode mapping - Clean up unused imports (WorkflowMode, OrchestrationMode direct import) - Fix unused variable warnings in validator after removing recording Agent-Logs-Url: https://github.com/Traitome/oxo-call/sessions/307b4516-b3f5-4991-889b-07e9d212d081 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Copilot stopped work on behalf of
ShixiangWang due to an error
April 17, 2026 17:56
ShixiangWang
marked this pull request as ready for review
April 18, 2026 00:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expert Review & Implementation — Progress Report
Completed Work
Remaining Work (new requirements acknowledged but not started)
Key Metrics
make ciclean (fmt, clippy, build, test)IntelligentDocProcessorsubsystem (~100 lines of dead code)