Commit Graph

11 Commits

Author SHA1 Message Date
Дмитрий 350926057d feat(brain-spec): Phase 1 design (consumer-universal plugins + context7 activation)
Design doc для brain v1.2 → v1.3 release. Phase 1 после Phase 0 meta-foundation.

Scope: 5 plugin'ов из shortlist consumer-universal — code-review, security-guidance,
pr-review-toolkit, telegram (target=consumer, registered-only), и context7 (target=
user-level+consumer, активен в brain как docs API/SDK lookup). Plus tech-debt close:
install-plugins.sh learns --install-target ENUM filter (per routing.md v1.1 §4.1).

Out of scope: Liderra deploy (blocked outstanding v1.0), Phase 2 stack-gated, custom
skills, Pravila v2 bump.

Spec covers: architecture/data-flow (§3), per-file deliverables (§4), 10 conflicts
mitigation (§5), per-artifact verification (§6), runtime deps checks (§7), 5 atomic
commits sequence + rollback (§8), open risks (§9), self-review (§10).

Spec self-review passed: no TBD/TODO/FIXME, only intentional <utc-at-commit-time>
and <commit-5-sha> placeholders. Internal consistency §2 ↔ §4 ↔ §8 verified.
Cross-refs resolve correctly from docs/superpowers/specs/ base.

Next: invoke superpowers:writing-plans для детального plan'а Phase 1B (commits 2-5).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:49:29 +03:00
Дмитрий d5172b7a64 feat(brain-plugins): install hookify as meta plugin
Anthropic-verified plugin from claude-plugins-official marketplace (HEAD
00679aef889e). Installed in cache via cp from marketplace. Routing.md
+§2.1 row, +§3.1 row for «hook creation» task class, +§4.2 status update
for #18.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:16:28 +03:00
Дмитрий 19a1e94f15 feat(brain-plugins): install plugin-dev as meta plugin
Anthropic-verified plugin from claude-plugins-official marketplace (HEAD
00679aef889e). Installed in cache via cp from marketplace (Path 2,
manual-cp-from-marketplace). Routing.md bumped to v1.1: +§2.1 row, +§3.1
row for «plugin creation» task class, +§4.2 status update for #17.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:12:59 +03:00
Дмитрий 179101d772 docs(brain-plugin-routing): plan for install plugin-dev + hookify (v1.2)
4 atomic tasks (3 commits + 1 verification+push) for installing brain-meta
plugins #17 and #18 per routing.md §5.1, bumping brain to v1.2 with
routing.md v1.1 (new task classes: plugin creation, hook creation).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:04:28 +03:00
Дмитрий a741532d1e feat(brain-plugin-routing): create routing rules v1.0
Normative document for plugin selection in brain repo. Implements design
spec dbd80e9. Covers reestr, disabled-in-brain soft-rule, routing table,
categorization, install checklist, and update procedure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 13:45:34 +03:00
Дмитрий 22eb6abf05 docs(brain-plugin-routing): implementation plan
6 atomic tasks (5 commits + 1 verification) for implementing brain-plugin-routing.md
v1.0 per design spec dbd80e9.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 13:42:58 +03:00
Дмитрий dbd80e9715 docs(brain-plugin-routing): design spec for plugin selection rules
Brainstorming output for resolving 8 sources of ambiguity (К1-К8) when
selecting a plugin while working inside brain repo. Approach A chosen
(separate docs/brain-plugin-routing.md ~275 lines). Decisions D1-D12
locked. Implementation deferred to writing-plans skill.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 13:39:50 +03:00
Дмитрий b58f29d23c docs(brain-v2): Phase 0 meta-foundation analysis
Foundation step for brain v2 — establish canonical structure for skills
and rules. Adds two new meta-plugins to brain stack:
- skill-creator@claude-plugins-official (Anthropic verified)
- claude-code-setup@claude-plugins-official (Anthropic verified)

Phase 0 deliverables:
- preliminary.md: frontmatter conventions diff (Anthropic vs Obra),
  brain v1 inventory (0 custom skills, 17 inherited from 4 plugins),
  initial canonical decision before install
- final.md: post-install findings, divergences from preliminary,
  recommender output (manually applied on brain repo only — Liderra
  scope excluded per user instruction), audit of 17 inherited skills

Key findings:
- Anthropic skill-creator and Obra writing-skills are DIFFERENT
  philosophies (scientific vs disciplinarian), not just complementary.
  Decision: structure from Anthropic + testing from Obra, scoped by
  skill type
- `tools:` frontmatter field is OPTIONAL even in Anthropic canonical
- skill-creator advocates "pushy" descriptions against undertriggering
  (opposite to Obra's "Use when only" rule)
- Anthropic explicit anti-pattern: «If you find yourself writing ALWAYS
  or NEVER in all caps — yellow flag, reframe and explain reasoning»
- ui-ux-pro-max uses LEGACY skill.json format (others use SKILL.md) —
  brain v2 must support both schemas

Recommender external validation added 2 new candidates to shortlist:
plugin-dev (Anthropic) and hookify (Anthropic) — both high-ROI for
brain as plugin distributor.

Install method: Path 2 (manual git clone) — Claude CLI not installed
on machine, VSCode extension doesn't support /plugin install.
Settings.json and installed_plugins.json manually updated outside repo
(in ~/.claude/).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 12:59:53 +03:00
Дмитрий af310ebf7c docs(sessions): followup — close outstanding #4 (gh CLI install)
- gh 2.92.0 installed via choco (winget absent on Server 2022 Eval)
- gh auth already wired via GITHUB_TOKEN env (CoralMinister)
- Token scope: contents:read OK, issues/PRs forbidden
- Memory workspace bootstrapped for c:/моя/проекты/claude-brain/

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 07:33:02 +03:00
Дмитрий bb40760a70 docs(sessions): brain v1.0 bootstrap session log
Comprehensive conspectus of the 2026-05-11 bootstrap session:
- Pre-bootstrap decisions (mode 0%, subagent-driven, etc.)
- Phase-by-phase chronology (commits + artifacts + verification outputs)
- 11 bugs discovered and fixed (6 plan + 5 Phase 9 runtime)
- Windows Server 2022 / Git Bash quirks (Cyrillic paths, jq fopen, etc.)
- Outstanding items (Liderra main push deferred, MAGIC_API_KEY rotation deferred)
- Workflow learnings (TDD success, Subagent dispatch granularity, mock CLI patterns)
- Final metrics (14 commits, 8/8 tests, 64/64 hook subtests, 0 leaks)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 07:12:31 +03:00
Дмитрий 917ef337b2 docs: brain meta documentation + manifest.json
- CLAUDE.md (brain repo meta)
- README.md (root quick start)
- CHANGELOG.md (brain-v1.0 release notes)
- manifest.json (sha256 + min-python + required tools)
- docs/architecture.md (copy of Liderra spec)
- docs/how-to-use-brain.md
- docs/how-to-experiment.md
- docs/secrets-and-tokens.md
- docs/consumer-projects.md
- user-level-files/README.md
- project-files/README.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 01:05:10 +03:00