Skip to content

Improve memory writing and reading - #14

Merged
diegoos merged 15 commits into
mainfrom
feat/improve-memory-writing-and-reading
Sep 1, 2026
Merged

diegoos merged 15 commits into
mainfrom
feat/improve-memory-writing-and-reading

Conversation

@diegoos

@diegoos diegoos commented Aug 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

diegoos added 15 commits August 30, 2026 14:13
- Added `post-commit` hook to manage session state after commits, ensuring `last_processed_head` is updated and stale entries are dropped.
- Improved `README.md`, `AGENTS.md`, and `CHANGELOG.md` for clarity and organization, detailing the new hook functionalities and installation instructions.
- Updated `.gitignore` to include the `QA/` directory.
- Refined various sections in `SECURITY.md` and `hooks/README.md` to clarify trust boundaries and installation processes.
- Enhanced `skills/README.md` and `skills/agent-memory/SKILL.md` for better user guidance on memory management and command usage.
- Updated `CHANGELOG.md` to reflect recent changes and improvements in the memory method.
- Improved clarity in `README.md` and `SKILL.md`, detailing the agent memory's purpose and usage.
- Enhanced `install.ts` for better error handling and user feedback during command execution.
- Introduced a new `lint-structural.md` file for comprehensive linting checks, ensuring structural integrity of memory files.
- Adjusted various sections in existing documentation to clarify the installation process and memory management practices.
- Updated `CHANGELOG.md` to include recent changes in memory management and hooks functionality.
- Improved clarity in `README.md` regarding the roles of various memory files and the writing process during agent operations.
- Refined `hooks/README.md` to specify writing constraints and the handling of user constraints and reusable lessons.
- Adjusted `skills/agent-memory/vendor/README.md` to enhance the explanation of session status and writing events.
- Updated command descriptions in `README.md` to reflect the latest functionalities and ensure consistency across documentation.
- Bumped the version in `SKILL.md` and `hooks/install-hooks.sh` to `0.2.1-rc.0`.
- Improved regex patterns in `cli.js`, `detect.ts`, and `version-parity.sh` to support npm prerelease versions.
- Refactored `compareSemver` function in `semver.ts` to handle optional prerelease identifiers and added tests for various semver scenarios in `semver.test.ts`.
- Updated `cli-install.sh` to accommodate the new versioning scheme and ensure compatibility with prerelease versions.
- Enhanced `CHANGELOG.md` to document these changes and clarify the handling of prerelease versions.
Agents must not Read .hook-sync-state. Path lists in that file
are untrusted and can inject into prompts (Snyk W011).
print-evidence.sh prints only allowlisted fields so
sync/consolidate never ingest raw session_touched_files.
- Updated `CHANGELOG.md` to reflect the new graph reshape feature, which collapses leftover mirrors into the index and rewrites dead links.
- Improved `README.md` to clarify the behavior of `/agent-memory update`, emphasizing that it does not invent learnings and includes a graph reshape step.
- Added `update-graph.md` to detail the graph reshape process, including inventorying mirrors and merging unique targets into `index.md`.
- Enhanced `SKILL.md` to specify new editing permissions for additional memory files.
- Updated various references to ensure consistency with the new graph reshape functionality and its implications for memory management.
- Bumped the version in `SKILL.md` and `hooks/install-hooks.sh` to `0.2.1-rc.1`.
- Updated `CHANGELOG.md` to reflect changes in the `/agent-memory update` functionality, including the handling of prerelease versions and improvements in the graph reshape process.
- Ensured consistency in documentation regarding versioning and memory management practices.
- Updated `CHANGELOG.md` to reflect recent changes in the `/agent-memory update` functionality, including the introduction of `docs-map.md` for project documentation mapping.
- Improved `README.md` to clarify the roles of memory files and the handling of project documentation.
- Enhanced `SKILL.md` to specify new editing permissions for `AGENTS.md` and other memory files.
- Refined various sections in `hooks/README.md` and `consolidate.md` to ensure clarity in memory management processes and constraints.
- Updated `package.json` to include additional ignore patterns for markdown linting, ensuring cleaner documentation practices.
- Bumped the version in `SKILL.md` and `hooks/install-hooks.sh` to `0.2.1-rc.2`.
- Updated `CHANGELOG.md` to reflect changes in the `/agent-memory update` functionality, including improvements in handling prerelease versions and the graph reshape process.
- Ensured consistency in documentation regarding versioning and memory management practices.
- Updated `CHANGELOG.md` to reflect changes in the `/agent-memory update` process, including the introduction of hook status classification and the conditions under which installer commands are printed.
- Improved `SKILL.md` to clarify the behavior of the `update` command, emphasizing the new stamp check for installed harnesses and the conditions for printing refresh commands.
- Enhanced `install-hooks.md` to document the stamp check process and its implications for the `update` command.
- Updated `update.md` to specify the new behavior regarding hook status and the reporting of current vs stale harnesses.
- Refined tests in `reference-first-contract.sh` to validate the new functionality and ensure accurate reporting of hook statuses.
- Bumped the version in `SKILL.md` and `hooks/install-hooks.sh` to `0.2.1-rc.3`.
- Updated `CHANGELOG.md` to reflect recent changes in the `/agent-memory update` functionality, including improvements in handling closed-session promotions and the introduction of reminders for write-floor conditions.
- Enhanced `README.md` to clarify the roles of memory files and the handling of project documentation.
- Improved `hooks/README.md` to specify the behavior of hooks and their interaction with memory management.
- Refined various sections in `consolidate.md` and `docs-map.md` to ensure clarity in memory management processes and constraints.
@diegoos
diegoos merged commit 30e0b73 into main Sep 1, 2026
7 checks passed
@diegoos
diegoos deleted the feat/improve-memory-writing-and-reading branch September 1, 2026 14:09
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.

1 participant