Land v0.9.0 CLOS codec with subject/object relation slots #8
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/star-cl!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/v09-codec-merge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Rebases the stranded v0.9.0 CLOS codec (originally PR #4, branch
agent/issue-13-codec-semantics) onto current master and adds subject/object as first-class relation slots.Supersedes closed PR #1.
What this delivers
documentclass upgraded to v0.9.0:dataslot,schema-version, integerversion, ISO-8601 string timestamps, full envelope slots (sources/evidence/temporal/provenance/…),*default-hash-algo*=:sha256.encode-document-v09codec: wraps dtype slots indata, emits snake_case wire keys, synthesizessubject/objectfromsource/targetfor relations.relationclass now hassubject/objectslots alongside legacysource/target.initialize-instance :afterkeeps both pairs in sync.new-relationaccepts:subject/:objectkeywords. The encoder emits all four fields;normalize-required-data-v09fills missing aliases bidirectionally.digest-idfunction: pure SHA-256 hex digest for deterministic document IDs without a document instance.v090-testis self-contained.Backward compatibility
source/targetremain as legacy aliases on relations — existing callers (->helper,new-relationpositional args) work unchanged.new-relationsignature is backward-compatible::subject/:objectare optional keywords.v090.lisp) is preserved alongside the new codec.Test results
git diff --checkcleanConflicts resolved during rebase
src/documents.lisp: master kept legacy 0.8.0; resolved in favor of the v0.9.0 upgrade.src/starintel.asd: combined deps (master'scom.inuoe.jzon+cl-ppcre+ branch'scloser-mop); kept bothv090andjson-v09components.starintel-test.asd: kept branch's required-test gate + master'sv090-testfile.flake.nix: took branch's cleaner test error reporting.