chore(runtime): Add logrus logging framework with structured logging

Add logrus as the primary logging framework with dependency injection
pattern. All errors now use WithError() for context, and structured
logging uses camelCase field names. Tag runtime service with service
field for better log organization.

- Add logrus dependency
- Update Runtime to accept logger via dependency injection
- Add WithLogger() option for logger configuration
- Log errors with WithError() for context
- Log async function failures with service context
- Document logging practices in AGENTS.md
This commit is contained in:
2026-01-29 20:28:19 -05:00
parent 23730868b8
commit f308970531
7 changed files with 88 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.opencode
/poiesis