Skip to content

kernel: re-home HDC drift annotation from WF11 to WF15#55

Merged
MSD21091969 merged 2 commits into
masterfrom
feat/t250-wf11-drift-annotation-rehome
Jul 9, 2026
Merged

kernel: re-home HDC drift annotation from WF11 to WF15#55
MSD21091969 merged 2 commits into
masterfrom
feat/t250-wf11-drift-annotation-rehome

Conversation

@MSD21091969

@MSD21091969 MSD21091969 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

HG URN: urn:moos:session:sam.kernel-proper

Summary

  • move reactive HDC drift annotation LINK from WF11 tagged/tagged-in to WF15 semantic pair
  • add explicit contract_urn urn:moos:contract:hdc-drift-annotation.v1
  • update runtime reactive test expectation to assert WF15 + contract

Why

WF11 only declares synced-via/sync-target, so tagged/tagged-in was rejected by the declaration gate and silently dropped from the emitter perspective.

Validation

  • go test ./... (module root)

Closes #52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Re-homes HDC drift annotation relations from WF11 to WF15 by emitting open-semantic link claims with a dedicated contract URN, and updates the reactive test to assert the new shape.

Changes:

  • Emit drift annotation links as WF15 with {semantic} ports and a specific ContractURN.
  • Update the drift annotation test to look for WF15 + matching ContractURN.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
internal/kernel/runtime.go Changes drift annotation emission to WF15 semantic links and adds a contract URN.
internal/kernel/runtime_reactive_test.go Updates assertions to match the new WF15 + contract-based relation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/kernel/runtime.go Outdated
Comment on lines +891 to +902
RewriteType: graph.LINK,
// Re-home drift annotations to WF15 open-semantic links.
// WF11 only declares synced-via/sync-target; the old tagged/tagged-in
// pair was rejected by the declaration gate (moos-kernel#52).
RewriteCategory: graph.WF15,
Actor: actor,
RelationURN: relURN,
SrcURN: claimURN,
SrcPort: "tagged",
SrcPort: "{semantic}",
TgtURN: row.URN,
TgtPort: "tagged-in",
TgtPort: "{semantic}",
ContractURN: "urn:moos:contract:hdc-drift-annotation.v1",
Fold Copilot PR #55 nit by centralizing semantic port + contract URN constants and reusing them in runtime tests.

authored-by: agent:vscode.hp-laptop.wolfram / session:sam.kernel-proper / t250-wf11-drift-annotation-rehome
@MSD21091969

Copy link
Copy Markdown
Collaborator Author

Folded Copilot nit from #147 conventions brief:

  • hoisted {semantic} and drift-annotation contract URN into shared constants
  • runtime emission and runtime test now both consume the same constants

Validation: go test ./... passed.
Commit: 0ed1d70

@MSD21091969 MSD21091969 merged commit b51e0c4 into master Jul 9, 2026
1 check passed
@MSD21091969 MSD21091969 deleted the feat/t250-wf11-drift-annotation-rehome branch July 9, 2026 10:51
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.

Pre-existing: WF11 tagged/tagged-in HDC drift-claim LINK silently rejected by the declaration gate

2 participants