feat(commands): detect and report missing core command modules at startup #109
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#109
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
When core command modules (e.g. core.commands.code, core.commands.article)
fail to load -- for example because they were not copied during
make install-- the failure is silent. berhtjan later reports "handler not found" which
gives no indication of the root cause.
Debugging requires manually tracing through the code to discover that the
module was simply missing from the installation.
Goal
Produce a clear, actionable error message at startup when required core
command modules are missing, pointing directly to the missing component.
Example:
[ERROR] fragjan: core.commands.code not available -- incomplete installation
Run: make install
Acceptance Criteria
Notes
core.commands is loaded via berhtjan-cli scanner and contribution.json,
not via direct require. The detection point needs to be identified --
likely core/commands.lua or the module loader.
Related: DAW/fragjan#90 (output routing via adapters/ui)