Skip to content

Trinity Dialogue v3: prirodzené odpovede a schvaľovanie bez ID - #2

Draft
uscolective-byte wants to merge 22 commits into
mainfrom
feature/trinity-control-center-v2-20261010
Draft

uscolective-byte wants to merge 22 commits into
mainfrom
feature/trinity-control-center-v2-20261010

Conversation

@uscolective-byte

Copy link
Copy Markdown
Owner

Zmeny

  • Prirodzené slovenské odpovede cez Gemini, krátky kontext rozhovoru, žiadne simulované úspešné stavy
  • Návrhy deploymentu s cieľom/prostredím/verziou; schválenie bez interného ID; zamietnutie; expirácia; izolácia podľa účtu a konverzácie
  • Bezpečný DOM chat (textContent), tlačidlá Schváliť/Zamietnuť a návrh ďalšieho kroku
  • D1 SQL migrácia, dokumentácia a 18 lokálne úspešných Node testov

Bezpečnostné blokátory pred merge/deploy

  • Existujúci projekt má v zdrojovom kóde ukážkovú autentifikáciu: pred produkciou nahradiť Cloudflare Access alebo serverovou identitou
  • D1 TRINITY_DB nie je zatiaľ pripojená: bez nej nie je aktívne perzistentné schvaľovanie
  • Tento PR nepridáva automatické nasadenie; schválenie iba mení stav žiadosti

Bez explicitnej revízie nenasadzovať do produkcie.

Copy link
Copy Markdown
Owner Author

CI repair and current runner blocker (2026-10-10)

Fixed in this PR branch:

  • Replaced the generic Node workflow with a Cloudflare Worker-oriented CI: Node 22, npm ci, npm test, JavaScript syntax checks and Wrangler deploy --dry-run (never a production deployment).
  • Removed obsolete .github/workflows/webpack.yml (no Webpack configuration or dependency in this Worker project).
  • Independently ran the Dialogue v3 unit tests locally: 18/18 passed.

Remaining GitHub Actions infrastructure/account problem

Latest run: https://github.com/uscolective-byte/Trinity/actions/runs/38074858071

GitHub API reports job 114279605344, conclusion=failure, runner_name="", labels=["ubuntu-latest"], steps=[], started 18:12:42 UTC and completed 18:12:44 UTC. No runner was assigned; checkout/test/build did not execute. This is not evidence of a source test failure. The earlier main branch (2026-09-09) ran steps, and failed at npm test because the previous main package had no test script.

Recommended GitHub-side checks:

  1. Repository Settings → Actions → General (Actions enabled; third-party actions permitted).
  2. Account Settings → Billing & licensing → Budgets and alerts for hosted-runner budgets/payment restrictions.
  3. GitHub Status / Support if settings are correct. Include the run and job IDs above.

Do not merge or deploy until a fresh green GitHub Actions run and a security review. Existing auth includes demo credentials and the D1 TRINITY_DB binding/migration is not yet verified.

Copy link
Copy Markdown
Owner Author

Follow-up runner test: Changed runs-on from ubuntu-latest to explicit ubuntu-22.04 in commit 74d0903. New run https://github.com/uscolective-byte/Trinity/actions/runs/38074955515 also failed before startup. GitHub API: job 114279890744, runner_name="", steps=[], 2026-10-10 18:14:08–18:14:10 UTC. This reproduces the hosted-runner allocation failure across two labels. Workflow code was not executed. Account/repository Actions policy, billing/budgets, and GitHub Support/status must be checked before cloud CI can be considered green. No deployment performed.

Copy link
Copy Markdown
Owner Author

Cloudflare staging integration added to this PR:

  • New isolated wrangler.staging.toml targets trinity-dialogue-staging, with workers_dev = false, preview_urls = false, no routes. Existing tenebris-core / aura-trinity untouched.
  • New GitHub Actions workflow Cloudflare Trinity Staging supports PR validation and manual deploy-private only after successful tests, requiring the trinity-staging environment and CLOUDFLARE_API_TOKEN / CLOUDFLARE_ACCOUNT_ID secrets.
  • Staging D1 is automatically discovered or created in EU jurisdiction; schema applied and binding generated by scripts/prepare_cloudflare_staging.py. No manual D1 ID required.
  • Optional Gemini secret configured during private deployment.
  • Steps in docs/cloudflare-staging.md.

Current outcome: committed and ready for review, but not run or deployed. There is no Cloudflare account connector/credential available in this chat, and the most recent GitHub Actions workflows have not started runners successfully. Also do not expose a public route until replacing legacy hardcoded login and validating Cloudflare Access JWTs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant