Skip to content

docs(memory): persistent-state allowlist flow + architecture/requirements/index (follow-up to #394) - #404

Merged
vybe merged 2 commits into
Abilityai:mainfrom
AndriiPasternak31:docs/383-persistent-state-allowlist-flow
Apr 22, 2026
Merged

vybe merged 2 commits into
Abilityai:mainfrom
AndriiPasternak31:docs/383-persistent-state-allowlist-flow

Conversation

@AndriiPasternak31

Copy link
Copy Markdown
Contributor

Summary

Follow-up documentation for S4 (#383, merged in #394). The code PR landed
before these docs could be added to the same branch, so they ship
separately.

  • `docs/memory/feature-flows/persistent-state-allowlist.md` — new
    vertical-slice flow document covering the creation-time materializer,
    the runtime reader (backend + agent-server), the default allowlist,
    fallback rules, test coverage, and an explicit out-of-scope list.
  • `docs/memory/feature-flows.md` — one new row in Recent Updates
    and one new row in GitHub Integration (descriptions kept to a
    single line per the index convention).
  • `docs/memory/architecture.md` — extend the `git_service.py`
    one-liner and add the `persistent-state.yaml` entry in the agent
    file-structure tree.
  • `docs/memory/requirements.md` — new §11.3 under GitHub Integration
    noting status, scope, and that the reset-preserve-state consumer is
    Reset-preserve-state operation (S3) #384.
  • `docs/memory/project_index.json` — bump `last_updated` and add
    `persistent_state_allowlist` to `features.implemented`.

Docs-only, no code changes. 5 files, +257/-3.

Test plan

  • JSON index validates (`python -m json.tool` succeeds on
    `project_index.json`).
  • Feature-flows index still < 450 lines after the two new rows
    (438 lines).
  • All links in the new flow document point to files that exist
    on upstream/main.

Refs #381
Refs #383
Follow-up to #394

🤖 Generated with Claude Code

@vybe

vybe commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

@AndriiPasternak31 — this PR has a merge conflict on docs/memory/requirements.md after recent merges. Could you rebase against main and resolve? Should be a small one-file fix.

ap-31 added 2 commits April 19, 2026 14:06
…ai#383)

New vertical-slice document covering the allowlist primitive:
- Why it materializes at agent creation (template.yaml cached 10 min)
- Flow 1: creation-time materialization (crud.py + git_service)
- Flow 2: runtime read (backend + agent-server helpers)
- Default list, fallback rules, test coverage
- Explicit out-of-scope list (reset subroutine → Abilityai#384)

Index: added to Recent Updates and GitHub Integration sections (one row
each, descriptions kept to one line).
…s / index (S4, Abilityai#383)

- architecture.md: note the primitive in the git_service.py one-liner and
  call out `.trinity/persistent-state.yaml` in the agent file-structure tree.
- requirements.md: add §11.3 under GitHub Integration with status,
  description, and scope boundary (reset consumer is Abilityai#384).
- project_index.json: bump `last_updated` and add `persistent_state_allowlist`
  to `features.implemented`.

No new endpoints / schema / integrations; minimal touch per update-docs
principle.
@AndriiPasternak31
AndriiPasternak31 force-pushed the docs/383-persistent-state-allowlist-flow branch from 3b4eb68 to ebba243 Compare April 19, 2026 13:08
@AndriiPasternak31

Copy link
Copy Markdown
Contributor Author

Rebased onto main (now at 65cdd91) — mergeable: CLEAN.

Three conflicts, all "both sides added adjacent content" on docs:

Two commits preserved; docs-only.

@vybe
vybe merged commit ad9dba1 into Abilityai:main Apr 22, 2026
@AndriiPasternak31
AndriiPasternak31 deleted the docs/383-persistent-state-allowlist-flow branch April 25, 2026 17:59
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.

3 participants