From 786ff34b05851f173f35a9cbe76be0154599c459 Mon Sep 17 00:00:00 2001 From: vitya Date: Tue, 25 Aug 2026 22:07:34 +0300 Subject: [PATCH] =?UTF-8?q?chore(meta):=20file-based=20meta=20channel=20cl?= =?UTF-8?q?osed=20(canon=3Dmappa)=20=E2=80=94=20stubs=20.wiki/.tasks/.agen?= =?UTF-8?q?ts-inbox=20+=20AGENTS.md=20cleanup=20(2026-08-25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tasks/STATUS.md | 152 +--------------------------------------------- .wiki/CLAUDE.md | 31 +--------- .wiki/index.md | 28 +-------- .wiki/log.md | 22 +------ .wiki/overview.md | 6 +- 5 files changed, 10 insertions(+), 229 deletions(-) diff --git a/.tasks/STATUS.md b/.tasks/STATUS.md index 3e8b160..8cf6645 100644 --- a/.tasks/STATUS.md +++ b/.tasks/STATUS.md @@ -1,151 +1,3 @@ -# Task Board -_Updated: 2026-06-11_ (factory-make-public done) +# ⛔ Файловая доска закрыта - - -## 🟢 [#348 infra-as-product-pointers] — Bootstrap-pointers для design infra-as-product. Pre-fills target's `.wiki/CLAUDE.md` Domain conventions ссылками на спецификацию. Дизайн лежит в `concepts/infra-as-product.md` этого репо — нужен pointer-stub чтобы следующий агент не угадывал архитектуру из where_stopped one-liner'ов. - -**Кто делает:** любой следующий агент в этом проекте. Первая по приоритету таска — все остальные импл-таски ссылаются на дизайн через .wiki/CLAUDE.md. - -**Status:** done -**Created:** 2026-06-11 -**Where I stopped:** fore implementing any factory component. Do not invent the architecture from task prompts alone." - -**Assumption noted:** The task's "Next action" block appeared to be minimal/truncated. I expanded it to a proper pointer stub (link + summary + guard) rather than inserting only the bare guard sentence — this is more useful for a future agent and is trivially reversible if the format needs adjusting. -**Next action:** (none — kept until merged) - -### Mandatory: read design context before implementation - -Before picking up any task in `.tasks/`, load the full design context: - -1. **Design doc (canonical):** `.wiki/concepts/infra-as-product.md` — архитектура factory v1, модульная система, checklist до Алексея. -2. **Brainstorm process trace (rationale):** `~/projects/.workshop/.archive/2026-06-11-infra-as-product.md` — почему каждое решение принято, что отвергнуто. - -Закоммитить: `wiki(claude): add design-context pointers for infra-as-product`. -**Branch:** n/a -**Weight:** needs-claude -**Notify:** OpeItcLoc03/workshop - - - ---- - -## 🟢 [#344 factory-make-public] — Сделать репо OpeItcLoc03/factory публичным на git.kzntsv.site. Сейчас private — внешние пользователи не могут клонировать. Это первый шаг перед тем как давать factory Алексею или кому-либо ещё. - -**Status:** done -**Created:** 2026-06-11 -**Where I stopped:** Repo made public via PATCH /api/v1/repos/OpeItcLoc03/factory {"private": false}. API confirmed private=false. -**Next action:** (none — kept until merged) -**Branch:** n/a - - - ---- - -## 🟢 [#342 factory-bundle-mcp-servers] — Перенести MCP-серверы из `.common/lib/` в `factory/lib/` — курировано, без нашей операционной кухни (secrets/, config/, .tasks/). Три сервера: projects-meta-mcp, wiki-graph, interns-mcp. Источник в .common остаётся для нашей dev-среды. - -**Status:** done -**Created:** 2026-06-11 -**Where I stopped:** commit ca669d9 — 116 files, lib/{projects-meta-mcp,wiki-graph,interns-mcp} + .gitignore + bootstrap.ps1 build step -**Next action:** (none — kept until merged) -**Branch:** n/a - - - ---- - -## 🟢 [#343 factory-bundle-skills] — Перенести минимальный набор скилов из claude-skills в factory/skills/. Bootstrap копирует их в ~/.claude/skills/ при установке. Минимальный набор: setup-wiki, using-wiki, setup-tasks, using-tasks, superpowers, project-discipline, pulling-before-work, active-platform, caveman. - -**Status:** done -**Created:** 2026-06-11 -**Where I stopped:** perpowers:brainstorming` (namespaced) depends on how it handles nested skill directories — if it doesn't, installing the plugin via `/plugin install superpowers@claude-plugins-official` remains the correct path for superpowers skills, and the bundled copy serves as a pinned offline fallback. The alternative I passed over: skipping superpowers from the bundle entirely and keeping it as plugin-only. -**Next action:** (none — kept until merged) -**Branch:** n/a - - - ---- - -## 🟢 [#347 factory-write-yaml] — Написать factory.yaml — манифест компонентов с версиями и модульной системой. Ядро (всегда): MCP-серверы + skills. Модули (опционально): tasks, wiki, workshop, admin. Каждый модуль описывает что создаётся (Gitea-репо, локальный клон, CLAUDE.md-шаблон). - -**Status:** done -**Created:** 2026-06-11 -**Where I stopped:** commit 0710baa — factory.yaml restructured (schema_version 1, core/modules split, 4 components + 4 modules with creates[]); bootstrap.ps1 gains Read-FactoryManifest + manifest-driven MCP build loop -**Next action:** (none — kept until merged) -**Branch:** n/a - - - ---- - -## 🔵 [#346 factory-write-bootstrap] — Дописать bootstrap.ps1 — закрыть все gaps из L0/install-log.md. Скрипт должен быть non-interactive и идемпотентным. Поддерживает --update режим. Параметризует git_host (не хардкодит git.kzntsv.site). Спрашивает какие модули включить. Создаёт Gitea-репо через API для выбранных модулей. - -**Status:** blocked -**Created:** 2026-06-11 -**Where I stopped:** exit 1 -**Next action:** Читать L0/install-log.md — все gaps отмечены. Ключевые: (1) winget PATH сброс требует restart — скрипт должен самозавершаться с --resume; (2) claude native через irm не через npm-global; (3) git clone с extraheader не с USER:TOKEN@ в URL; (4) home.toml через Set-Content не here-string; (5) Gitea API для создания wiki/workshop репо. secrets.toml вместо разрозненных auth.toml+interns.env. -**Branch:** n/a -**Owner:** DESKTOP-NSEF0UK:claude-sonnet:34612 -**Claim token:** 9c07bd89-0a64-417b-ab1a-c2f701d062c6 -**Claim expires at:** 2026-06-11T11:49:11.541Z - - ---- - -## ⚪ [#345 factory-test-laptop] — Тест чистой установки factory на новом ноуте (field-test 2026-05-06, частично настроен через старый ручной метод). Сброс старой установки, чистый прогон bootstrap.ps1. Ноут = наш beta-test до Алексея. - -**Status:** ready -**Created:** 2026-06-11 -**Where I stopped:** (not started) -**Next action:** На ноуте: удалить старые артефакты (/.factory, /.common, ~/.claude/skills/, mcpServers из ~/.claude.json). Клонировать публичный factory. Запустить bootstrap.ps1. Пройти по install-log.md как чеклисту — все шаги должны пройти без ручных workaround'ов. -**Branch:** n/a - - ---- - -## ⚪ [#349 infra-as-product-review] — Review checkpoint для брейнсторма infra-as-product (промоушен 2026-06-11). - -**Спецификация:** `.wiki/concepts/infra-as-product.md` в OpeItcLoc03/factory. -**Pre-impl bootstrap:** `infra-as-product-pointers`. -**Импл-таски:** factory-make-public, factory-bundle-mcp-servers, factory-bundle-skills, factory-write-yaml, factory-write-bootstrap, factory-test-laptop. - -**Кто делает:** не имплементер. Следующая сессия с чистым контекстом. - -**Чек-лист:** -- bootstrap.ps1 прогоняется на чистой машине без ручных workaround'ов -- git_host параметризован — нет хардкода git.kzntsv.site -- secrets.toml заменяет auth.toml + interns.env -- Модульный выбор работает (tasks/wiki/workshop/admin) -- --update режим идемпотентен - -**Status:** ready -**Created:** 2026-06-11 -**Where I stopped:** (not started) -**Next action:** Дождаться 🟢 у всех blocker-тасок включая infra-as-product-pointers. Прочитать спецификацию. Проверить factory на чистой машине по чек-листу. Findings → follow-up tasks. -**Branch:** n/a - - ---- +**Не читать. Не править.** Канон — mappa (`mcp__mappa__task_*`): task-сущности проекта. Скил: `mappa-task-work`. diff --git a/.wiki/CLAUDE.md b/.wiki/CLAUDE.md index b3ec39a..21695bc 100644 --- a/.wiki/CLAUDE.md +++ b/.wiki/CLAUDE.md @@ -1,30 +1,3 @@ -# Wiki Schema — factory +# ⛔ Файловый канал закрыт -Project-specific wiki conventions. Read this before any wiki operation. - -This wiki follows Karpathy's LLM Wiki pattern: -**https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f** - -The `using-wiki` skill enforces the workflow and file formats. This file overrides the skill where they conflict. - -## Page types - -- `entities/` — discrete things the project tracks (people, services, modules). -- `concepts/` — recurring ideas, design decisions, gotchas. -- `packages/` — code packages this project produces or consumes. -- `summaries/` — one summary page per ingested external doc; frontmatter carries `ingested:` and `raw_path:`. -- `overview.md` — single project-wide overview. - -## Naming - -- `kebab-case.md`, **Latin only**. Transliterate Cyrillic in filenames; keep the original title in the H1 + frontmatter. - -## Domain conventions - - - -### infra-as-product - -Design spec: [`concepts/infra-as-product.md`](concepts/infra-as-product.md) — 6-layer OS architecture (физический → control plane → знание → рабочая сила → оркестрация → методология), bootstrap structure, dev/prod split, versioning model. - -Read the spec before implementing any factory component. Do not invent the architecture from task prompts alone. +**Не читать. Не править.** Канон — mappa (`mcp__mappa__*`): wiki-сущности проекта, конвенции — AGENTS-сущность. Скил: `mappa-knowledge`. diff --git a/.wiki/index.md b/.wiki/index.md index 098b038..21695bc 100644 --- a/.wiki/index.md +++ b/.wiki/index.md @@ -1,27 +1,3 @@ -# Wiki Index +# ⛔ Файловый канал закрыт -Catalog of all wiki pages. One line per page, organized by type. The agent updates this on every ingest. - -## Overview - -- [overview.md](overview.md) — project overview - -## Entities - - - -## Concepts - - - -- [factory-bootstrap](concepts/factory-bootstrap.md) — factory-bootstrap -- [test-machines](concepts/test-machines.md) — test-machines -- [infra-as-product](concepts/infra-as-product.md) — Factory — инфраструктура как продукт - -## Packages - - - -## Sources - - +**Не читать. Не править.** Канон — mappa (`mcp__mappa__*`): wiki-сущности проекта, конвенции — AGENTS-сущность. Скил: `mappa-knowledge`. diff --git a/.wiki/log.md b/.wiki/log.md index fb491bd..21695bc 100644 --- a/.wiki/log.md +++ b/.wiki/log.md @@ -1,21 +1,3 @@ -# Wiki Log +# ⛔ Файловый канал закрыт -Append-only operation log. One entry per operation. Format: - -``` -## [YYYY-MM-DD] | -``` - -Operations: `init`, `ingest`, `query`, `lint`, `refactor`, `decision`. - -Parseable: `grep "^## \[" .wiki/log.md | tail -20`. - ---- - -## [2026-05-06] init | bootstrap empty wiki via project-bootstrap - -## [2026-05-06] ingest | concepts/factory-bootstrap - -## [2026-05-06] ingest | concepts/test-machines - -## [2026-06-11] ingest | concepts/infra-as-product +**Не читать. Не править.** Канон — mappa (`mcp__mappa__*`): wiki-сущности проекта, конвенции — AGENTS-сущность. Скил: `mappa-knowledge`. diff --git a/.wiki/overview.md b/.wiki/overview.md index 5925646..21695bc 100644 --- a/.wiki/overview.md +++ b/.wiki/overview.md @@ -1,5 +1,3 @@ -# factory — overview +# ⛔ Файловый канал закрыт -Software-factory bootstrap for the OpeItcLoc03 fleet — installs and updates meta-infrastructure (`.common/`, `.organization/`, `.templates/`, `.wiki/`, `.tasks/`, `.meeting-room/`, claude-skills, MCP servers) on a clean machine in a single, idempotent, cross-platform run. - -Architecture lives in `concepts/factory-bootstrap.md`. L0 (pre-Claude shell scripts), L1 (`factory` Go binary + `factory.yaml` manifest), L2 (existing `setup-*` skills as the install backbone for runtime services). +**Не читать. Не править.** Канон — mappa (`mcp__mappa__*`): wiki-сущности проекта, конвенции — AGENTS-сущность. Скил: `mappa-knowledge`.