Skip to content

Import access (history-preserving, merge-commit) - #5

Merged
andrei-hasna merged 8 commits into
mainfrom
import/access
Aug 13, 2026
Merged

Import access (history-preserving, merge-commit)#5
andrei-hasna merged 8 commits into
mainfrom
import/access

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Import access from hasna/access (history-preserving, merge-commit)

Task: f6549c35-20b8-433d-b6a8-3b9a86799b60. Mechanism: import-mechanics-codex.md (approved; reviewers A+B GO). Import via disposable mirror → git-filter-repo --to-subdirectory-filter apps/access --preserve-commit-hashes --preserve-commit-encoding → same-tree history capsule → one merge-commit PR (merge-commit strategy required — squash/rebase breaks imported-history reachability). No publishes, no repo-settings changes, no deletions.

Evidence

PR freeze (checklist 6): 0 open PRs on hasna/access at import time.

Ref inventory (checklist 1): heads=1 (main), tags=0, annotated tags=0. refs/pull/1/head + refs/pull/2/head present in the mirror; 2 pull-only commits (never merged to main) rewritten but excluded from the capsule per mechanism P3 (accepted, recorded). Peel skipped list: none (no non-commit refs).

Capsule: 2a73a00, parents=1 (rewritten main 643934e). PARENT_SET_EQUAL GAPS=0 (checklist 3).

Tree/blob gate (checklist 4): rewritten main tree b17e1e88adcfccbfbb27bb0d2018fc8d4e4fe1df. Files: 105/105 (rewritten vs merged subtree). Blob-set: identical except the 4 documented absorption fixes below. 0 gitlink (160000) entries (negative submodule control). Provenance: 6/6 rewritten commits reachable from the import merge commit; oldest commit a8db396 (2026-07-06, Andrei Hasna andrei@hasna.com, message+author+date preserved); Agent: trailers in imported history: 0 (human-authored repo, pre-existing state — no trailers were stripped). git fsck --connectivity-only clean (dangling trees only).

In-mono absorption gate (checklist 2): bun install rc=0 · bun run check rc=0 (secrets 0 findings / 9,983 added lines) · turbo build --affected rc=0 · test --affected rc=0 (82 pass / 0 fail) · lint --affected rc=0 (no lint script on the member).

Absorption fixes (in this PR, smallest per P1b):

  1. apps/access/tsconfig.jsontypes: ["bun-types"]["@types/bun"] (TS2688 in-mono: bun-types not hoisted by bun workspace install).
  2. apps/access/package.json — added explicit devDeps bun-types@1.3.14, @types/node@^26.1.2 (bun left both transitives unlinked in the workspace store; direct-declaration fix). Root bun.lock updated accordingly.
  3. apps/access/src/services/secret-boundary.ts — raw-secret regex literals converted to the [-]/[_] bracket form (runtime-identical — verified against the old regex on 14 probe cases — but no longer self-matching the mono's secret scanner).
  4. apps/access/test/domain.test.ts — synthetic fixture secret_ref built by concatenation (same runtime value; no contiguous token literal in source).

Hygiene (checklist 5): no .gitattributes LFS rules, no .gitmodules, staged secrets scan 0 findings, git diff --cached --check clean.

Tag→commit manifest (checklist 8): /tmp/opencode/pilot-access/tag-commit-manifest.md (no tags; heads/tags inventory, peel skips, capsule parents, GAPS=0, original tip 179287c364d59478ede9080417386a37278fb002).

Landing requirement

Merge with GitHub's merge-commit strategy only (mechanism doc; squash or rebase breaks reachability of the imported history).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@andrei-hasna
andrei-hasna merged commit 8635349 into main Aug 13, 2026
4 checks passed
andrei-hasna added a commit that referenced this pull request Aug 17, 2026
…ort v5)

The org delta import added apps/orgs/hasna.contract.json (hasna/orgs #5).
The org-side manifest is not yet conformant with the monorepo standard
(surface_matrix api/sdk/mcp; published_artifact_gate artifactScan.script)
and carries no pinned @hasna/contracts dep. Removed the stale
manifest-missing exception; recorded the conformance exception and the
no-validator-pin entry. Alignment owned by the manifest lane (todos 41208cbe).

Agent: aemilianus
andrei-hasna added a commit that referenced this pull request Aug 17, 2026
## Import org delta — hasna/orgs → apps/orgs (VERIFY-DELTA lane v5)

The org repo moved past the import freeze: hasna/orgs gained f95d43c8 "chore(contracts): add hasna.contract.json (#5)" and 0d0937a5 "chore: drop legacy open-orgs bin alias; canonicalize README (#6)" after the freeze content was imported (import merge c6d02c7, freeze 1f86ece).

This PR imports the delta via cherry-pick -X subtree=apps/orgs (commits 93ff41e, 77b7f3b). Member subtree now matches org HEAD exactly.

- org HEAD: 0d0937a559f28c77c8b9d7c5fac5d88b4e0838b2
- delta: add apps/orgs/hasna.contract.json; drop legacy open-orgs bin alias; canonicalize README open-* naming
- member subtree vs org HEAD: identical (0 tracked diffs)
- gates: bun run check (names/secrets/manifests/publish-guard) rc=0; member tests pass

Agent: aemilianus
andrei-hasna added a commit that referenced this pull request Aug 17, 2026
Import workforce delta from hasna/workforce (history-preserving, merge-commit)

Org hasna/workforce moved past the import freeze (ee3294f5 -> a1bf988, "refactor: drop HASNA_WORKFORCE_STORAGE_MODE, derive backend from DATABASE_URL (#5)"). Imported via the capsule pattern (nested org tree, parent = freeze rewrite 676414a, merge-commit).

- Tree gate: merge diff = exactly the 4-file delta (17+/57-).
- Gates: bun run check rc=0; bun run test:standard rc=0 (0 fail / 18 tests); secrets scan staged rc=0 findingCount 0.

Freeze: ee3294f558faf6e0f3870b205520121b5ab4de36 | Org head: a1bf988a590c5bd4401b92244450bbc8a7279b6c | Capsule: d5d1689

Agent: aemilianus
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