Commit e597bf0
feat(alerts): emit canonical node paths in describe
Every node in describe's tree now carries its path (the same canonical form
leaf_paths emits). A sustained node's path equals the key the engine stores its
timer under (condition_timers.path) - root is kind.wire(), the engine's own
timer-path root, and children use the shared core child_path - so a host joins
a duration node straight to its persisted first-true instant for a live
11-of-15-minute countdown without re-deriving paths itself.
Leaf-id assignment and the container-unwrap guards are unchanged. Adds a test
pinning the emitted paths against the timer-key form.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c784297 commit e597bf0
3 files changed
Lines changed: 60 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | | - | |
| 305 | + | |
| 306 | + | |
305 | 307 | | |
306 | | - | |
307 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
314 | 321 | | |
315 | 322 | | |
316 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
559 | 563 | | |
560 | | - | |
| 564 | + | |
561 | 565 | | |
562 | 566 | | |
563 | 567 | | |
| |||
572 | 576 | | |
573 | 577 | | |
574 | 578 | | |
575 | | - | |
| 579 | + | |
576 | 580 | | |
577 | 581 | | |
578 | 582 | | |
579 | | - | |
| 583 | + | |
580 | 584 | | |
581 | 585 | | |
582 | 586 | | |
| |||
586 | 590 | | |
587 | 591 | | |
588 | 592 | | |
589 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
590 | 599 | | |
591 | 600 | | |
592 | 601 | | |
| 602 | + | |
593 | 603 | | |
594 | 604 | | |
595 | 605 | | |
| |||
599 | 609 | | |
600 | 610 | | |
601 | 611 | | |
| 612 | + | |
602 | 613 | | |
603 | 614 | | |
604 | | - | |
| 615 | + | |
| 616 | + | |
605 | 617 | | |
606 | 618 | | |
607 | 619 | | |
608 | 620 | | |
609 | 621 | | |
610 | 622 | | |
611 | 623 | | |
| 624 | + | |
612 | 625 | | |
613 | 626 | | |
| 627 | + | |
614 | 628 | | |
615 | | - | |
| 629 | + | |
616 | 630 | | |
617 | 631 | | |
618 | 632 | | |
| |||
643 | 657 | | |
644 | 658 | | |
645 | 659 | | |
646 | | - | |
| 660 | + | |
647 | 661 | | |
648 | | - | |
| 662 | + | |
649 | 663 | | |
650 | 664 | | |
651 | 665 | | |
652 | | - | |
653 | | - | |
| 666 | + | |
| 667 | + | |
654 | 668 | | |
655 | 669 | | |
656 | 670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
785 | 811 | | |
786 | 812 | | |
787 | 813 | | |
| |||
0 commit comments