Palest Ink - Memoryless Architecture

Palest Ink

The palest ink is better than the best memory.
好记性不如烂笔头。

中文

A memoryless document architecture for AI agents. Instead of relying on implicit, auto-accumulating memory systems, Palest Ink replaces them with explicit, user-declared project documents organized into four layers.

Why

Agent memory systems — daily logs, MEMORY.md, cloud profiles, conversation search — share the same fatal flaws:

Documents fix all of this. A document is inspectable, editable, deletable, version-controllable, and useful to humans as well as agents.

Principles

Explicit over implicit. Every piece of knowledge lives in a named file at a known path, declared by you. Nothing is hidden.

User owns the map. The agent follows your INK.md — it does not decide where things go. Any change to the map requires your approval.

Progressive disclosure. The agent reads only what the current task needs, not a dump of everything it has ever known.

Freshness over completeness. Stale information is worse than none. Keep documents current or delete them.

Four-Layer Taxonomy

Layer Question Typical Content
Conceptual Why Vision, design decisions, constraints, anti-goals, domain model
Structural Where File layout, module graph, data schemas, content organization
Behavioral How Conventions, workflows, rules, style guides, checklists
Operational What happened Session logs, changelogs, task records, debugging notes

The taxonomy is universal. It applies equally to software projects, fiction manuscripts, research work, product planning — any project with purpose, structure, process, and history.

Usage

npx skills@latest add kenpusney/palest-ink
  1. Copy assets/INK.md to your project root (or .agents/INK.md).
  2. Fill in files and directories under each of the four layers.
  3. The agent reads INK.md at session start and follows the paths.
  4. The agent writes discoveries to the appropriate layer and session summaries to operational paths at session end.
  5. You can change INK.md at any time. The agent cannot without your approval.

Example INK.md

# INK.md

## Conceptual
- docs/conceptual/design-principles.md
- docs/conceptual/adr/
- docs/conceptual/domain-reference.md

## Structural
- docs/structural/architecture.md
- docs/structural/module-map.md
- docs/structural/data-models.md

## Behavioral
- docs/behavioral/coding-standards.md
- docs/behavioral/project-rules.md
- docs/behavioral/api-contracts.md

## Operational
- docs/operational/changelog.md
- docs/operational/sessions/
- docs/operational/debugging-notes.md

You can also point to individual files instead of directories, or mix both. There is no prescribed layout — INK.md reflects your project, not a template.

Advantages Over Automatic Memory

Automatic Memory Palest Ink
Hidden, uninspectable state Open, readable files
Accumulates indefinitely Curated and prunable
Agent-only value Human + agent value
Context window bloat Progressive disclosure
Drifts silently Explicitly maintained
Tied to tool/platform Portable, plain text

Limitations

Recommendations