Skip to content

#326: post-merge TODO entries carry the preset filePath; materialize presets on install #596

Description

@suleimansh

Rom's updated #326 OP block 2 changed the post-merge TODO entries from a bare preset name the agent had to guess:

"Apply preset \maintainability` on the changes introduced by "`

to a real file path the agent opens:

`Apply ${{ tf.presets.maintainability.filePath }} with tf.params.what set to "changes introduced by ${{ tf.session_name }}"`

Closes the fidelity gap #558 introduced (the queue sent a sentence with a word in it; the agent guessed the preset). Now it opens the actual preset prompt.

  • new presets.ts: PRESETS registry (keyed by file stem, matching Rom's tf.presets.security_audit key), presetFilePath, presetContext, materializePresets
  • installProject materializes the 5 presets into .the-framework/presets/*.md so filePath resolves
  • post-merge ## Maintenance re-flattened to Rom's OP block 2; drift snapshot updated (turns the drift check green)
  • tf.presets.<name>.filePath plumbed through PostMergeContext, defaulted from presetContext()

Stacked on #594 (the ${{ tf.params.what }} swap).

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions