hephaestus/crates/heph-core/tests
Erich Blume 4cdf0de64c
Some checks failed
Build / validate (pull_request) Failing after 4m35s
feat(core): tags — canonical tag nodes + OR-set tagging (§4, §8.3)
A tag is a `tag`-kind node with a deterministic id in (owner, name)
(`tag:<owner>:<name>`, like the journal), so a name is one canonical tag
shared across nodes and replicas converge with no duplicates. Tagging is
an OR-set `tagged` link (mirroring in-project):

- heph-core: `nodes::open_or_create_tag` (bodyless, deterministic id),
  `tags::{add,remove,of}`, and `Store::{add_tag,remove_tag,tags_of}`.
  Enumerate all tags via the existing `list_nodes(Tag)`.
- hephd: `tag.add`/`tag.remove`/`tag.list` RPCs + RemoteStore forwarding.
- heph: `heph tag add|rm|list` (a node's tags, or every tag).

Names are trimmed; canonical case/spelling normalization is deferred to
the zk import. Unblocks the `tags:` line of the frontmatter surface.
Tests: core add/dedupe/remove/canonical-id/trim/missing-node + a socket
add/list/enumerate/remove test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 11:18:51 -07:00
..
convergence.rs hephd: OIDC hub authentication — verification side (auth 10a) 2026-06-01 15:58:20 -07:00
export.rs heph CLI + export 2026-05-31 20:33:59 -07:00
hlc_stamping.rs heph-core: real HLC + persistent device origin (sync 8a) 2026-05-31 21:13:55 -07:00
next_ranking.rs heph-core: "what is next?" ranking (tech-spec §7) 2026-05-31 19:07:16 -07:00
query_surface.rs feat(views): filter views (§8.2) — saved agenda slices 2026-06-03 06:39:07 -07:00
recurrence.rs heph-core: recurrence (roll-forward in place) + per-task logs 2026-05-31 19:14:22 -07:00
search.rs feat(cli): heph project list (+ node.list RPC) 2026-06-02 19:50:19 -07:00
tags.rs feat(core): tags — canonical tag nodes + OR-set tagging (§4, §8.3) 2026-06-03 11:18:51 -07:00
tasks_and_links.rs feat(core): task.set_project — move-to-project with OR-set link semantics (§8.1) 2026-06-03 10:35:16 -07:00
views.rs feat(views): filter views (§8.2) — saved agenda slices 2026-06-03 06:39:07 -07:00