靠 scope,不靠层级
约束和工作是两个平面,只通过 glob 相连。去年写下的规则会约束今天新建的工作;glob 可以对照文件系统检查,标签做不到。没有 epic,没有父任务,也没有需要同步维护的汇总。
ank new adr --title "Opaque sessions rather than stateless JWT" \
--scope "src/auth/**" \
--constraint "Do not introduce self-contained JWTs for user auth. Every session goes through the Redis store."
created ADR-06d29e727d24 Opaque sessions rather than stateless JWT