Skip to content

docs: Phase 6 — Effect behavioral analysis complete, all 6 phases done#30

Merged
e6qu merged 1 commit intodevfrom
phase6/effect-analysis
Mar 22, 2026
Merged

docs: Phase 6 — Effect behavioral analysis complete, all 6 phases done#30
e6qu merged 1 commit intodevfrom
phase6/effect-analysis

Conversation

@e6qu
Copy link
Owner

@e6qu e6qu commented Mar 22, 2026

Phase 6: Effect Behavioral Analysis

Analyzed all 12 upstream Effect-ification PRs by Kit Langton (@kitlangton) for behavioral changes worth reimplementing in Frankencode.

Result: Zero items need reimplementation

Bug fixes already in our tree (2):

PR Author Fix Our status
anomalyco/opencode#17829 Kit Langton VcsService HEAD filter scoped to directory Already fixed — our vcs.ts uses Instance.bind() with directory
anomalyco/opencode#17835 Kit Langton FileTimeService missing await + Semaphore locking Already fixed — our file/time.ts has Semaphore, callers await

Pure structural refactors (10) — no behavioral changes:

PR Author Description
#17544 Kit Langton Move scoped services to LayerMap
#17827 Kit Langton effectify FileWatcherService
#17675 Kit Langton effectify FormatService
#17845 Kit Langton effectify FileService
#17849 Kit Langton effectify SkillService
#17878 Kit Langton effectify SnapshotService
#17957 Kit Langton effectify TruncateService, delete Scheduler
#18093 Kit Langton Unify service namespaces
#18266 Kit Langton effectify Installation
#18483 Kit Langton InstanceState + flatten facades

Also: #18158 by Luke Parker (Effect beta upgrade) — dependency version, N/A.

All 6 Phases Complete

Phase PR Description
1 #26 Security fixes (S1-S5)
2 #27 5 upstream bug fixes backported
3+4 #28 OpenTUI 0.1.88 + agent ordering
5 #29 24 new tests
6 This PR Effect analysis — 0 need reimplementation

Test plan

  • No code changes — documentation only
  • All tracking files updated and cross-linked per methodology

Analyzed all 12 upstream Effect-ification PRs (Kit Langton):
- 2 bug fixes (VcsService HEAD filter, FileTimeService await+Semaphore)
  already present in our tree
- 10 pure structural refactors (move to Effect service, rename, flatten)
  not applicable to our architecture
- Zero items need reimplementation

All 6 planned phases now complete:
- Phase 1: Security fixes (S1-S5)
- Phase 2: 5 upstream bug fixes backported
- Phase 3+4: OpenTUI 0.1.88, agent ordering, community fix triage
- Phase 5: 24 new tests (filterEdited, filterEphemeral, validation)
- Phase 6: Effect analysis — 0 items

Updated: PLAN.md, STATUS.md, WHAT_WE_DID.md, DO_NEXT.md,
GAP_ANALYSIS.md, UPSTREAM_STATUS.md
@e6qu e6qu merged commit bc0b3f7 into dev Mar 22, 2026
1 check passed
@e6qu e6qu deleted the phase6/effect-analysis branch March 22, 2026 00:46
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