Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Memory ruleskdeps asset

kdeps-memory-rules

v1.6.0

kdeps memory-rules: rules

set memory / shelf memory

PurposeHow the agent's memory store files what it saves: entry types by key, the graph links between them, which tool results it captures, and what reads as done or resolved.

LLM context: none - kdeps uses it without sending it to the model

Where it runs

Part of the memory set, used in workflow and agent mode. How the agent's memory store files what it saves: entry types by key, the graph links between them, which tool results it captures, and what reads as done or resolved.

  1. the agent saves a memory or a tool returns
  2. kdeps types the entry by its key and links it to its parent type
  3. the tool is in capture_toolsmemory/rules
  4. its result is captured
  5. the memory block flags open errors and resumes from unfinished work

Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade

In the code: kdeps (agent loop)agent.UseProjectAssetsagent.initMemoryRules

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install memory/rules

Pin a version with kdeps install memory/rules@<version>.

Contents

default_type
note
focus_min_stem
3
search_min_word
2
types:
  - prefix: "tool:"
    type: tool_result
  - prefix: "thinking:"
    type: thinking
  - equals: last_action
    type: action
  - equals: last_files
    type: file
  - contains:
      - prompt
      - goal
      - task
    type: prompt
  - contains:
      - purpose
      - why
      - reason
    type: purpose
  - contains:
      - progress
      - wip
      - in_progress
    type: progress
  - contains:
      - status
      - state
    type: status
  - contains:
      - decision
      - decided
    type: decision
  - contains:
      - preference
      - prefer
      - like
    type: preference
  - contains:
      - error
      - fail
      - bug
    type: error
  - contains:
      - file
      - path
      - dir
    type: file
  - contains:
      - context
      - env
      - config
    type: context
  - contains:
      - result
      - output
      - done
    type: result
parents:
  purpose: prompt
  progress: result
  tool_result: progress
  result: tool_result
  action: tool_result
  status: result
  file: result
  decision: result
  error: tool_result
  context: prompt
  preference: prompt
  fact: result
  note: result
capture_tools:
  - write_file
  - edit_file
  - bash_exec
  - read_file
  - search_local
  - sql_query
  - http_request
  - web_search
  - web_scraper
  - wikipedia
resume:
  - progress
  - status
  - result
low_signal:
  - note
  - fact
status_done:
  not:
    - not done
    - not complete
    - not finished
    - incomplete
    - unfinished
    - in progress
    - in-progress
    - pending
    - todo
    - to do
    - wip
    - blocked
    - failed
  markers:
    - done
    - complete
    - finished
    - success
    - shipped
    - merged
    - cancelled
    - canceled
    - abandoned
    - wontfix
    - won't fix
error_resolved:
  not:
    - reopened
    - not fixed
    - not resolved
    - still failing
    - still broken
    - regressed
  markers:
    - resolved
    - fixed
    - closed
    - no longer
    - not an issue
    - works now
    - wontfix
    - won't fix
    - cancelled
    - canceled
    - abandoned
reply_capture:
  action_verbs:
    - Added
    - Fixed
    - Changed
    - Updated
    - Created
    - Removed
    - Deleted
    - Set
    - Configured
    - Installed
    - Built
    - Deployed
    - Refactored
    - Migrated
    - Patched
    - Resolved
  action_min: 5
  action_max: 200
  file_verbs:
    - Edited
    - Modified
    - Created
    - Read
    - Wrote
  tool_line: ^(tool:[a-z_]+):\s*(.+)$
  key_value_line: ^([A-Z][A-Z_]{2,40}):\s*(.+)$
  line_value_max: 500
focus_stopwords:
  - this
  - that
  - with
  - from
  - have
  - what
  - when
  - where
  - which
  - would
  - could
  - should
  - about
  - your
  - please
  - into
  - then
  - the
  - and
  - for
  - are
  - was
  - you
  - can
  - how
  - why
  - who
  - has
  - had
  - but
  - not
  - its
  - out
  - all
  - any
  - one
  - two
  - now
  - see
  - off
  - per
  - via
  - let
  - did
  - our
  - yes
  - too
focus_weights:
  key_weight: 2
  structural_bonus: 1

Versions

VersionPublishedStatusSource
1.5.011/21/2026activeGitHub v1.5.0
1.0.011/21/2026activeGitHub v1.0.0
1.1.011/21/2026activeGitHub v1.1.0
1.2.011/21/2026activeGitHub v1.2.0
1.3.011/21/2026activeGitHub v1.3.0
1.4.011/21/2026activeGitHub v1.4.0
1.6.011/21/2026activeGitHub v1.6.0

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.6.0
Published
11/21/2026

Tags

kdepsmemory-rules