Skip to main content

Witsoc mathematical research orchestration utilities

Project description

Witsoc

Witsoc is a collection of mathematical research orchestration utilities used by the Witsoc skill. The package exposes the same command surface as the local scripts/witsoc.py entrypoint while making the tools installable with pip.

Initial package scope:

  • stable witsoc console command;
  • compatibility with existing script names and orchestrator calls;
  • packaged references, schemas, and subskill files needed by the scripts;
  • gradual migration path from standalone scripts to importable modules.

PyPI package:

https://pypi.org/project/witsoc/

If the local Witsoc script tree is missing in a fresh environment, install from PyPI:

pip install witsoc

or:

uv pip install witsoc

The canonical OpenScientist skill directory is:

~/.openscientist/skills/witsoc

If that skill folder exists but scripts/ and/or src/ were deleted, restore them into that folder from the installed PyPI package:

pip install -U witsoc
witsoc restore-skill

Or from a surviving bootstrap.py inside the skill folder:

python3 bootstrap.py

Check without changing files:

witsoc restore-skill --check
python3 bootstrap.py --check

Force a refresh from PyPI:

witsoc restore-skill --replace
python3 bootstrap.py --replace

Restore an explicit target:

witsoc restore-skill --target ~/.openscientist/skills/witsoc --replace
python3 bootstrap.py --default-target --replace

Fresh-machine setup without checking in scripts/:

pip install -U witsoc
mkdir -p ~/.openscientist/skills/witsoc
witsoc restore-skill --target ~/.openscientist/skills/witsoc
python3 ~/.openscientist/skills/witsoc/scripts/witsoc.py --help

Example:

witsoc route "deep run prove or disprove this open conjecture"
witsoc lovasz-packet runs/example
witsoc orchestrator-plan route "prove a theorem"

Nested aliases are also available:

witsoc strategy rank-lanes --prompt "deep run prove or disprove this open conjecture"
witsoc lovasz packet runs/example

Lazy Surface

Witsoc is intentionally lazy at the package boundary. The default command surface exposes cheap routing and decision packets first; heavy research engines remain callable by explicit command name or by the orchestrator after it chooses a plan.

Cheap boundary calls:

witsoc route "..."
witsoc orchestrator-plan route "..."
witsoc strategy rank-lanes --prompt "..."
witsoc lovasz packet runs/example

Discover commands by tier:

witsoc commands
witsoc commands --tier core
witsoc commands --tier heavy --json
witsoc install-help

Old direct aliases still work for compatibility, for example:

witsoc counterexample-search runs/example
witsoc worker-dispatch runs/example --write

Those commands are not imported or loaded until invoked.

Build

From this directory:

uv build

This produces:

dist/witsoc-0.1.1.tar.gz
dist/witsoc-0.1.1-py3-none-any.whl

Local wheel smoke test:

python3 -m venv /tmp/witsoc-venv
/tmp/witsoc-venv/bin/pip install --no-deps dist/witsoc-0.1.1-py3-none-any.whl
/tmp/witsoc-venv/bin/witsoc route --field route "deep run prove or disprove this open conjecture"

Publish, after configuring PyPI credentials:

uv publish

Migration Model

Version 0.1.1 packages the existing scripts/ tree as the compatibility surface. The stable entrypoint is witsoc.cli:main; old calls through scripts/witsoc.py delegate to the package CLI. Future releases can move individual scripts into importable package modules while keeping the same console commands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

witsoc-0.1.1.tar.gz (760.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

witsoc-0.1.1-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file witsoc-0.1.1.tar.gz.

File metadata

  • Download URL: witsoc-0.1.1.tar.gz
  • Upload date:
  • Size: 760.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for witsoc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1fefc9fd0e51ae90842dc07cd2546fc95b4943a75c2ba7e32c1761d470b944df
MD5 3630f3f3680a40fe98055257f572fb8e
BLAKE2b-256 a81f88407c0599cbc69c87bf50255277c525d22911591c3069ece6274d2fdc1d

See more details on using hashes here.

File details

Details for the file witsoc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: witsoc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for witsoc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1454e6c8c8aa89569d65eccbfa34136b9888ffbeb73bee566d20e52f736305e2
MD5 0c73772edca4897d4a6389d7846910cc
BLAKE2b-256 6fb5705341243629947fc4fbd099e4206157e6be740031a5aa0d3fde2716d322

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page