Skip to content

Commit e394a3a

Browse files
committed
Preserve child-repo guidance and ignore OMX scratch state for the Python SDK
Track the repo-local AGENTS file and ignore OMX scratch state so the Python SDK participates cleanly in the superworkspace workflow while leaving unrelated local docs and Serena edits out of this commit. Constraint: The SDK repo already has unrelated local work that must be preserved, not mixed into workflow setup Rejected: Commit quickstart and Serena changes together | unrelated to control-plane hygiene and harder to review safely Confidence: medium Scope-risk: narrow Reversibility: clean Directive: Review stashed SDK-local work separately before restoring it Tested: git status --short --branch Not-tested: pytest validation in this commit lane
1 parent 0d5a917 commit e394a3a

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ venv/
1515
.env.*
1616
*.key
1717
credentials.json
18+
.omc/

AGENTS.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- OMX:AGENTS-INIT:MANAGED -->
2+
<!-- Parent: ../AGENTS.md -->
3+
# trustchain-py
4+
5+
This AGENTS.md scopes guidance to `trustchain-py`. Parent AGENTS guidance still applies unless this file narrows it for this subtree.
6+
7+
## Bootstrap Guardrails
8+
- This is a lightweight scaffold generated by `omx agents-init`.
9+
- Refresh updates the layout summary below and preserves the manual notes block.
10+
- Keep only directory-specific guidance here; do not duplicate the root orchestration brain.
11+
12+
## Current Layout
13+
14+
### Files
15+
- `.gitignore`
16+
- `CHANGELOG.md`
17+
- `CLAUDE.md`
18+
- `LICENSE`
19+
- `pyproject.toml`
20+
- `README.md`
21+
22+
### Subdirectories
23+
- `.benchmarks/`
24+
- `.github/`
25+
- `.omc/`
26+
- `.pytest_cache/`
27+
- `.ruff_cache/`
28+
- `.serena/`
29+
- `benchmarks/`
30+
- `docs/`
31+
- `src/`
32+
- `tests/`
33+
34+
<!-- OMX:AGENTS-INIT:MANUAL:START -->
35+
## Local Notes
36+
- Read `CLAUDE.md` here before making non-trivial changes; it contains the Python SDK parity rules.
37+
- Verification: `pip install -e \".[dev]\"` then `python -m pytest tests/ -x -q`.
38+
- Use integer millisecond timestamps only, preserve canonical JSON hashing parity with Rust, and do not call `round()` on trust scores.
39+
- Use `TrustChainSidecar`, not the deprecated `TrustChainNode`.
40+
- Rust is authoritative for ambiguous behavior; wire-format changes must stay aligned with `../trustchain` and `../trustchain-js`.
41+
<!-- OMX:AGENTS-INIT:MANUAL:END -->

0 commit comments

Comments
 (0)