-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Guide home | Architecture | Contributing
From a checkout, create and activate a virtual environment as described in Getting started. Then install the development packages:
python -m pip install -e ./engine -e './shell[dev]' -e './agent[dev]'
python -m playwright install chromium
python -m pytest -q --color=noRead the actual test summary. Collection counts do not establish a passing run. Some server tests bind a loopback port and need an environment that permits it.
Use the testing guide for unit, BDD, integration, and validation commands. Unit coverage must reach 80% of executable lines in each Python package. BDD and integration coverage do not count toward that minimum. The guide includes success and failure scenarios and the TDD procedure.
python3 scripts/refresh.py --no-indexThis command rebuilds generated files and runs the configured checks.
Use --fast only when you intend to skip the suites.
Read every stage result before claiming that the refresh passed.
Edit local skills in shell/skills/ and hosted skills in openai-skills/.
Do not edit generated plugin copies or runtime documents directly.
python -m pytest shell/tests/test_screenshots.py shell/tests/test_documented_counts.py shell/tests/test_documented_evidence.py -q
python3 scripts/evidence.py check
git diff --checkThe screenshot checks catch broken references and orphaned images. The count checks compare documented inventories with the current source. The evidence check preserves the relationship between historical figures and their recorded origin.
The supplied examples/dashboard directory contains synthetic artifacts for the full visual tour.
The interactive walkthrough builds a smaller set from examples/chain-synth.json.
Install the browser capture tools in the active environment:
python -m pip install playwright
python -m playwright install chromiumRun the existing capture script:
python scripts/screenshots.py --artifacts examples/dashboard --underlying SYNTH --expiry 2026-10-08 --note "Synthetic teaching inputs. No observed market data."The script starts a local dashboard, captures its DOM elements, and writes the gallery and README images. It does not fetch market data. Check the resulting images at full size before committing them. Record the capture date, code revision, and input hashes in screenshot provenance.
Some captions reflect the supplied scenario, such as its contract count. If a new capture changes filenames, remove obsolete captures only after updating their references.
The editable guide pages live in docs/wiki/.
They use relative Markdown links so the guide also works in a repository checkout.
The sidebar and footer live beside the pages.
The GitHub wiki is a separate Git repository. Before its first Git publication, create its initial page through GitHub's web interface. See GitHub's wiki instructions.
When exporting these pages to that repository:
- Convert sibling guide links to wiki page URLs without the
.mdsuffix. - Convert repository-document links to the corresponding
blob/mainURLs. - Convert image links to the corresponding
raw.githubusercontent.comURLs. - Include
_Sidebar.mdand_Footer.md. - Check the rendered home page, navigation, code blocks, and images.
Keep the repository pages as the editable source. Record the published revision and preserve unrelated wiki pages during updates.
Next: Documentation map.
Guide home · Examples · Troubleshooting · Repository
Research software. Source available for noncommercial use. Read the license and disclaimer.