feat(metadata): enhance metadata handling by sanitizing extracted data and updating documentation for file storage
This commit is contained in:
@@ -24,9 +24,11 @@ Use AMCS as memory with two scopes:
|
||||
- Before substantial work, always retrieve context with `get_project_context` or `recall_context` so prior decisions inform your approach.
|
||||
- Save durable project facts with `capture_thought` after completing meaningful work.
|
||||
- Use `save_file` for project assets the memory should retain, such as screenshots, PDFs, audio notes, and other documents.
|
||||
- If the goal is to retain the artifact itself, use `save_file` directly instead of first reading, transcribing, or summarizing the file contents.
|
||||
- Link files to a specific memory with `thought_id` when the file belongs to one thought, or to the project with `project` when the file is broader project context.
|
||||
- Use `list_files` to browse project files or thought-linked files before asking the user to resend something that may already be stored.
|
||||
- Use `load_file` when you need the actual stored file contents back.
|
||||
- Stored files and attachment metadata must not be sent to the metadata extraction client.
|
||||
- Do not attach memory to the wrong project.
|
||||
|
||||
## Global Notebook Rules
|
||||
@@ -41,8 +43,9 @@ Use AMCS as memory with two scopes:
|
||||
- Do not save secrets, raw logs, or transient noise.
|
||||
- Prefer concise summaries.
|
||||
- Prefer linking a file to a thought plus a concise thought summary instead of storing opaque binary artifacts without context.
|
||||
- Do not read a file just to make it storable; store the file directly and read it only when the file contents are needed for reasoning.
|
||||
- When saving, choose the narrowest correct scope: project if project-specific, global if not.
|
||||
|
||||
## Short Operational Form
|
||||
|
||||
Use AMCS memory in project scope when the current work matches a known project. If no clear project matches, global notebook memory is allowed for non-project-specific information. Store durable notes with `capture_thought`, store supporting binary artifacts with `save_file`, browse them with `list_files`, and load them with `load_file`. Never store project-specific memory globally when a matching project exists, and never store memory in the wrong project. If project matching is ambiguous, ask the user.
|
||||
Use AMCS memory in project scope when the current work matches a known project. If no clear project matches, global notebook memory is allowed for non-project-specific information. Store durable notes with `capture_thought`, store supporting binary artifacts with `save_file`, prefer saving a file directly when the artifact itself is what matters, browse stored files with `list_files`, and load them with `load_file` only when their contents are needed. Never store project-specific memory globally when a matching project exists, and never store memory in the wrong project. If project matching is ambiguous, ask the user.
|
||||
|
||||
Reference in New Issue
Block a user