Skip to content

[W3.1] 12-factor-agent umbrella Tier U + token-economics canonical home #322

Description

@julianken

Action ID

W3.1 · Wave 3 · Tier U · Type: satellite_authoring · Estimated: 6h

Scope

Single-file edit; ~700w; openingFraming + 22 umbrellaPointers + closingRule (token-economics meta-rule verbatim, canonical home).

Rationale

Tier U distinctiveness rests on hosting the meta-rule per Risk 7: closingRule = 'If a rule has a trigger, it belongs in a skill, not here.' All sibling satellites quote-and-link rather than duplicate. 22 umbrella pointers (≥10 required by validation; aim for all 22).

Files touched

  • /Users/jul/repos/detached-node/src/data/agentic-design-patterns/patterns/12-factor-agent.ts
  • /Users/jul/repos/detached-node/src/data/agentic-design-patterns/patterns/memory-management.ts (additive: resolve W1.4's omitted forward-reference)
  • /Users/jul/repos/detached-node/src/data/agentic-design-patterns/patterns/context-engineering.ts (additive: resolve W1.2's omitted forward-reference)

Acceptance criteria

  • pnpm test passes (Vitest validates Tier U: openingFraming non-empty + umbrellaPointers.length >= 10 + closingRule non-empty + all umbrellaPointers[].patternSlug resolve)
  • tier: 'U' set
  • openingFraming ~100w names 12-factor as the umbrella whose factors are realized by sibling patterns
  • umbrellaPointers contains 22 rows; each row: patternSlug + oneLine ≤20 words framing pattern as a 12-factor factor
  • closingRule contains the user-CLAUDE.md token-economics meta-rule verbatim: 'If a rule has a trigger (when X, each time X, before/after X), it belongs in a skill, not here.'
  • Additive edits to memory-management.ts + context-engineering.ts resolve their forward-references to closingRule
  • TOOL-2 (scripts/check_meta_rule_consistency.sh) passes: meta-rule byte-identical across 12-factor-agent.ts, memory-management.ts, context-engineering.ts
  • Word count 600-800 (Tier U)
  • No readerMove field (Tier U schema omits readerMove)

Prerequisites

Blocks

(none)

Rollback plan

Revert PR. Additive edits revertible alongside.

Anti-example evidence (if applicable)

(none)


Tracked in: Epic #302
Source: docs/agentic-bridge/reframe/action-plan-v1.json action W3.1


Cycle-2 addendum (2026-05-05)

Cycle-1 finding (#issuecomment-4378408980):


Tier U field availability (cycle-2)

Tier U fields (umbrellaPointers, openingFraming, closingRule) are explicitly enumerated in the W1.0 (#307) issue body's sub-field enumeration section. The Vitest validator from #307 enforces these required fields for tier:U patterns.

Metadata

Metadata

Assignees

Labels

bot:approvedjulianken-bot has approved this issuestatus:in-progressActively in progresstier:UTier U — bespoke umbrellawave:3Wave 3 — umbrella + long tail

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions