A decision links the milestone that builds it: link kind built-in (milestone 47/G, W15.2)
ADR 0493 section 4 names the links; the knowledge base took no milestone as a target. Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ (Joined from 5f4e4d29.) Builds: design 47 G §318 (KB1) Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
@@ -248,6 +248,10 @@ func JudgeRecordOn(r *Record, held *Entry, lookup Lookup, ref *Reference, day st
|
||||
if !decision || l.To.Kind != KindDecision || l.To.Clause > 0 {
|
||||
refuse("link-fits", "rests-on goes from a decision to a decision it stands on: not %s", l)
|
||||
}
|
||||
case l.Kind == LinkBuiltIn:
|
||||
if !decision || l.To.Kind != TargetMilestone {
|
||||
refuse("link-fits", "built-in goes from a decision to the milestone that builds it, named as milestone 47/G: not %s", l)
|
||||
}
|
||||
case l.Kind == LinkTouches:
|
||||
if r.Kind != KindResearch || l.To.Clause > 0 {
|
||||
refuse("link-fits", "touches goes from a research effort to a record, an issue or a design: not %s", l)
|
||||
|
||||
Reference in New Issue
Block a user