Commit 4c0fc30
docs(130): post-delivery quality review (#150)
* refactor(130): simplify code per /simplify review
- Extract _build_error_record() helper to dedupe the stderr-decode
dance across CalledProcessError and TimeoutExpired branches in
_render_single (was ~12 lines of copy-paste).
- Inline single-use aliases in _render_single; trim verbose module-state
comment to one sentence.
- Consolidate per-test boilerplate in test_mmdc_preflight.py via a new
render_dirs fixture (saves ~30 lines of target_dir/template_dir
duplication across 8 tests).
- Delete test_preflight_skipped_when_only_low_medium_findings — it was
byte-identical to test_preflight_skipped_when_attack_trees_empty.
- Fix _make_error_record type annotation: stderr: "bytes | str".
- Drop task/refinement/FR-ID references from module and section
comments per KB-027 (they rot after the feature closes).
Test suite: 47/48 pass (dropped 1 duplicate), backward-compat
baselines unchanged. Net: -138 lines.
Co-Authored-By: Claude <noreply@anthropic.com>
* chore(130): regenerate BACKLOG.md after #130 closure
Issue #130 transitioned from stage:deliver to stage:done during the
delivery retrospective — remove it from the active-backlog table.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(130): update CHANGELOG with Feature 130 breaking change entry
Add Unreleased entry describing the mmdc hard-prerequisite posture,
defense-in-depth preflight gates, mid-render failure aggregator,
backward-compatibility guarantees, and documentation sync.
Mirrors the Feature 136 narrative style for correctness-fix breaking
changes. Release-please will pick this up on the next release.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(130): review KB entries — update KB-029 test counts post-simplify
The /aod.document simplify pass deleted a byte-identical duplicate
preflight test. Reflect the new post-simplify test count (47/48,
8 distinct new cases instead of 9) in KB-029.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c3cff4f commit 4c0fc30
File tree
5 files changed
+101
-198
lines changed- docs
- product/_backlog
- scripts
- tests/scripts
5 files changed
+101
-198
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
19 | 60 | | |
20 | 61 | | |
21 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
| 712 | + | |
| 713 | + | |
721 | 714 | | |
722 | 715 | | |
723 | 716 | | |
724 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
725 | 732 | | |
726 | 733 | | |
727 | 734 | | |
728 | 735 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
740 | 739 | | |
741 | 740 | | |
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
745 | 744 | | |
746 | 745 | | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 746 | | |
751 | 747 | | |
752 | 748 | | |
| |||
758 | 754 | | |
759 | 755 | | |
760 | 756 | | |
761 | | - | |
| 757 | + | |
762 | 758 | | |
763 | | - | |
| 759 | + | |
764 | 760 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
| 761 | + | |
| 762 | + | |
781 | 763 | | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
| 764 | + | |
794 | 765 | | |
795 | 766 | | |
796 | 767 | | |
| |||
825 | 796 | | |
826 | 797 | | |
827 | 798 | | |
828 | | - | |
829 | 799 | | |
830 | 800 | | |
831 | 801 | | |
| |||
0 commit comments