code-to-context
Code to Context
Web workflow v2
When invoked inside an active $start-workflow session, read
the web event adapter and use it
for questions, progress, decisions and handoffs. It replaces chat-only delivery
and later-turn invocation requirements with matching web events; all scope,
artifact ownership and verification rules below remain in force. A next-stage
button authorizes only that named stage. Standalone/chat use stays supported.
Delegated utilities and verification workers report to the parent event consumer.
Inspect an existing repository safely and maintain code-derived context in CONTEXT.md.
Derive a reviewable snapshot of current codebase facts, structure, and runtime conventions into a dedicated generated block so other Phat skills can navigate the repository without rediscovering it from scratch.
Treat implementation as evidence of what currently exists, not as agreed product or architecture intent.