Skip to content

feat: add safe managed Memory Bank blocks#49

Merged
dapi merged 3 commits into
mainfrom
feature/issue-37-dobavit-bezopasnye-managed-bloki-memory
Jul 21, 2026
Merged

feat: add safe managed Memory Bank blocks#49
dapi merged 3 commits into
mainfrom
feature/issue-37-dobavit-bezopasnye-managed-bloki-memory

Conversation

@dapi

@dapi dapi commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Closes #37

Summary

  • add a versioned managed routing block for AGENTS.md with an explicit alternative target
  • make init/update idempotently create or update only the owned block and include its exact diff in dry-run/JSON reports
  • add doctor checks for missing, outdated, and ambiguous markers
  • preserve user-owned bytes outside standalone markers and reject damaged, duplicate, inline, or case-aliased unsafe targets
  • read agent files through pinned repository handles and apply mutations atomically
  • update adoption, CLI, and ownership documentation

Verification

  • go test -count=1 -race ./...
  • go vet ./...
  • memory-bank lint
  • git diff --check

@dapi
dapi merged commit f0bb036 into main Jul 21, 2026
2 checks passed
@dapi
dapi deleted the feature/issue-37-dobavit-bezopasnye-managed-bloki-memory branch July 21, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Добавить безопасные managed-блоки Memory Bank в AGENTS.md

1 participant