Skip to content

M8 closeout: stamp attribute_type AVP on attribute nodes#14

Merged
david-w-t merged 4 commits intodavidwt-com:mainfrom
david-w-t:develop
May 9, 2026
Merged

M8 closeout: stamp attribute_type AVP on attribute nodes#14
david-w-t merged 4 commits intodavidwt-com:mainfrom
david-w-t:develop

Conversation

@david-w-t
Copy link
Copy Markdown
Contributor

Summary

  • M8 (Option A) — attribute_type AVP on every attribute node so type
    is read directly rather than inferred by walking the parent chain. Four
    create_* paths in graphdb_attr stamp at 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. seeded_nrefs/0 now reports
    the new key alongside literal_type, target_kind,
    relationship_avp.
  • Docs — gloss acronyms and project terms (OTP, DETS, ETS, BFS, DAG,
    Mnesia, Nref, AVP, QC) at first occurrence in README, ARCHITECTURE,
    and the-knowledge-network.md. Refresh test counts (218 → 228).
  • TASKS-MEDIUM — M8 marked RESOLVED.

Commits

  • 97e2696 M8: stamp attribute_type AVP on attribute nodes
  • 3b523ba Docs: gloss acronyms and project terms at first use
  • 5fd93fa removed request about maintaining Dallas' style.

Test plan

  • rebar3 compile clean (zero warnings)
  • rebar3 ct164 passing (was 154; +10 new attribute_type cases)
  • rebar3 eunit64 passing (unchanged)
  • Cache invariant verified by verify_caches/0 in every CT teardown
  • Retro-stamp idempotence asserted across a stop/start cycle on
    sample bootstrap nodes (6, 24)

🤖 Generated with Claude Code

david-w-t and others added 4 commits May 8, 2026 23:52
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>
@david-w-t david-w-t merged commit dd3222a into davidwt-com:main May 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant