Commit b7c2057
strengthen AI duplicate prevention with hierarchical context
- build_triage_context now shows subtasks indented under parents so
the AI can see the full hierarchy before deciding create vs update
- added CRITICAL deduplication rules to triage system prompt
- strengthened create_task/update_task tool descriptions to prefer
updates over creating duplicates
- increased context limit from 40 to 60 to accommodate subtask lines
Co-Authored-By: Warp <agent@warp.dev>1 parent 9145a8d commit b7c2057
2 files changed
Lines changed: 48 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1149 | 1149 | | |
1150 | 1150 | | |
1151 | 1151 | | |
1152 | | - | |
| 1152 | + | |
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
| |||
1323 | 1323 | | |
1324 | 1324 | | |
1325 | 1325 | | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1326 | 1331 | | |
1327 | 1332 | | |
1328 | 1333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2868 | 2868 | | |
2869 | 2869 | | |
2870 | 2870 | | |
| 2871 | + | |
2871 | 2872 | | |
2872 | | - | |
2873 | | - | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
2874 | 2876 | | |
2875 | 2877 | | |
2876 | | - | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
2877 | 2885 | | |
2878 | 2886 | | |
2879 | 2887 | | |
| |||
2893 | 2901 | | |
2894 | 2902 | | |
2895 | 2903 | | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
2896 | 2934 | | |
2897 | 2935 | | |
2898 | 2936 | | |
| |||
0 commit comments