Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## [Unreleased]

### Changed
- Align Admin with the exact manager-compatible owner archive closure (#150).

### Changed
- Require readable capability layers and contextual refactoring with a twenty-line method gate (#148).

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@

## Task 3D owner compatibility

Issue #150 aligns existing Admin behavior with the exact public owner candidates below.
Issue #150 qualifies Admin .12 and aligns existing Admin behavior with the exact public owner candidates below.
Keycloak identity, session authority and reusable mobile-first UI remain owned by their existing
packages. This compatibility slice adds no browser application or Agent execution authority.

| Owner | Version | Source | Archive SHA-256 |
| --- | --- | --- | --- |
| SDK | `0.0.0-cordis.19` | `90cf4f3cc62e166685280450c727499defd2af5b` | `93dd549c98aba180306e9b19cc1cbc37494544b2764ed341c531c9af618c6f81` |
| Identity | `0.0.0-cordis.8` | `cb86258e93337559aa4a248177a20bd2a07fd467` | `a308c71b0da1822e7786121092a05f2496d26614942aaeb459a78531e689cb76` |
| UI | `0.0.0-cordis.18` | `e2b9c5e10611c196834fd57ba5358a74304e373c` | `d09e6ed33f7f1bc2f7210208a94f33bbd2a6453d8fe886f75a1f950887223e48` |
| SDK | `0.0.0-cordis.42` | `afdfac7bdd3c9c1f783362cd1d50324181e1d725` | `0ecfe599916fe8ef364fc4b73203c810981f163109fbe71a0dd4c01a9dfb7bbc` |
| Identity | `0.0.0-cordis.9` | `c60dfdbc53ce78ddee3c2f18ec7f91358878d49c` | `2999a78da5c04f6a894c643d49ab3881ff702fb4325d74fec469a4496f034c67` |
| UI | `0.0.0-cordis.23` | `d5d33c33791fe8b94aada605dba4aa9392559637` | `7291d35fe8758fd27b23f663dcf1f254bd915b5ae3569dde8c9a2f443e45a14f` |

Peer pins, installed packages and accepted archives must agree. Historical artifacts stay
The built public compatibility program requires manager channel 1.1.0-cordis.1 and preserves
all seven global operations. Peer pins, installed packages and accepted archives must agree. Historical artifacts stay
immutable. Full Task 3D runtime acceptance and productive Work/model execution are separate;
the latter remains Task 10. All issues remain open until authorized release.

Expand Down
12 changes: 6 additions & 6 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treeseed-cordis/admin",
"version": "0.0.0-cordis.11",
"version": "0.0.0-cordis.12",
"private": true,
"type": "module",
"license": "Apache-2.0",
Expand Down Expand Up @@ -36,9 +36,9 @@
"check:readability": "bun .agents/skills/release-workflow/scripts/source-readability.ts"
},
"peerDependencies": {
"@treeseed-cordis/sdk": "0.0.0-cordis.19",
"@treeseed-cordis/identity": "0.0.0-cordis.8",
"@treeseed-cordis/ui": "0.0.0-cordis.18",
"@treeseed-cordis/sdk": "0.0.0-cordis.42",
"@treeseed-cordis/identity": "0.0.0-cordis.9",
"@treeseed-cordis/ui": "0.0.0-cordis.23",
"react": "19.3.1",
"react-dom": "19.3.1"
},
Expand All @@ -62,18 +62,18 @@
"cordisCandidate": {
"sdk": {
"repository": "https://github.com/treeseed-ai/sdk.git",
"commit": "90cf4f3cc62e166685280450c727499defd2af5b",
"sha256": "93dd549c98aba180306e9b19cc1cbc37494544b2764ed341c531c9af618c6f81"
"commit": "afdfac7bdd3c9c1f783362cd1d50324181e1d725",
"sha256": "0ecfe599916fe8ef364fc4b73203c810981f163109fbe71a0dd4c01a9dfb7bbc"
},
"identity": {
"repository": "https://github.com/treeseed-ai/identity.git",
"commit": "cb86258e93337559aa4a248177a20bd2a07fd467",
"sha256": "a308c71b0da1822e7786121092a05f2496d26614942aaeb459a78531e689cb76"
"commit": "c60dfdbc53ce78ddee3c2f18ec7f91358878d49c",
"sha256": "2999a78da5c04f6a894c643d49ab3881ff702fb4325d74fec469a4496f034c67"
},
"ui": {
"repository": "https://github.com/treeseed-ai/ui.git",
"commit": "e2b9c5e10611c196834fd57ba5358a74304e373c",
"sha256": "d09e6ed33f7f1bc2f7210208a94f33bbd2a6453d8fe886f75a1f950887223e48"
"commit": "d5d33c33791fe8b94aada605dba4aa9392559637",
"sha256": "7291d35fe8758fd27b23f663dcf1f254bd915b5ae3569dde8c9a2f443e45a14f"
}
},
"cordis": {
Expand All @@ -94,15 +94,15 @@
},
"cordisAsset": {
"path": "dist/src/browser.bundle.js",
"sha256": "c7f7e2a214b86a75cb6b8454325bced2530c0518183f34582c72d4ba603e30fe"
"sha256": "0367223c65c01c630f6cc77c1602ed2fa051d7f543e3db834523f8fecd93d98f"
},
"cordisPackage": {
"formatVersion": 4,
"contractVersion": "0.4.0-cordis.1",
"pluginId": "admin",
"package": {
"name": "@treeseed-cordis/admin",
"version": "0.0.0-cordis.11"
"version": "0.0.0-cordis.12"
},
"providers": [
{
Expand Down Expand Up @@ -395,8 +395,8 @@
"assets": [
{
"path": "dist/src/browser.bundle.js",
"sha256": "c7f7e2a214b86a75cb6b8454325bced2530c0518183f34582c72d4ba603e30fe",
"size": 1007807
"sha256": "0367223c65c01c630f6cc77c1602ed2fa051d7f543e3db834523f8fecd93d98f",
"size": 1017539
}
],
"images": []
Expand Down
2 changes: 1 addition & 1 deletion src/views.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {PlatformOperations} from '@treeseed-cordis/sdk';
import {UiSchemas,type UiViewModel} from '@treeseed-cordis/ui/contracts';
export class AdminPackageIdentity {
static readonly version = '0.0.0-cordis.11';
static readonly version = '0.0.0-cordis.12';
static readonly artifact = '@treeseed-cordis/admin@' + this.version;
}
export class AdminViews {
Expand Down
36 changes: 27 additions & 9 deletions tests/support/capacity-contract-program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,51 @@ import * as sdk from '@treeseed-cordis/sdk';
import { IdentityBuild } from '@treeseed-cordis/identity';
import { AdminBuild } from '../../src/admin.js';

interface Selection { version: string; commit: string; sha256: string; }
interface Selection {
version: string;
commit: string;
sha256: string;
}
class OwnerCompatibilityProgram {
private static readonly entries: Record<string, string> = {
sdk: createRequire(import.meta.url).resolve('@treeseed-cordis/sdk'),
identity: createRequire(import.meta.url).resolve('@treeseed-cordis/identity'),
ui: createRequire(import.meta.url).resolve('@treeseed-cordis/ui'),
};
private static readonly selections: Record<string, Selection> = {
sdk: { version: '0.0.0-cordis.19', commit: '90cf4f3cc62e166685280450c727499defd2af5b',
sha256: '93dd549c98aba180306e9b19cc1cbc37494544b2764ed341c531c9af618c6f81' },
identity: { version: '0.0.0-cordis.8', commit: 'cb86258e93337559aa4a248177a20bd2a07fd467',
sha256: 'a308c71b0da1822e7786121092a05f2496d26614942aaeb459a78531e689cb76' },
ui: { version: '0.0.0-cordis.18', commit: 'e2b9c5e10611c196834fd57ba5358a74304e373c',
sha256: 'd09e6ed33f7f1bc2f7210208a94f33bbd2a6453d8fe886f75a1f950887223e48' },
sdk: {
version: '0.0.0-cordis.42',
commit: 'afdfac7bdd3c9c1f783362cd1d50324181e1d725',
sha256: '0ecfe599916fe8ef364fc4b73203c810981f163109fbe71a0dd4c01a9dfb7bbc',
},
identity: {
version: '0.0.0-cordis.9',
commit: 'c60dfdbc53ce78ddee3c2f18ec7f91358878d49c',
sha256: '2999a78da5c04f6a894c643d49ab3881ff702fb4325d74fec469a4496f034c67',
},
ui: {
version: '0.0.0-cordis.23',
commit: 'd5d33c33791fe8b94aada605dba4aa9392559637',
sha256: '7291d35fe8758fd27b23f663dcf1f254bd915b5ae3569dde8c9a2f443e45a14f',
},
};
run(): void {
for (const [owner, selection] of Object.entries(OwnerCompatibilityProgram.selections))
this.selection(owner, selection);
assert.equal(typeof Reflect.get(sdk, 'CapacitySchemas'), 'function');
const channel = Reflect.get(sdk, 'CapacityChannelSchemas');
assert.equal(typeof channel, 'function');
assert.equal(Reflect.get(channel, 'version'), '1.1.0-cordis.1');
assert.equal(sdk.PlatformOperations.all.length, 7);
assert.equal(AdminBuild.metadata().capability, 'admin.routes');
assert.equal(IdentityBuild.package().package.version, '0.0.0-cordis.8');
assert.equal(IdentityBuild.package().package.version, '0.0.0-cordis.9');
process.stdout.write('owner-adoption-ok\n');
}
private selection(owner: string, selection: Selection): void {
const metadata = JSON.parse(readFileSync('package.json', 'utf8'));
const digest = createHash('sha256').update(readFileSync('vendor/' + owner + '.tgz')).digest('hex');
const digest = createHash('sha256')
.update(readFileSync('vendor/' + owner + '.tgz'))
.digest('hex');
assert.equal(metadata.peerDependencies['@treeseed-cordis/' + owner], selection.version);
assert.equal(metadata.cordisCandidate[owner].commit, selection.commit);
assert.equal(metadata.cordisCandidate[owner].sha256, selection.sha256);
Expand Down
Binary file modified vendor/identity.tgz
Binary file not shown.
Binary file modified vendor/sdk.tgz
Binary file not shown.
Binary file modified vendor/ui.tgz
Binary file not shown.
Loading