Skip to content

Simplification Phase 2: pipeline inline, data param, ADR archive, adoption rename - #250

Merged
patrick204nqh merged 2 commits into
mainfrom
simplifcation-phase-2
Jul 5, 2026
Merged

Simplification Phase 2: pipeline inline, data param, ADR archive, adoption rename#250
patrick204nqh merged 2 commits into
mainfrom
simplifcation-phase-2

Conversation

@patrick204nqh

Copy link
Copy Markdown
Owner

Summary

Code simplification pass across the codebase. Net: -2685 lines across 216 files.

Changes

API: body/content → data (hard cut)

  • put and propose verbs now accept a single data parameter
  • data is a String → body (markdown/text), Hash → content (json/yaml)
  • Old body/`content` params removed from verb specs and handlers

Pipeline restructuring (-31 files)

  • Inlined 28 step files into 3 files (delete.rb, move.rb, put.rb)
  • Removed Pipeline::*Context structs
  • Simplified Pipeline.emit_event and Pipeline.check_etag

ADR consolidation (-22 files)

  • Archived 116 pre-v4 ADRs to docs/architecture/archive/
  • Deleted 22 superseded ADRs, replaced with stubs
  • Updated decisions.md and README links

feedback → adoption rename

  • Renamed knowledge.loop.feedback → knowledge.loop.adoption
  • Updated manifest, boot workflow, and all code references

Boot improvements

  • Added agent_protocol.discipline — permission boundary guidance
  • Added workflow_tips — 4 common agent workflow patterns
  • Added entry_blueprints — dynamically derived from manifest
  • Fixed loop nodes to show adoption

Other

  • Flattened publish/ directory
  • Removed dead workflow/helpers.rb
  • Removed dead methods from protocol/links.rb
  • Refactored check_type! (cognitive 81 → dispatch hash)
  • Reduced AuditFilter#call from 9 params to 3
  • Derived workflow_registry internally in Container (-1 param)

Stats

  • 216 files changed
  • 1065 insertions, 3750 deletions
  • All 1070 tests pass, 0 rubocop offenses

…rchive, adoption rename, boot improvements

- Collapse 28 pipeline step files into 3 (delete, move, put)
- Unify body/content → single data param (hard cut)
- Refactor check_type! (cognitive 81 → dispatch hash)
- Flatten publish/ subdirectory
- Remove dead duplicates (helpers.rb, links.rb class body)
- Archive 116 pre-v4 ADRs, delete 22 superseded
- Rename knowledge.loop.feedback → knowledge.loop.adoption
- Derive workflow_registry internally in Container
- Add discipline guidance and workflow_tips to boot
- Add entry_blueprints derived dynamically from manifest
- Reduce AuditFilter#call from 9 params to 3
@patrick204nqh
patrick204nqh merged commit 5cfc7d8 into main Jul 5, 2026
4 checks passed
@patrick204nqh
patrick204nqh deleted the simplifcation-phase-2 branch July 5, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant