Skip to content

AI/prompt-aware wrapping preservation #77

Description

@kafkade

Summary

Per ADR-009, add AI/prompt-aware content preservation.

Features

  1. Preserve AI-marker fenced blocks (prompt, copilot, ai, system, user, assistant)
  2. Configurable preserved-block markers: lumpia.preserveBlocks
  3. AI-tagged comment handling (// AI:, // prompt:) with hanging indent
  4. Natural Markdown support for .github/copilot-instructions.md

Acceptance Criteria

  • AI code fence languages treated as no-wrap
  • lumpia.preserveBlocks setting for custom markers
  • AI-tagged comments wrap with preserved tag prefix
  • Golden test fixtures for AI comment patterns

References

  • ADR-009: AI/Prompt-Aware Wrapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    adrArchitecture Decision RecordadvancedAdvanced and differentiating featuresengineWrapping engine core

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions