Commit 85a4fa08
85a4fa08a565Mergedfrom mrmrs-90198a
mrmrs · 2 months ago · 28 files · +4 added · ~24 modified
Description
Make integrity preflight fail closed and agent-actionable: resolve one blank-aware credential through a single shared resolver for site, repository, release, mount, feedback, push, proof, pull, blob fetch, and persistence. Repository-aware commands consistently prefer process override, then the checkout or mount-cache ApiKey, then the account credential; account-wide operations remain explicitly account-scoped. Bind clone proof to the exact repository, selected head, complete live-root snapshot, branch/depth/path scope, and bounded profile; on snapshot races, re-preflight once with the same credential and scope, then fail if roots move again. Persist credentials only after positive same-credential acceptance, and treat legacy-server disposition as unknown rather than accepted. Extend blob info beyond the old 256-commit cap with explicit bounded depth and branch scope. Update runtime help, README, bundled skill, and command reference for shallow selected-branch semantics, metadata doctor guidance, and integrity overrides.
Details
- Commit
- 85a4fa08a565
- Parent
- 822e4f939ba7
- Merge parent
- 56301fa9cbd0
README.mdmodifiedView file
`OAK_ALLOW_PARTIAL_CLONE=1` is a separate recovery flag that skips, rather than errors on, blobs a broken server failed to ship.Every clone first negotiates a bounded metadata integrity profile; merelybeing logged in does not trigger object-store probes. If only the proof'shistory/tree/path budget is exhausted, Oak prints an exact retry using`--allow-unverified-integrity` while the pull still verifies transferredhashes. `--allow-legacy-scope` is the separate, explicit compatibility waiverfor an accessible older server that cannot prove branch/depth/sparse scope.Use `oak doctor --repo ORG/REPO --verify metadata --json` for a cheap boundeddiagnostic and the platform-admin `oak blob info HASH --repo ORG/REPO --json`for bounded target byte evidence (`--depth N --branch NAME` selects a widerexplicit history scope).## Building from source```bashcli/src/commands/branch.rsmodifiedView file
Loading diff…
cli/src/commands/ci.rsmodifiedView file
Loading diff…
cli/src/commands/commit.rsmodifiedView file
Loading diff…
cli/src/commands/credentials.rsmodifiedView file
Loading diff…
cli/src/commands/feedback.rsmodifiedView file
Loading diff…
cli/src/commands/finish.rsmodifiedView file
Loading diff…
cli/src/commands/integrity.rsaddedView file
Loading diff…
cli/src/commands/merge.rsmodifiedView file
Loading diff…
cli/src/commands/mod.rsmodifiedView file
Loading diff…
cli/src/commands/mount/mod.rsmodifiedView file
Loading diff…
cli/src/commands/mount/pull.rsmodifiedView file
Loading diff…
cli/src/commands/pull.rsmodifiedView file
Loading diff…
cli/src/commands/push.rsmodifiedView file
Loading diff…
cli/src/commands/release.rsmodifiedView file
Loading diff…
cli/src/commands/repo.rsmodifiedView file
Loading diff…
cli/src/commands/site.rsmodifiedView file
Loading diff…
cli/src/commands/skill/oak-vcs/SKILL.mdmodifiedView file
Loading diff…
cli/src/commands/skill/oak-vcs/references/commands.mdmodifiedView file
Loading diff…
cli/src/commands/switch.rsmodifiedView file
Loading diff…
cli/src/commands/sync.rsmodifiedView file
Loading diff…
cli/src/main.rsmodifiedView file
Loading diff…
cli/src/work_state.rsmodifiedView file
Loading diff…
cli/tests/help_surface.rsaddedView file
Loading diff…
cli/tests/integration.rsmodifiedView file
Loading diff…
cli/tests/integrity_clone.rsaddedView file
Loading diff…
cli/tests/redirect.rsmodifiedView file
Loading diff…
cli/tests/repo_credential_precedence.rsaddedView file
Loading diff…