Skip to content

Commit fa08324

Browse files
authored
Merge pull request #2 from jwaldrip/jwaldrip/main
Merge auth proxy and browse features to main
2 parents 9d580ff + 1f18da1 commit fa08324

File tree

200 files changed

+9555
-2841
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+9555
-2841
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Deploy Auth Proxy
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "deploy/auth-proxy/**"
8+
- "deploy/terraform/modules/auth-proxy/**"
9+
workflow_dispatch: {}
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
name: Deploy via Terraform
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: hashicorp/setup-terraform@v3
19+
20+
- name: Build function source
21+
working-directory: deploy/auth-proxy
22+
run: |
23+
npm ci
24+
npm run build
25+
26+
- name: Authenticate to GCP
27+
uses: google-github-actions/auth@v2
28+
with:
29+
credentials_json: ${{ secrets.GCP_SA_KEY }}
30+
31+
- name: Terraform Init
32+
working-directory: deploy/terraform
33+
run: terraform init
34+
35+
- name: Terraform Apply
36+
working-directory: deploy/terraform
37+
run: terraform apply -auto-approve
38+
env:
39+
TF_VAR_gcp_project_id: waldrip-net
40+
TF_VAR_domain: ${{ vars.HAIKU_DOMAIN || 'haikumethod.ai' }}
41+
TF_VAR_enable_auth_proxy: "true"
42+
TF_VAR_auth_proxy_allowed_origin: ${{ vars.HAIKU_AUTH_ALLOWED_ORIGIN || 'https://haikumethod.ai' }}
43+
TF_VAR_github_oauth_client_id: ${{ vars.NEXT_PUBLIC_HAIKU_GITHUB_OAUTH_CLIENT_ID }}
44+
TF_VAR_github_oauth_client_secret: ${{ secrets.HAIKU_GITHUB_OAUTH_CLIENT_SECRET }}
45+
TF_VAR_gitlab_oauth_client_id: ${{ vars.NEXT_PUBLIC_HAIKU_GITLAB_OAUTH_CLIENT_ID }}
46+
TF_VAR_gitlab_oauth_client_secret: ${{ secrets.HAIKU_GITLAB_OAUTH_CLIENT_SECRET }}
47+
TF_VAR_enable_mcp_dns: "false"

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ npm-debug.log*
2626
.env.local
2727
.env.*.local
2828

29+
# Secrets / credentials
30+
.secrets/
31+
*.json.key
32+
*-sa.json
33+
2934
# Testing
3035
coverage/
3136

CLAUDE.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# H·AI·K·U Project
22

3-
H·AI·K·U = Human AI Knowledge Unification — a universal lifecycle framework for structured AI-assisted work.
3+
H·AI·K·U = Human + AI Knowledge Unification — a universal lifecycle framework for structured AI-assisted work.
44

55
Three-component project: **plugin** (Claude Code plugin), **paper** (methodology spec), **website** (Next.js 15 static site).
66

@@ -18,6 +18,9 @@ When modifying any component, check if other components need corresponding updat
1818
| New studio | Document in Profiles section | Primary | Update docs |
1919
| New stage | Document in relevant profile | Primary | Update docs |
2020
| New hat (in stage) | Document in relevant profile | Add `hats/{hat}.md` file in stage directory | Update docs if user-facing |
21+
| New review agent (in stage) | Document in Quality Enforcement | Add `review-agents/{agent}.md` file in stage directory | Update docs if user-facing |
22+
| New operation template | Document in Operation phase | Add `operations/{op}.md` file in studio directory | Update docs if user-facing |
23+
| New reflection dimension | Document in Reflection phase | Add `reflections/{dim}.md` file in studio directory | Update docs if user-facing |
2124
| New lifecycle phase | Document as new section | Implement | Update docs |
2225
| Terminology change | Update all references | Update all references | Update all references |
2326
| New principle | Document in Principles section | Implement if applicable | Update if referenced |
@@ -32,11 +35,14 @@ When modifying any component, check if other components need corresponding updat
3235
- Plugin studios: `plugin/studios/*/STUDIO.md`
3336
- Plugin stages: `plugin/studios/*/stages/*/STAGE.md`
3437
- Plugin hats: `plugin/studios/*/stages/*/hats/*.md`
38+
- Plugin review agents: `plugin/studios/*/stages/*/review-agents/*.md`
39+
- Plugin operations: `plugin/studios/*/operations/*.md`
40+
- Plugin reflections: `plugin/studios/*/reflections/*.md`
3541
- Plugin hooks: `plugin/hooks/*.sh` + `plugin/.claude-plugin/hooks.json`
3642
- Plugin libraries: `plugin/lib/*.sh`
3743
- Plugin orchestration: `plugin/lib/orchestrator.sh`, `plugin/lib/stage.sh`, `plugin/lib/studio.sh`
3844
- Plugin persistence adapters: `plugin/lib/adapters/*.sh`
39-
- Plugin providers: `plugin/providers/*.md` + `plugin/schemas/providers/*.json`
45+
- Plugin providers: `plugin/providers/*.md` (bidirectional translation instructions) + `plugin/schemas/providers/*.json`
4046
- Website docs: `website/content/docs/`
4147
- Infrastructure: `deploy/terraform/`
4248
- Changelog: `CHANGELOG.md` (Keep a Changelog format)
@@ -51,7 +57,10 @@ When modifying any component, check if other components need corresponding updat
5157
| Studio | Profiles section | `plugin/studios/{name}/STUDIO.md` | studio.sh |
5258
| Stage | Profiles section | `plugin/studios/{name}/stages/{stage}/STAGE.md` | stage.sh, orchestrator.sh |
5359
| Hat | Profiles section | `plugin/studios/{name}/stages/{stage}/hats/{hat}.md` | hat.sh, stage.sh |
54-
| Review Gate | Quality Enforcement | `review:` field in STAGE.md (auto/ask/external/[external,ask]) | orchestrator.sh |
60+
| Review Agent | Quality Enforcement | `plugin/studios/{name}/stages/{stage}/review-agents/{agent}.md` | orchestrator.sh, run/SKILL.md |
61+
| Review Gate | Quality Enforcement | `review:` field in STAGE.md (auto/ask/external/await/[external,ask]) | orchestrator.sh |
62+
| Operation Template | Operation phase | `plugin/studios/{name}/operations/{op}.md` | operate/SKILL.md |
63+
| Reflection Dimension | Reflection phase | `plugin/studios/{name}/reflections/{dim}.md` | reflect/SKILL.md |
5564
| Completion Criteria | Throughout | `quality_gates:` in unit/intent frontmatter, harness-enforced | elaborate, execute, advance, quality-gate.sh |
5665
| Backpressure | Principles section | Quality gates enforced by harness, not agent | quality-gate.sh, orchestrator.sh |
5766
| Operating Modes | Operating Modes section | interactive=HITL, /haiku:execute=OHOTL, /haiku:autopilot=AHOTL | execute, autopilot |

0 commit comments

Comments
 (0)