Методология активности перенесена в docs/proposed/methodology; индекс методологий, правило, ссылки
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Has been cancelled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 21:21:06 +03:00
parent 6cfaf7b51a
commit 6edc023704
18 changed files with 109 additions and 13 deletions

View File

@@ -55,9 +55,19 @@ function rolesIndex(side) {
return ["# Роли в процессе (сводка, собирается скриптом из файлов `roles/`)", "", "| id | Роль | Кто | Что делает |", "|---|---|---|---|", ...rows].join("\n") + "\n";
}
// Методологии: свободные документы (вне whitelist модулей) в <side>/methodology/
function methodologyIndex(side) {
const root = join(docs, side, "methodology");
const list = files(root);
if (!list.length) return null;
return ["# Методологии (сводка, собирается скриптом из файлов `methodology/`)", "", ...list.map((f) => `- [${f.replace(/\.md$/, "")}](../../${side}/methodology/${f}) - ${describe(join(root, f))}`)].join("\n") + "\n";
}
for (const side of ["approved", "proposed"]) {
const out = join(docs, "generated", side);
mkdirSync(out, { recursive: true });
const meth = methodologyIndex(side);
if (meth) writeFileSync(join(out, "methodology_index.md"), meth);
writeFileSync(join(out, "module_structure.md"), moduleStructure(side));
writeFileSync(join(out, "data_objects_index.md"), dataObjectsIndex(side));
writeFileSync(join(out, "roles_index.md"), rolesIndex(side));