render_plan.py 963 B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env python3
  2. """Retired local Deep Research plan renderer.
  3. The local-runtime deep-research skill is final-only: the current agent reads
  4. SKILL.md and steps/*.md directly, keeps steps 1-4 in session context, and writes
  5. only the final_turn_XXX.md artifact in step 5. Rendering a Team Engine plan here
  6. would reintroduce the old multi-file pipeline, so fail fast if this stale entry
  7. point is invoked.
  8. """
  9. from __future__ import annotations
  10. import sys
  11. from textwrap import dedent
  12. MESSAGE = """
  13. local-runtime deep-research no longer renders a Team Engine plan.
  14. Use the deep-research skill directly: read SKILL.md, then read and execute
  15. steps/1_background.md through steps/5_writing.md in order in the current agent
  16. session. Steps 1-4 stay in session context; step 5 writes the final_turn_XXX.md
  17. artifact.
  18. """
  19. def main() -> int:
  20. sys.stderr.write(dedent(MESSAGE).strip() + "\n")
  21. return 2
  22. if __name__ == "__main__":
  23. raise SystemExit(main())