cocon-lab.com — session public output

Used by ELC AI Agent to publish session-generated artifacts on the web.

Path pattern

/var/www/cocon-lab.com/_<instance>/sessions/<sessionId>/

Where <instance> = corone or kebahagiaan, <sessionId> = the current session UUID.

URL pattern

https://cocon-lab.com/_<instance>/sessions/<sessionId>/<filename>

Example for this session:

  • Path: /var/www/cocon-lab.com/_kebahagiaan/sessions/e9ac07ae-419e-449b-b062-e29716d32198/
  • URL: https://cocon-lab.com/_kebahagiaan/sessions/e9ac07ae-419e-449b-b062-e29716d32198/<file>

Rules

  • ✅ ONLY write to YOUR session’s directory
  • ❌ NEVER modify, overwrite, or delete files OUTSIDE your session subdir — they belong to other sessions / services
  • ✅ Create files via full absolute path
  • ✅ Web-accessible immediately (nginx static serving, no caching delay)

Used for

  • HTML demos generated by huashu-design skill
  • Token previews (e.g. Corone DS tokens at /sessions/24dadf25-.../corone-tokens.html)
  • Public artifacts user wants to share or test in browser
  • Cross-vault references (when user wants to view a generated page)

See also