tasks: log cloudflare doc + creds strip work
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
---
|
||||
title: "Task: Cloudflare tool doc + workspace system prompt"
|
||||
status: "done"
|
||||
folder: "07-tasks"
|
||||
tags: [task, cloudflare, prompt, vault]
|
||||
created: "2026-07-30"
|
||||
updated: "2026-07-30"
|
||||
version: "1.1.0"
|
||||
priority: "medium"
|
||||
due: "2026-07-30"
|
||||
owner: "stateofshit"
|
||||
---
|
||||
|
||||
# Task: Cloudflare tool doc + workspace system prompt
|
||||
|
||||
## Done — 2026-07-30
|
||||
|
||||
## What
|
||||
|
||||
Built out the workspace mode for openwebui + the Cloudflare reference doc.
|
||||
|
||||
## Files
|
||||
|
||||
| File | Purpose |
|
||||
|---|---|
|
||||
| `000-configs/tools/CLOUDFLARE_INSTRUCTIONS.md` | Full Cloudflare + wrangler doc |
|
||||
| `000-configs/modes/workspace-mode.md` | Workspace mode definition |
|
||||
| `000-configs/prompts/workspace-system-prompt.md` | Paste-able system prompt |
|
||||
| `000-configs/tools/README.md` | Updated to list Cloudflare doc |
|
||||
| `.gitignore` | Added `.env*` + `cloudflare.md` rules |
|
||||
|
||||
## Cloudflare doc covers
|
||||
|
||||
- Workers (deploy, dev, tail, secrets)
|
||||
- R2 (buckets, objects, S3-compatible API)
|
||||
- D1 (SQLite at edge, migrations)
|
||||
- KV (namespaces, key ops)
|
||||
- Workers AI (model runs)
|
||||
- Pages (static deploys)
|
||||
- wrangler.jsonc config
|
||||
- Local vs remote (`--remote` flag)
|
||||
- Environments (staging/prod)
|
||||
- Common patterns (cron, queues, Durable Objects)
|
||||
- All 10 skills in `/home/user/.agents/skills/` referenced
|
||||
|
||||
## System prompt covers
|
||||
|
||||
- Environment (OS, paths, repos, vault)
|
||||
- 10 behavior rules (terse, verify, commit, push, etc.)
|
||||
- Vault folder map
|
||||
- Frontmatter spec
|
||||
- Common workflows (edit vault file, make repo, vite preview, Playwright, gh CLI, Cloudflare deploy)
|
||||
- Failure modes to avoid
|
||||
|
||||
## Commits
|
||||
|
||||
- `cfc6f01` — prompts+modes: add workspace mode + system prompt
|
||||
- `93e51a4` — tools: full Cloudflare doc, ref in prompts+modes
|
||||
- `cc830ac` — security: strip creds, add .env.cloudflare
|
||||
|
||||
## Outstanding
|
||||
|
||||
- [ ] Test the system prompt in openwebui (load model, paste prompt, verify behavior)
|
||||
- [ ] Optionally install `wrangler` globally on server: `npm i -g wrangler`
|
||||
- [ ] PC: `git pull` to sync changes
|
||||
Reference in New Issue
Block a user