feat(rules): detect direct I/O adapter bypass in core and commands #89
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type/architecture
type
bug
type
config
type
deployment
type
docs
type/documentation
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
type/task
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/fragjan#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
DAW projects must never access I/O directly in core/ or commands/ --
all output must go through the UI adapter (adapters/ui).
All input/output must be injectable and replaceable without touching core code.
Currently fragjan has a violation in core/commands.lua:
return require("daw.common.sys").new()
This binds fragjan to CLI output. A fragjan-api or fragjan-web would
require core changes instead of just a different adapter.
Goal
Add fragjan rules to detect direct adapter bypass:
Acceptance criteria
Affected projects
Pattern appears in fragjan/core/commands.lua and merkwerk/core/commands.lua.
Likely present in all DAW host projects -- this rule will find violations
across 20+ repos once deployed.
Blocked by DAW/fragjan#102 (feat(runner): flexible scan targets --
file_include, glob patterns, single file, auto-root detection).
Completed