Add snapshot diff engine (ams package) + tests
Standalone CLI that diffs two engine-surface snapshots across all four axes,
the foundation the FastAPI/DB layer will sit on.
- ams.snapshot : typed access to a snapshot.json
- ams.diff : keyed set-diff per axis (added/removed/changed) + cross-owner
method-move detection; types keyed by (script_name,
via_module_iface) so the dual MULTIARRAY stays stable;
filter_by_owner for per-class focus
- ams.render : human-readable report (+/-/~), owner-grouped
- ams.cli : python -m ams OLD NEW [--owner C] [--only ...] [--json]
6 tests pass, incl. an integration test over the committed golden pair
(asserts BlooMoo adds GRBUFFER/INTERNET, MOUSE grows 104->128, Animo gains
GETFPS, Animo script fields unchanged).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
7
ams/__init__.py
Normal file
7
ams/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""ams - Aidem Media engine-surface tooling.
|
||||
|
||||
Compares engine-surface snapshots (produced by ghidra_scripts/extract_engine_surface.py)
|
||||
across versions of the Piklib/BlooMoo engines.
|
||||
"""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
Reference in New Issue
Block a user