Pm update

From AMDResearch/omniprobe · View interactive version

Pm update is an AI agent skill from the GitHub repository AMDResearch/omniprobe. Persist durable knowledge back into Project Memory after meaningful work. Use at session end or after completing a significant task. Updates affected PM units, pm-current-state.md, decisions, glossary, and code-navigation units so the next session inherits accurate project truth.

How to use this skill

Skill file

pm-update

Purpose

Persist durable knowledge back into Project Memory after meaningful work. Update affected PM units so the next session inherits accurate project truth. This is not a session log -- only write things that will still be true and useful tomorrow.

Required Reads

  1. .agents/pm/pm-usage.md -- review the update criteria before writing anything.
  2. .agents/pm/pm-index.md -- know which units exist.
  3. The PM units you loaded during this session (via pm-load).

Procedure

  1. Filter for durability. Review what you learned or changed during the session. Only persist knowledge that meets at least one of these criteria:
  1. Update affected unit files. For each relevant .agents/pm/units/<unit>.md:

append-only list — do not replace existing entries. Say what you did not re-verify and

which pass it is still resting on; that is the part a later reader cannot reconstruct.

  1. Refresh code-navigation units. If source files were created, renamed, moved, or

substantially restructured during this session:

a. Identify which code-navigation units (type code-nav in pm-index.md) are affected.

b. Update Key Source Files — add new files, remove deleted ones, update paths for moved files.

c. Update Key Types and Classes and Key Functions and Entry Points if new public types

or entry points were added.

d. Update Data Flow if the flow through the subsystem changed.

e. Add to Negative Knowledge if an approach was tried and abandoned.

f. Append a Last Verified entry dated today.

g. If a new subsystem emerged (new cluster of files with a distinct responsibility),

create a new code-navigation unit and add it to pm-index.md.

Code-navigation units are expected to need more frequent updates than infrastructure

units. This is by design — they trade durability for actionability.

  1. Update pm-current-state.md. Refresh the summary if:
  1. Record decisions (check every time). Review the work done this session and ask:

"Was any durable project decision made?" This includes:

If yes, add a one-line entry to pm-decisions.md:

| <YYYY-MM-DD> | <decision summary> | <1-sentence rationale> | <workflow-id or "ad-hoc"> |

Do not skip this step. An empty pm-decisions.md after multiple workflows is a

process failure, not a sign that no decisions were made.

  1. Record terminology (check every time). Review the work done this session and ask:

"Was any new project-specific term, abbreviation, constant name, or calibration parameter

introduced?" If yes, add it to pm-glossary.md:

| <term> | <meaning> | <where-used or "project-wide"> |

  1. Update pm-index.md if you created a new unit or if a unit's purpose or facet changed.

Populate every column, Type and Always-Load included. The index is eight columns

wide — Unit, Type, Purpose, Status, Facet, Always-Load, When To Load,

Dependencies — and "add a row" is not an instruction to fill them all. Read the header

rather than imitating the row above it, which is how a column silently stops being written.

and pm-validate both read it.

before anything else — in practice the architecture overview, and usually exactly one per

project. Default it to false. It is a context-budget decision: every true is paid for

on every session, so if you are unsure, false is the answer and someone can raise it

later.

Reconsider Always-Load when a unit's role changes, not only when a row is created. If

an existing unit has grown into the project's architecture overview, this is the step that

sets its flag. Nothing else in the catalog revisits it: pm-init sets it once for the one

overview it generates, and before this instruction existed no skill could change it

afterwards, so a project whose overview arrived later had no supported way to mark it.

  1. Create new units if needed. If you worked in an area that has no PM unit and the knowledge is durable, create a new .agents/pm/units/<area>.md with all eight standard sections and add it to the index — with every column populated, per step 7.

Output

Completion Criteria

existing ones rather than replacing them.

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.