M
I
L
A
N
Š
U
L
C
M
I
L
A
N
Š
U
L
C
(O)LLAMA
ANTHROPIC
COPILOT
OPENAI
OPENCODE
CURSOR
CLAUDE
PERPLEXITY
CODEX
github.com/nette github.com/contributte github.com/dockette github.com/ynfra ...
A
🪄
🦄
(SELF-HOSTED) AGENTIC DEVELOPMENT
(SELF-HOSTED) AGENTIC DEVELOPMENT
Samebetter code (than human)
Knows my codebase, not just code
Many agents, one reviewer (me)
Not on my machine (disposable & sandboxed)
Always on (previewable 👀)
No vendor lock (if possible)
Self-correcting (runs, fails ❌, fixes)
Full Autonomous (night-shifts)
GaučMobilefriendly 🆒
MY VISION
AI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORMBRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
PROJECT CONTEXT
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
BRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
AGENTS.md
PROJECT CONTEXT
PROJECT INSTRUCTIONS
BRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
API spec
DB spec
Code style
Rules
PROJECT CONTEXT
PROJECT RULES
AUTO/MANUAL APPLY
AGENTS.md
PROJECT INSTRUCTIONS
Tests classes
BRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
API spec
DB spec
Code style
Tests classes
Rules
PROJECT CONTEXT
PROJECT RULES
AUTO/MANUAL APPLY
AGENTS.md
PROJECT INSTRUCTIONS
Skills
E2E tests
Migrations
RFC
Writing Docs
PROJECT SKILLS
SMART APPLY
BRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
API spec
DB spec
Code style
Tests classes
Rules
PROJECT CONTEXT
PROJECT RULES
AUTO/MANUAL APPLY
AGENTS.md
PROJECT INSTRUCTIONS
Skills
E2E tests
Migrations
RFC
Writing Docs
PROJECT SKILLS
SMART APPLY
IMPROVE OPTIMIZE EVOLVE
SKILLS, DOCS, SPECS
BRIEF
AGENT WORKS
REVIEW
APPROVE
REJECT
NEXT
🧙♂️
🧙♂️
🧙♂️
REPHRASE REWRITE REWORK
. ├── app ├── bin ├── config ├── docs ├── tests ├── vendor └── www
🤖
API spec
DB spec
Code style
Tests classes
Rules
PROJECT CONTEXT
PROJECT RULES
AUTO/MANUAL APPLY
AGENTS.md
PROJECT INSTRUCTIONS
Skills
E2E tests
Migrations
RFC
Writing Docs
PROJECT SKILLS
SMART APPLY
IMPROVE OPTIMIZE EVOLVE
SKILLS, DOCS, SPECS
WEB/CHAT
REMOTE
Analyse current session and update skills/specs
SELF-IMPROVING LOOP
Analyse all sessions and fix what I keep repeating
Analyse last 10 PR reviews and update code-style rules
Analyse rejected attempts and add a rule to prevent them
Analyse my post-merge edits and codify my taste
Analyse recent Sentry errors and write the missing tests
Analyse your own friction and update AGENTS.md.
AI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORM✅
AI READINESSCodestyle
Linters
Testing strategy
AGENTS.md
Migrations
Docs
DoD / DoR
Techstack
Archetypes
....
AI READINESSCodestyle
Linters
Testing strategy
AGENTS.md
Migrations
Docs
DoD / DoR
Techstack
Archetypes
....
How do we write a <class>?
What does a good <class> look like?
How do we write tests?
How do we run linters?
How do we run tests?
How do we execute migrations?
How do we set up the project?
How do we work with <area>?
...
Makefile
github.com/vibemod/vibeappFactory AIStyle & Validation
Pre-commit Hooks · Cyclomatic Complexity · Large File Detection · Duplicate Code Detection · Technical Debt Tracking · N+1 Query Detection · Linter Configuration · Type Checker · Code Formatter · Strict Typing · Naming Consistency · Dead Code Detection · Code Modularization Enforcement
Task Discovery
Issue Templates · Issue Labeling System · PR Templates · Backlog Health
Testing
Test Performance Tracking · Flaky Test Detection · Test Coverage Thresholds · Unit Tests Exist · Integration Tests Exist · Unit Tests Runnable · Test File Naming Conventions · Test Isolation
Development Environment
Dev Container · Environment Template · Local Services Setup · Database Schema · Devcontainer Runnable
Product & Experimentation
Product Analytics Instrumentation · Error to Insight Pipeline
Build System
Automated PR Review Generation · Deployment Frequency · Feature Flag Infrastructure · Release Notes Automation · Unused Dependencies Detection · Release Automation · Build Command Documentation · Dependencies Pinned · VCS CLI Tools · Agentic Development · Fast CI Feedback · Build Performance Tracking · Single Command Setup · Progressive Rollout · Rollback Automation · Monorepo Tooling · Heavy Dependency Detection · Version Drift Detection · Dead Feature Flag Detection
Documentation
AGENTS.md Freshness Validation · AGENTS.md File · README File · Automated Documentation Generation · Skills Configuration · Documentation Freshness · API Schema Docs · Service Architecture Documented
Debugging & Observability
Distributed Tracing · Metrics Collection · Code Quality Metrics Dashboard · Alerting Configured · Runbooks Documented · Deployment Observability · Circuit Breakers · Profiling Instrumentation · Structured Logging · Error Tracking Contextualized · Health Checks
Security
Branch Protection · Secret Scanning · CODEOWNERS File · Automated Security Review Generation · Gitignore Comprehensive · DAST Scanning · Privacy Compliance · Minimum Dependency Release Age · Dependency Update Automation · PII Handling · Secrets Management · Sensitive Data Log Scrubbing
±80 REPORT CRITERIAAI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORM✅
✅
github.com/contributte/contributte
github.com/contributte/barekit
$ opencode serve
AI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORM✅
✅
✅
👩💻
VPS
CODER SERVER
CODER
TEMPLATE
CODER WORKSPACE
CODER WORKSPACE DIND
SOURCE CODE
VS CODE
OPEN
CODE
YOUR
APP
YOUR
DB
YOUR
SVC
CODER
LB
opencode--<workspace>--<user>.coder.felix.vpn
🔓/🔒Preinstalled Tools (claude, opencode, ...)
Preconfigured ENV (gh, glab, git, ...)
Preconfigured Git (email, name, co-author)
Workspace Apps [cool url] (opencode server)
Management Scripts (opencode-ctl)
Startup Scripts (repo cloning)
Persistent Volumes (per user)
Port Sharing (opencode server)
Docker-in-Docker (DIND)
Open-in-Coder Feature (deeplink)
github.com/ynfra
AI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORM✅
✅
✅
✅
AI LOOPAnalyse phpstan errors
Find top 30 easy errors
Fix one by one (skip blockers, add comment)
Run phpstan
Commit
Move to next error
Text
LOOPHARNESSCoder workspace
a) Systemd timer trigger opencode API b) Claude /loop trigger opencode API c) Claude /loop with LLM router d) <anytool> /loop
AGENTS.md - workspace instructions
GOAL.md - (loop) what we are doing
MEMORY.md - current progress/decisions
NIGHT SHIFT PHPSTAN
NIGHT SHIFT TEST COVERAGE
NIGHT SHIFT REFACTORING
<FOOBAR>
OPECODE
OPENCODE
OPENCODE
OPENCODE
NIGHT SHIFT ORCHESTRATOR
OPENCODE
Check remote night shifts and get me current state
/loop 30m Check remote night shifts. Wake idle agents. Fix stuck work. Make them continue.
INNER/OUTER LOOPAnalyse & research
Prepare impl plan
Grill my plan
Implement it (...)
Cover by tests
Verify feature
Document it
Commit & push
Text
INNER LOOPHARNESSCoder workspace
Systemd => OpenCode
Claude /loop
AGENTS.md
PLAYBOOK.md
GOAL.md
MEMORY.md
1. Browse sentry errors and pick 10 most errors 2. Browse issue backlog and find related tasks 3. Browse user feedback and find related feedbacks 4. Browser error logs and find related ones 5. Sort by priority, implement each task in own subagent.
OUTER LOOPAI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORM✅
✅
✅
✅
✅
AI EXTRASgithub.com/decolua/9router
9router
github.com/diegosouzapw/OmniRoute
omniroute
{
"$schema": "https://opencode.ai/config.json",
"model": "9router/cx/gpt-5.6",
"provider": {
"9router": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://9router.yourserver.tld/v1",
"apiKey": "sk-your-key"
},
"models": {
"cx/gpt-5.6": {
"name": "GPT 5.6 Sol",
"limit": {
"context": 1050000,
"output": 128000
}
}
}
}
}
}~/.config/opencode/opencode.json
export ANTHROPIC_BASE_URL=http://9router.yourserver.tld
export ANTHROPIC_AUTH_TOKEN=sk-your-token
export ANTHROPIC_MODEL=cx/gpt-5.6
claude
GITLAB REVIEWS
Powered-By OpenCode
+-1000 lines
OhMyFelix
OhMyFelix
12.2.2026 was born 15.2.2026 was banned
16.2.2026 was born (again)github.com/samanhappy/mcphub
MCPHub
mcphub.app
Plan Before Code
Fresh Context
Done = Tested
Rules in Repo
Ask Before Destroy
Human in the Loop
Right Tool, Right Job
No Secrets in Prompts
BASIC RULES
Recap
Recap
AI SETUPAI TOOLSAI READINESSAI LOOPAI PLATFORMAI EXTRASAGENTS.md, SPECS, DOCS, SKILLS
Good class, how write tests,
codestyle, linters, run migrations
Claude, Claude Desktop, Codex, OpenCode Server
Coder, Jetbrains, custom templates (ynfra)
9router/omnirouter, gitlab reviewbot, OhMyFelix, Basic Rules, MCPHub, Matt Pocock (skills), 🍗🔥
/loop <time> <task>, GOAL, MEMORY, Claude to Opencode, Opencode to Opencode, Gitlab issues (task), comments (memory)
START LOOPING
FUN WILL COME
Thank you!


@xf3l1x
f3l1x.io
Thank you!


@xf3l1x
f3l1x.io