HEL-697: assign visual design and implementation to visual director
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -21,7 +21,13 @@ def check(handoff=None, base_ref=None):
|
||||
rows = baseline['requirements']
|
||||
ids = [r['id'] for r in rows]
|
||||
known = set(ids)
|
||||
evidence = {c['id']: c for c in read(DOCS / 'sources/comment-evidence.json')}
|
||||
evidence = {}
|
||||
for path in sorted((DOCS / 'sources').glob('comment-evidence*.json')):
|
||||
for comment in read(path):
|
||||
old = evidence.get(comment['id'])
|
||||
if old and old != comment:
|
||||
errors.append(f'同一来源评论出现不同记录:{comment["id"]}')
|
||||
evidence[comment['id']] = comment
|
||||
if len(ids) != len(known):
|
||||
errors.append('重复的需求编号')
|
||||
text = (DOCS / 'current.md').read_text(encoding='utf-8')
|
||||
|
||||
Reference in New Issue
Block a user