Skip to content

Bootstrap process completed; Projects will have their own databases; other architectural improvements.#4

Merged
david-w-t merged 21 commits intodavidwt-com:mainfrom
david-w-t:main
Apr 5, 2026
Merged

Bootstrap process completed; Projects will have their own databases; other architectural improvements.#4
david-w-t merged 21 commits intodavidwt-com:mainfrom
david-w-t:main

Conversation

@david-w-t
Copy link
Copy Markdown
Contributor

No description provided.

Propagate the knowledge graph model from knowledge-graph-database-guide.md
into CLAUDE.md, README.md, TASKS.md, and all apps/*/CLAUDE.md files.
Expand task 3 into six sub-tasks (3a-3f) with concrete APIs and schemas.
Fix stale references to nref_include.erl and incorrect compile commands.

Apply corrections to knowledge-graph-database-guide.md:
- Flatten relationship record structure (reciprocal is a sibling of value)
- Correct instance name attribute description (not globally unique)
- Broaden compositional parent label to part-of parent
- Fix strata diagram arrow direction (references point upward)
- Add Literal Attributes as a third attribute node type
- Rename Articulation Principles to Modelling Guidelines
- Reorder Instance Inheritance Process steps by priority
- Expand Multiple Inheritance section with balanced pitfall guidance
- Rename Class to Template in View/Document Derivation table
Apply fixes from the current session across all documentation:
- Add Literal Attributes as a third attribute node type throughout
- Correct inheritance priority order to 4-step explicit list in all files
- Update graphdb_attr descriptions to replace 'external name attributes'
- Rewrite TASKS.md Session Notes as a status table with restated pending concerns (A-E)
…aph-database-guide

Rename middle column of reciprocity examples table from 'Relationship' to
'Type' (the cells contain relationship type names, not relationship labels).

Replace editorial summaries in the 1997 and 1999 Sources entries with the
actual patent title for all three Noyes patents — all three share the title
'Method for representation of knowledge in a computer as a network database
system'; continuation-in-part lineage noted for 5,594,837 and 5,878,406.

Marks TASKS.md issues D and E as applied.
…ing; clean up app docs

knowledge-graph-database-guide.md:
- Add forward-reference under Multiple Inheritance noting that conflict
  resolution will be provided through a future enhancement to relations;
  until then local values take priority (item B resolved)
- Add Construction Order section (item A, applied earlier this session)

TASKS.md:
- Full rewrite as a clean public-facing task list
- Remove session notes, internal history, applied-correction log, and
  resume token
- Renumber tasks 1-5 (graphdb workers, non-normal start, code_change,
  old directories, start_phases)

apps/graphdb/CLAUDE.md, apps/database/CLAUDE.md:
- Replace TASKS.md Alignment sections with concise Remaining Work pointers

apps/dictionary/CLAUDE.md:
- Fix Files table (remove dict_wkr.erl and dictionary_draft.erl; add
  dictionary_server.erl and term_server.erl which are the actual files)
- Remove Known Bugs section (sfiles bug was fixed; draft file note stale)
- Remove TASKS.md Alignment section

apps/nref/CLAUDE.md:
- Update NYI status task references to new numbering (task 2, task 3)
- Remove fixed-bugs list and superseded item

CLAUDE.md (root):
- Remove TASKS.md Alignment section; replace with Remaining Work pointer
- Remove stale TASKS.md item reference from nref_include note
…E.md

Clarifies that each graph node has two distinct top-level fields: attribute_value_pairs
for non-topological literal/complex values, and relationships for graph-topology arcs.
Updates the Erlang record example and adds prose descriptions of both fields.
Deleted Database/, Dictionary/, graphdb/, 'Nref Server/', and seerstone.app —
all stale artifacts from the old flat layout, unused by rebar3. Updated TASKS.md
(removed completed task 4, synced record structure snippet) and CLAUDE.md
(removed note about those directories existing).
Extends the relationship map with an optional attribute_value_pairs field
for per-arc metadata (provenance, weights, flags, revisions, time frames).
AVPs are asymmetric (each node stores its own), do not inherit, and do not
participate in traversal by default; a future traversal-condition mechanism
is reserved but not ruled out. Updates guide, CLAUDE.md, and TASKS.md
including bootstrap and add_relationship/4 implementation notes.
…ips groups; BFS renumber cascades through levels 4
…nrefs start at 1, target_kind arc annotation
- Root: add ARCHITECTURE.md to dir listing, multi-database architecture
  section, bootstrap nref quick-reference (nrefs 1-30), set_floor/1 note,
  graphdb_bootstrap and dictionary wiring in Known Incomplete Areas
- apps/graphdb: full rewrite — add graphdb_bootstrap.erl, category node
  kind, Mnesia record format, multi-DB architecture, updated worker APIs
  (create_relationship_attribute/3 with target_kind), bootstrap nref table
- apps/nref: add set_floor/1 to API (Task 0b, pending), fix task refs
- apps/dictionary: add dictionary_server/term_server unwired stub note (Task 8)
- apps/database: fix NYI callbacks (return ok, not crash), update Remaining Work
Conflicts resolved (develop wins):
- CLAUDE.md
- TASKS.md
- knowledge-graph-database-guide.md

Incoming from develop:
- ARCHITECTURE.md (new — full architectural design doc)
- apps/graphdb/priv/bootstrap.terms (new — 30 nodes, 29 relationship pairs)
- All CLAUDE.md files updated to reflect current Mnesia/bootstrap architecture
@david-w-t david-w-t merged commit e02bfdf into davidwt-com:main Apr 5, 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