Files
safishamsiandClaude Opus 4.8 1e57c9ab62 Initial commit: REAgraph — persistent graph memory + structural diff for RE
REAgraph is the memory + structure layer for reverse engineering: it folds
one-shot findings into a durable, queryable graph (dedup + confidence upgrade on
re-observation) and diffs builds by structural identity instead of byte offset.

Working core (stdlib-only, tested without REA/Ghidra installed):
- reagraph.memory: node-link store; merge() dedups by node id and
  (source,target,relation), upgrades EXTRACTED>INFERRED on re-observation.
- reagraph.diff: byte-agnostic structural diff (fixes the REA #4520 class of bug
  where a moved-but-unchanged module reads as 'changed').
- reagraph.ingest: REA JAG epistemic state -> graphify confidence; drops
  'unavailable'; preserves the original relation as context 'rea:<relation>'.
- reagraph CLI: add / diff / stats / query (query delegates to graphify).

Graphs are written in graphify's node-link JSON so graphify query/path/explain
works directly. Independent project; not affiliated with REA (see NOTICE).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-10-16 20:18:23 +01:00

22 lines
1.0 KiB
Plaintext

MIT License
Copyright (c) 2026 Graphify Labs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.