@@ -25,22 +25,9 @@ export function isCI(): boolean {
2525 return Deno . env . get ( 'CI' ) === 'true' ;
2626}
2727
28+ // ADR-0144 / #1229: fmt/lint/type-graph/Markdown are owned by Deno fmt, deno
29+ // lint, deno check and markdownlint-cli2 as autoflow-ci.yml steps and .githooks calls.
2830const GATES : readonly GateDefinition [ ] = [
29- {
30- name : 'fmt:check' ,
31- command : [ 'deno' , 'task' , 'fmt:check' ] ,
32- tiers : [ 'dev' , 'push' , 'ci' , 'release' ] ,
33- } ,
34- {
35- name : 'lint' ,
36- command : [ 'deno' , 'task' , 'lint' ] ,
37- tiers : [ 'dev' , 'push' , 'ci' , 'release' ] ,
38- } ,
39- {
40- name : 'typecheck' ,
41- command : [ 'deno' , 'task' , 'typecheck' ] ,
42- tiers : [ 'push' , 'ci' , 'release' ] ,
43- } ,
4431 {
4532 name : 'graph:check' ,
4633 command : [ 'deno' , 'task' , 'graph:check' ] ,
@@ -326,14 +313,6 @@ const GATES: readonly GateDefinition[] = [
326313 tiers : [ 'ci' , 'release' ] ,
327314 triggers : [ / ^ p a c k a g e s \/ ( e l e m e n t | u i | a p p ) \/ s r c \/ / ] ,
328315 } ,
329- {
330- // #1156 (B2.6): markdownlint-cli2 owns Markdown structure per ADR-0144
331- // (thin .markdownlint-cli2.jsonc config; no bespoke checker).
332- name : 'lint:markdown' ,
333- command : [ 'deno' , 'task' , 'lint:markdown' ] ,
334- tiers : [ 'push' , 'ci' , 'release' ] ,
335- triggers : [ / \. m d $ / , / ^ \. m a r k d o w n l i n t - c l i 2 \. j s o n c $ / , / ^ d e n o \. j s o n $ / ] ,
336- } ,
337316 {
338317 name : 'text-integrity:check' ,
339318 command : [ 'deno' , 'task' , 'text-integrity:check' ] ,
0 commit comments