Conversation
┌─────┬────────────────────────────────────────────────────────────────────┬────────┬─────────────┐ │ # │ Task │ Status │ Tests │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.1 │ Merge mcp_simple → mcp.py, implement 3 stubs │ Done │ - │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.2 │ Add strict mode to mcp.py │ Done │ - │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.3 │ Remove hardcoded passwords (14 config files) │ Done │ - │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.4 │ Replace dead handlers with 4 message MCP tools │ Done │ 5 new tests │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.5 │ Fix Agent::ready() │ Done │ 1 new test │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.6 │ Improve password error messages + check_password_strength() │ Done │ 38 pass │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.7 │ Add reset() (Python, Node) │ Done │ - │ ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤ │ 1.8 │ Add diagnostics()/debug_info() (Rust → binding-core → Python/Node) │ Done │ 1+ new test │ └─────┴────────────────────────────────────────────────────────────────────┴────────┴─────────────┘ Test results: - jacs core: 348 passed (was 339, +9 new) - binding-core: 32 passed - jacs-mcp: compiles clean Key changes: - mcp_simple.py merged into mcp.py — one file, two APIs - JacsSSETransport, jacs_middleware(), create_jacs_mcp_server() implemented - strict mode + JACS_STRICT_MODE env var for MCP client/server - 14 config files cleaned of hardcoded passwords - 4 new MCP message tools (send/update/agree/receive) — 18 total tools - Agent::ready() does real validation - Password errors include full requirements - reset() for test isolation in Python + Node - debug_info()/debugInfo() in Python + Node, diagnostics() in Rust
What was added Rust core (jacs/src/simple.rs): - SetupInstructions struct with all DNS, DNSSEC, well-known, and HAI registration fields - SimpleAgent::get_setup_instructions(domain, ttl) method - SimpleAgent::register_with_hai(api_key, hai_url, preview) method - Tests for serialization, agent-required guard, and preview mode DNS bootstrap (jacs/src/dns/bootstrap.rs): - dnssec_guidance(provider) — per-provider DNSSEC setup guidance - tld_requirement_text() — domain ownership requirement text Binding core (binding-core/src/lib.rs): - AgentWrapper::get_setup_instructions(domain, ttl) → JSON string - AgentWrapper::register_with_hai(api_key, hai_url, preview) → JSON string Python (jacspy/src/lib.rs, jacspy/python/jacs/simple.py, async_simple.py): - JacsAgent.get_setup_instructions(domain, ttl) PyO3 method - JacsAgent.register_with_hai(api_key, hai_url, preview) PyO3 method - simple.get_setup_instructions() and simple.register_with_hai() wrappers - Async versions in async_simple.py Node.js (jacsnpm/src/lib.rs, jacsnpm/simple.ts, simple.d.ts): - JacsAgent.getSetupInstructions(domain, ttl) NAPI method - JacsAgent.registerWithHai(apiKey, haiUrl, preview) NAPI method - simple.getSetupInstructions() wrapper function - TypeScript declarations updated Test results - 354 core tests, 32 binding-core tests, 18 MCP tests — all passing, 0 failures
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.
No description provided.