M8 closeout: stamp attribute_type AVP on attribute nodes#14
Merged
david-w-t merged 4 commits intodavidwt-com:mainfrom May 9, 2026
Merged
M8 closeout: stamp attribute_type AVP on attribute nodes#14david-w-t merged 4 commits intodavidwt-com:mainfrom
david-w-t merged 4 commits intodavidwt-com:mainfrom
Conversation
ARCHITECTURE.md: expand OTP, DETS, BFS, DAG, ETS, AVP at first occurrence in §1-§2. README.md: expand OTP, DETS, Mnesia, BFS, DAG, ETS, QC, AVP at first occurrence; expand Nref to "node reference number — a positive integer allocated by the nref subsystem" at the concept-node introduction. the-knowledge-network.md needs no change — Terminology section plus inline gloss for IS-A / PART-OF / ASSOCIATE / IS-INSTANCE-OF in §5 already cover all terms used in that file. Tables re-aligned with align_md_tables.py.
Add a seeded `attribute_type` literal-attribute and stamp
`name | literal | relationship` as an AVP on every attribute node so
the type is read directly rather than inferred by walking the parent
chain. All four `create_*` paths in graphdb_attr stamp on creation;
bootstrap nodes 6-31 are retro-stamped idempotently in init/1 by
walking the parents cache up to {6,7,8}. New `attribute_type_of/1`
public API returns the kind without a tree walk.
Tests: +10 CT cases under a new `attribute_type` group; existing
strict-equality AVP assertions widened to lists:member. 228 total
(164 CT + 64 EUnit), all green.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add `.claude/worktrees/` so Claude Code's auto-generated isolated worktree directories don't show up in `git status` (same rationale as `.wolf/` and `.claude/settings.local.json`). Also remove the duplicate `.claude/settings.local.json` entry. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
attribute_typeAVP on every attribute node so typeis read directly rather than inferred by walking the parent chain. Four
create_*paths ingraphdb_attrstamp at creation; bootstrap nodes6-31 are retro-stamped idempotently in
init/1by walking theparentscache up to {6, 7, 8}. Newattribute_type_of/1public APIreturns the kind without a tree walk.
seeded_nrefs/0now reportsthe new key alongside
literal_type,target_kind,relationship_avp.Mnesia, Nref, AVP, QC) at first occurrence in README, ARCHITECTURE,
and the-knowledge-network.md. Refresh test counts (218 → 228).
Commits
97e2696M8: stamp attribute_type AVP on attribute nodes3b523baDocs: gloss acronyms and project terms at first use5fd93faremoved request about maintaining Dallas' style.Test plan
rebar3 compileclean (zero warnings)rebar3 ct— 164 passing (was 154; +10 newattribute_typecases)rebar3 eunit— 64 passing (unchanged)verify_caches/0in every CT teardownsample bootstrap nodes (6, 24)
🤖 Generated with Claude Code