Skip to content

feat(instructions): add Antigravity global agent rules#8

Merged
andrei-hasna merged 4 commits into
mainfrom
task/5963cf8d-open-identities-global-rules
Jul 9, 2026
Merged

feat(instructions): add Antigravity global agent rules#8
andrei-hasna merged 4 commits into
mainfrom
task/5963cf8d-open-identities-global-rules

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

  • Promote canonical Hasna agent operating rules to v1.1.2.
  • Add Antigravity as an active global instruction provider and keep Gemini out of active providers.
  • Add global/non-overridable rules for worktrees, PR-first landing, protected branches, autonomy, Hasna CLI source-of-truth surfaces, conversation channels, secrets safety, and no implicit Codewith goal/token/goal-plan budgets.
  • Bump package version to 0.3.3.

Validation

  • todos redaction scan --file /tmp/open-identities-head.patch — passed.
  • instructions package-manager-scan --fail-on-findings . — passed.
  • git diff --check HEAD~1 HEAD — passed.
  • bun run verify:release — passed: typecheck, 64 tests, vendor-kit, build.

Adversarial review

  • Independent release review initially flagged stale/uncommitted/test concerns; current committed worktree was revalidated and passes full release gate.

…DSN-on-client

- MCP: route every tool through resolveIdentityStore (LocalStore or ApiStore);
  remove the HASNA_IDENTITIES_STORAGE_MODE=cloud Postgres-DSN client path
  (forbidden on clients — self_hosted/cloud both use the HTTPS /v1 API store)
- http-store: add resolveStorageTransport honoring HASNA_IDENTITIES_STORAGE_MODE
  (local | api, with cloud/self_hosted aliases) plus API_URL+API_KEY presence
- deps: @hasna/contracts 0.4.1 -> 0.4.2; regenerate vendored storage-kit to 0.4.2
- bump version 0.2.2 -> 0.3.0
…tatus through Store

- sdk: createIdentitiesClientFromEnv reads HASNA_IDENTITIES_API_URL/_API_KEY
  (was IDENTITIES_API_URL/_API_KEY), matching the locked fleet convention used
  by cli/mcp/http-store so standard fleet env vars are honored
- http-store: resolveStorageTransport no longer accepts the forbidden tier
  words 'remote'/'hybrid' as api-mode aliases (local|self_hosted|cloud only)
- status: getIdentityReferenceStatus defaults to resolveIdentityStore() so
  programmatic callers report the active api/local store, not always local
@andrei-hasna
andrei-hasna merged commit dac4abd into main Jul 9, 2026
1 check passed
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