You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Design-sensitive documentation issue. This is the source-of-truth boundary slice for the RunContract Harness track; it should land before implementation issues #98-#102.
Summary
Document RunContract Harness as a generic, pre-workflow substrate over Kapi/Ilchul run state before adding projection, criteria, scoring, rendering, or GitHub/Ragna adapter code.
Context
Kapi already has workflow state, artifacts, evidence, workers, quality probes, and supervisor surfaces. The next track introduces a more generic RunContract vocabulary so these concepts can be inspected without assuming coding-specific workflows.
The previous stabilization prerequisites noted in this issue's comments have now been reconciled in related PRs/issues (#78-#81, #87-#88, #15), so this docs boundary is the next safe slice.
Problem
The current docs describe Kapi's durable modes and supervisor runtime, but they do not yet define the RunContract layer split. Without that boundary, later implementation slices could accidentally move GitHub issues, PR review, Discord lanes, or Kade/Ragna authority rules into generic core types.
Scope
Define RunContract Harness as a generic run/contract/evidence/artifact/completion view over existing Kapi state.
Clarify that Ilchul is product/documentation branding only; reusable code/API/tool identifiers should use semantic names such as run, contract, preset, harness, evidence, score, and steer instead of ilchul.
Keep the change documentation-only unless a follow-up issue explicitly asks for code.
Non-goals
No runtime behavior changes.
No new core PolicyModule system in this slice.
No GitHub issue/PR, kapi-agent, Discord lane, dev merge, tracker cleanup, or Kade/Ragna authority semantics in the generic core layer.
No replacement of existing Kapi modes or workflow artifacts.
Acceptance criteria
Source-of-truth docs explain RunContract Harness as generic and pre-workflow, not GitHub/PR-specific.
Docs state what core owns: run state, evidence model, artifact references, contract preset shape, completion criteria, quality hints, and generic steering hints.
Docs state what core does not own: GitHub/PR semantics, repository/code-review assumptions, Discord lane semantics, kapi-agent review policy, merge/tracker cleanup, and Kade/Ragna authority rules.
Docs identify ContractPreset, EvidenceExpectation, CompletionCriteria, and ScoringHint as candidate vocabulary without making PolicyModule the first-slice primitive.
Docs clarify that Ilchul is product/documentation branding only; reusable code/API/tool identifiers should use semantic names such as run, contract, preset, harness, evidence, score, and steer instead of ilchul.
Verification
git diff --check
Run docs-related tests if touched by the change.
Search the new docs for accidental framing that makes GitHub/PR workflows mandatory for RunContract core.
Status
Design-sensitive documentation issue. This is the source-of-truth boundary slice for the RunContract Harness track; it should land before implementation issues #98-#102.
Summary
Document RunContract Harness as a generic, pre-workflow substrate over Kapi/Ilchul run state before adding projection, criteria, scoring, rendering, or GitHub/Ragna adapter code.
Context
Kapi already has workflow state, artifacts, evidence, workers, quality probes, and supervisor surfaces. The next track introduces a more generic RunContract vocabulary so these concepts can be inspected without assuming coding-specific workflows.
The previous stabilization prerequisites noted in this issue's comments have now been reconciled in related PRs/issues (#78-#81, #87-#88, #15), so this docs boundary is the next safe slice.
Problem
The current docs describe Kapi's durable modes and supervisor runtime, but they do not yet define the RunContract layer split. Without that boundary, later implementation slices could accidentally move GitHub issues, PR review, Discord lanes, or Kade/Ragna authority rules into generic core types.
Scope
Ilchulis product/documentation branding only; reusable code/API/tool identifiers should use semantic names such asrun,contract,preset,harness,evidence,score, andsteerinstead ofilchul.Non-goals
PolicyModulesystem in this slice.Acceptance criteria
ContractPreset,EvidenceExpectation,CompletionCriteria, andScoringHintas candidate vocabulary without makingPolicyModulethe first-slice primitive.Ilchulis product/documentation branding only; reusable code/API/tool identifiers should use semantic names such asrun,contract,preset,harness,evidence,score, andsteerinstead ofilchul.Verification
git diff --checkReferences
README.md,GOAL.md,src/domain/types.ts,src/domain/workflows.ts,src/domain/quality-probe.ts,src/cli/kapi-cli.ts