Skip to content

How to install the development toolchain

The platform codebase is a Rust workspace. The development toolchain consists of the Rust compiler and standard Cargo build tools, plus the workspace commit helper that enforces staging-tier identity and SSH commit signing. This guide covers installing both, verifying the installation, and making your first test build.

For the broader workspace architecture, see totebox-orchestration-development. For opening your first session after toolchain setup, see open-first-totebox-session.

Prerequisites

  • A paired device with INPUT-level access (see pair-a-new-device)
  • SSH access to the workspace VM (foundry-workspace)
  • A shell session on the workspace VM

Step 1: Install the Rust toolchain

The workspace uses a pinned Rust toolchain version specified in rust-toolchain.toml at the monorepo root. Install rustup, the Rust toolchain manager, if it is not already present:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

After installation, source the environment file or open a new shell session. Rustup reads rust-toolchain.toml automatically when you enter a directory with one — no explicit version selection is needed.

Step 2: Verify the Rust installation

Run a version check from within the monorepo clone:

cd ~/Foundry/clones/<your-archive>/pointsav-monorepo
cargo --version
rustc --version

Both commands should print the pinned version from rust-toolchain.toml. If rustup reports that the toolchain is not installed, run rustup show to trigger the automatic install of the pinned version.

Step 3: Run a baseline build

Build the full workspace to confirm the toolchain is working end to end:

cargo build

A clean build on first run downloads and compiles all dependencies and may take several minutes. Subsequent builds are incremental. If the build fails with a missing dependency, install the named system library via the package manager (apt-get install <lib> on Debian/Ubuntu) and re-run.

Step 4: Verify the commit helper

The workspace commit helper (~/Foundry/bin/commit-as-next.sh) requires a working SSH agent with the staging-tier signing key loaded. Direct git commit is blocked by a pre-commit gate — all commits must go through the helper.

Verify the helper is reachable:

ls ~/Foundry/bin/commit-as-next.sh

Verify an SSH key is loaded:

ssh-add -l

If no keys are listed, add the staging key:

ssh-add ~/Foundry/identity/jwoodfine/id_jwoodfine

The commit helper alternates author identity between jwoodfine and pwoodfine automatically — no manual selection is needed.

Step 5: Run tests

Confirm the test suite passes before starting work:

cargo test

All tests should pass on a clean clone. A test failure before any local changes indicates either a stale clone or a build environment issue — check git status and compare the HEAD commit against the upstream staging branch.

Key takeaways

  • The toolchain version is pinned in rust-toolchain.toml; rustup reads it automatically
  • cargo build / cargo test / cargo clippy / cargo fmt are always allowed without approval
  • All commits use commit-as-next.sh; direct git commit is blocked at the pre-commit gate
  • An SSH key must be loaded in the agent before the commit helper can sign commits

See also

Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →