Skip to content

docs: add source evidence and coding-obligation predicates to uring agent guides#24

Merged
hayabusa-cloud merged 1 commit into
mainfrom
docs/runtime-coding-obligations
Jun 19, 2026
Merged

docs: add source evidence and coding-obligation predicates to uring agent guides#24
hayabusa-cloud merged 1 commit into
mainfrom
docs/runtime-coding-obligations

Conversation

@hayabusa-cloud

Copy link
Copy Markdown
Owner

Summary

Adds review-checkable evidence to the uring package agent guides: each caller-layer runtime guide now names the package source files it relies on and states a coding obligation, so a reviewer can confirm the guide still matches the current public package surface. The change is documentation-only and does not touch product code.

Signed-off-by: Robin He <git@hybscloud.com>
Copilot AI review requested due to automatic review settings June 19, 2026 07:21
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

This PR updates the uring agent guides (documentation/formalization) to make runtime integration rules more review-checkable by explicitly listing “source evidence” inputs and adding CodingObligation_* predicates for the caller-layer runtime packages (kont, cove, takt, sess), plus related lift/formalization refinements.

Changes:

  • Add Source_* evidence sets and CodingObligation_* predicates to the runtime guides (agents/runtime/*).
  • Add path/source-reading notation (Path, SourceFile, read_current_source) and propagate source-check obligations into the runtime lift (agents/lift/protocols-runtime.md).
  • Minor formalization cleanup/strengthening (e.g., strata order consistency, quantified protocol-step constraint, and more explicit compilation predicates).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
AGENTS.md Notes that runtime guides now include source-evidence and coding-obligation material for review.
agents/runtime/INDEX.md Updates runtime-guide index text to mention CodingObligation_* predicates and source evidence.
agents/runtime/kont.md Adds Source_kont and CodingObligation_kont predicate.
agents/runtime/cove.md Adds Source_cove and CodingObligation_cove predicate.
agents/runtime/takt.md Adds Source_takt, completion-value copying predicate, and CodingObligation_takt.
agents/runtime/sess.md Adds Source_sess, clarifies transport domain, and adds CodingObligation_sess.
agents/lift/protocols-runtime.md Extends runtime lift with RuntimeSource_rc, context/copy helpers, and CodingObligation_*_rc predicates.
agents/formalization/notation.md Defines B earlier, adds K, and introduces Path/SourceFile/read_current_source.
agents/formalization/sessions.md Minor strata ordering consistency (B = boundary(module) moved earlier).
agents/formalization/INDEX.md Replaces large vocabulary code block with a navigation-oriented bullet list.
agents/formalization/go-mapping.md Makes compilation obligations more explicit via existentials and action-specific compilation constraints.

Comment thread agents/runtime/takt.md
Comment on lines +56 to +62
Source_takt =
{path("takt/backend.go"), path("takt/takt.go"), path("takt/bridge.go"),
path("takt/step.go"), path("takt/error.go"), path("takt/loop.go"),
path("takt/option.go"), path("takt/subscription_backend.go"),
path("takt/subscription.go"), path("takt/subscription_option.go"),
path("takt/completion_memory.go")}
source_checked(Source_takt) ⇔ ∀ f ∈ Source_takt. read_current_source(f)
Comment thread agents/runtime/sess.md
Comment on lines +54 to +59
Source_sess =
{path("sess/op.go"), path("sess/session.go"), path("sess/step.go"),
path("sess/error.go"), path("sess/run.go"), path("sess/bridge.go"),
path("sess/fused.go"), path("sess/fused_expr.go"),
path("sess/rec.go"), path("sess/exec.go"), path("sess/serial.go")}
source_checked(Source_sess) ⇔ ∀ f ∈ Source_sess. read_current_source(f)
Comment thread agents/runtime/kont.md
Comment on lines +50 to +55
Source_kont =
{path("kont/effect.go"), path("kont/cont.go"), path("kont/frame.go"),
path("kont/bridge.go"), path("kont/step.go"), path("kont/trampoline.go"),
path("kont/index.go"), path("kont/affine.go"), path("kont/marker_pool.go"),
path("kont/pool.go"), path("kont/dispatch.go")}
source_checked(Source_kont) ⇔ ∀ f ∈ Source_kont. read_current_source(f)
Comment thread agents/runtime/cove.md
Comment on lines +55 to +61
Source_cove =
{path("cove/constraint.go"), path("cove/view.go"), path("cove/cmd.go"),
path("cove/req.go"), path("cove/req_expr.go"), path("cove/rule.go"),
path("cove/rule_expr.go"), path("cove/checked.go"),
path("cove/checked_expr.go"), path("cove/step.go"),
path("cove/kripke.go"), path("cove/bridge.go")}
source_checked(Source_cove) ⇔ ∀ f ∈ Source_cove. read_current_source(f)
Comment on lines +314 to +333
RuntimeSource_rc =
{ path("kont/effect.go"), path("kont/cont.go"), path("kont/frame.go"),
path("kont/bridge.go"), path("kont/step.go"), path("kont/trampoline.go"),
path("kont/index.go"), path("kont/affine.go"), path("kont/marker_pool.go"),
path("kont/pool.go"), path("kont/dispatch.go"),
path("cove/constraint.go"), path("cove/view.go"), path("cove/cmd.go"),
path("cove/req.go"), path("cove/req_expr.go"), path("cove/rule.go"),
path("cove/rule_expr.go"), path("cove/checked.go"),
path("cove/checked_expr.go"), path("cove/step.go"),
path("cove/kripke.go"), path("cove/bridge.go"),
path("takt/backend.go"), path("takt/takt.go"), path("takt/bridge.go"),
path("takt/step.go"), path("takt/error.go"), path("takt/loop.go"),
path("takt/option.go"), path("takt/subscription_backend.go"),
path("takt/subscription.go"), path("takt/subscription_option.go"),
path("takt/completion_memory.go"),
path("sess/op.go"), path("sess/session.go"), path("sess/step.go"),
path("sess/error.go"), path("sess/run.go"), path("sess/bridge.go"),
path("sess/fused.go"), path("sess/fused_expr.go"),
path("sess/rec.go"), path("sess/exec.go"), path("sess/serial.go") }
source_checked(RuntimeSource_rc) ⇔ ∀ f ∈ RuntimeSource_rc. read_current_source(f)
Comment on lines +257 to +263
PathName = {p | finite_string(p)}
Path = {path(p) | p ∈ PathName}
SourceFile = {f ∈ Path | checked_out_source_file(f)}
read_current_source : SourceFile → Bool
read_current_source(f) ⇔
f ∈ SourceFile ∧ file_exists(f) ∧ read_at_current_revision(f)

@hayabusa-cloud hayabusa-cloud merged commit 81c9b78 into main Jun 19, 2026
10 checks passed
@hayabusa-cloud hayabusa-cloud deleted the docs/runtime-coding-obligations branch June 19, 2026 07:25
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.

2 participants