Traverse

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 164 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Contract-driven runtime for portable business capabilities — spec-governed, WASM-first, composable across browser, edge, cloud, and AI.

README.md

Traverse

Traverse

CI
Coverage
Spec Governed
License
Rust
Version

Run one governed business capability across browser, edge, and cloud without rewriting it.

Traverse is a contract-driven runtime for discovering, validating, and composing portable business capabilities through events, policies, constraints, and graph-based workflows.

Why Should I Care?

Most systems are portable at the container boundary, but not at the business behavior boundary. The moment you need the same governed behavior to run in multiple hosts (browser, edge, cloud, device), you typically end up with duplicated implementations and behavior drift.

Traverse is built to make the capability contract the source of truth, and make execution traceable and governed regardless of where it runs.

Killer use case (first target): a portable knowledge workflow that runs offline in the browser and can also run in cloud/edge contexts, without splitting the business behavior into separate implementations. See: docs/killer-use-case-portable-knowledge-app.md.

What’s Proven Today

Who It’s For (and Not For)

Traverse is for teams that must run the same governed behavior across multiple host environments and want contract-first portability, traceability, and governance.

Traverse is not a replacement for Docker-orchestrated services when “portable enough” means “runs in a container in one environment”, and you do not need host-level portability or capability-level governance.

This is personal research and development by Enrico Piovesan, built to prove in code the ideas behind Universal Microservices Architecture (UMA).


Built on UMA

Traverse is the runtime that Universal Microservices Architecture describes.

UMA answers the question: how do you keep one business behavior portable and governed as execution moves across browser, edge, cloud, workflows, and AI? Traverse is the answer in working Rust code — contracts, registries, a governed runtime, and structured traces.

UMA Traverse
What it is Architecture model + book Working runtime implementation
Business capabilities Defines the concept Executes them with contracts and specs
Portability Describes the pattern Enforces it through WASM and adapters
Governance Specifies the rules Implements them as immutable specs and CI gates
AI safety Describes requirements Delivers through explainable runtime traces

If you want to understand the ideas: read the UMA book and explore the UMA code examples.

If you want to run them: you're in the right place.


For Humans

Quick Start

git clone https://github.com/enricopiovesan/Traverse.git
cd Traverse

cargo build                   # build all crates
cargo test                    # run the full test suite
cargo run -p traverse-cli     # run the CLI

Requirements: Rust 1.94+

New to Traverse? Start with docs/tutorial-index.md. That page describes three paths and tells you which one fits your goal.

Documentation Map

Use this as the human and agent navigation hub for the supported docs:

Goal Start Here Continue With
Learn the core Traverse path docs/getting-started.md docs/expedition-example-authoring.md
Follow the full onboarding sequence docs/tutorial-index.md quickstart.md
Run the first app-consumable flow quickstart.md docs/app-consumable-entry-path.md
Author your first capability contract docs/capability-contract-authoring-guide.md docs/getting-started.md
Author your first event contract docs/event-contract-authoring-guide.md docs/event-publishing-tutorial.md
Build WASM-hosted capabilities docs/wasm-agent-authoring-guide.md docs/wasm-microservice-authoring-guide.md
Integrate a downstream app like youaskm3 docs/app-consumable-consumer-bundle.md docs/youaskm3-integration-validation.md
Review runtime and MCP release surfaces docs/packaged-traverse-runtime-artifact.md docs/packaged-traverse-mcp-server-artifact.md
Review standards, workflow, and governance docs/quality-standards.md docs/project-management.md

What it does

  • Define a capability contract — one meaningful business action with explicit inputs, outputs, and side effects
  • Register it in the capability registry
  • Validate it against its governing spec
  • Execute it locally through the runtime with structured trace output

Vision

Traverse treats business capabilities as the primary unit of software:

  • portable across browser, edge, cloud, and device
  • governed through versioned, immutable contracts and specs
  • composable through events and graph-based workflows
  • explainable through structured runtime traces
  • safe for humans, runtimes, and AI systems to consume

Contributing

Please read before opening a PR:

All work follows the Speckit governance workflow. Every PR must be backed by an approved spec.


For Agents

This project supports AI-assisted development with Codex and Claude Code running in parallel.

Entry points

Agent File Purpose
Claude Code CLAUDE.md Project context, governance rules, speckit workflow
Codex AGENTS.md Project context, coordination rules, speckit workflow
All agents .specify/memory/constitution.md Governing constitution v1.2.0

Agent workflow

  1. Read your entry point file (CLAUDE.md or AGENTS.md)
  2. Claim the ticket — check for agent:claude / agent:codex labels and existing branches
  3. Create a feature branch: NNN-feature-name
  4. Run .specify/scripts/bash/setup-plan.sh --json to initialize the spec directory
  5. Write specs/<branch>/spec.md and plan.md before any code
  6. Implement the smallest change that satisfies the spec and contracts
  7. Open a PR with ## Governing Spec, ## Project Item, and ## Validation sections

Agent coordination

  • agent:claude label = claimed by Claude Code — Codex must skip
  • agent:codex label = claimed by Codex — Claude Code must skip
  • Full coordination rules: docs/multi-thread-workflow.md

Approved specs

ID Spec Governs
001 foundation-v0-1 Core runtime, CLI, MCP surface
002 capability-contracts Contract definitions and validation
003 event-contracts Event contract definitions
004 spec-alignment-gate CI merge gate
005 capability-registry Registry behavior
006 runtime-request-execution Execution model
007 workflow-registry-traversal Workflow composition
008 expedition-example-domain Example domain
009 expedition-example-artifacts Example artifacts

Architecture

Crates

Crate Role
traverse-runtime Core execution engine — validates, places, and executes capabilities
traverse-contracts Contract definitions, parsing, and validation
traverse-registry Capability and event registries with deterministic traversal
traverse-cli Command-line interface: register, list, validate, run
traverse-mcp Model Context Protocol stdio server and governed MCP-facing surface

Governance

Traverse is spec-driven. Code must align with an approved, immutable spec or it does not merge.

Artifact Location Role
Specs specs/ Versioned, immutable, merge-gating
Contracts contracts/ Source of truth for runtime behavior
Constitution .specify/memory/constitution.md Overrides all convenience decisions
CI gate scripts/ci/spec_alignment_check.sh Deterministic, AI-agnostic

Key docs

Onboarding and tutorial path

Build and authoring guides

Consumer and release surfaces

Reference and governance

Task board

GitHub Project 1 is the canonical board. All active work has an issue, a project item, and a PR.


License

Apache-2.0 — see LICENSE and NOTICE.

Related Work

Yorumlar (0)

Sonuc bulunamadi