hephaestus/crates/hephd/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
..
auth_hub.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
client_mode.rs feat(views): filter views (§8.2) — saved agenda slices 2026-06-03 06:39:07 -07:00
oauth.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
rpc_socket.rs feat(core): tags — canonical tag nodes + OR-set tagging (§4, §8.3) 2026-06-03 11:18:51 -07:00
sync_http.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00