2 Comments
User's avatar
JP's avatar

The compounding effect from session 4 onwards is bang on. Once the port/adapter pattern is in place, the AI stops reinventing your architecture every session and just executes the playbook. I've been seeing the same thing in Laravel projects; the framework already uses this pattern internally through Illuminate\Contracts for mail, cache, queue, the lot. Wrote up how to extend that same approach to your own vendor integrations: https://reading.sh/the-architecture-pattern-that-makes-vendor-lock-in-optional-48e485cb4f03?sk=6928cb411cc2400f69ddb85023cf1f7f

That 842-line session_manager decomposition story hit close to home. PHP codebases do the exact same thing when people scatter vendor SDK calls through controllers.

Djordje Babic's avatar

Thank you for sharing this.

*direct coupling turned a business decision into an engineering catastrophe.* - preach

also i really like the depth at which you explained the patterns, if i find courage for a python project for classification and propagation of my drafts this is gold. Cheers!