mainsequence 9.0.27__tar.gz → 9.0.29__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mainsequence-9.0.27/mainsequence.egg-info → mainsequence-9.0.29}/PKG-INFO +1 -1
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/mainsequence-inference/SKILL.md +12 -9
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/maintenance/bug_auditor/SKILL.md +11 -7
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/maintenance/code_repository_maintenance/SKILL.md +15 -13
- mainsequence-9.0.29/agent_scaffold/skills/platform_operations/access_control_and_sharing/SKILL.md +605 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/platform_operations/orchestration_and_releases/SKILL.md +11 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/sdk_code_repository_execution/SKILL.md +3 -6
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/api.py +860 -912
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/cli.py +1287 -851
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/__init__.py +2 -0
- mainsequence-9.0.29/mainsequence/client/access_catalog.py +335 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/agent_runtime_models.py +29 -3
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/base.py +10 -1
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/models_foundry.py +186 -11
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/models_helpers.py +64 -7
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/models_user.py +189 -73
- mainsequence-9.0.29/mainsequence/client/object_access.py +581 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29/mainsequence.egg-info}/PKG-INFO +1 -1
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence.egg-info/SOURCES.txt +4 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/pyproject.toml +1 -1
- mainsequence-9.0.29/tests/test_access_catalog_client.py +358 -0
- mainsequence-9.0.29/tests/test_canonical_api_route_contract.py +313 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_code_repository_skills.py +1 -3
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_environment_resource_context.py +4 -1
- mainsequence-9.0.29/tests/test_object_access_client.py +1933 -0
- mainsequence-9.0.27/agent_scaffold/skills/platform_operations/access_control_and_sharing/SKILL.md +0 -357
- mainsequence-9.0.27/tests/test_canonical_api_route_contract.py +0 -151
- {mainsequence-9.0.27 → mainsequence-9.0.29}/LICENSE +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/README.md +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/a2a_sdk_execution/SKILL.md +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/application_surfaces/api_surfaces/SKILL.md +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/maintenance/metatables_transition/SKILL.md +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/__init__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/__main__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/_request_identity.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/_team_memberships.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/_transport.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/bootstrap.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/__init__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/browser_auth.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/code_repository_status.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/config.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/docker_utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/doctor.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/local_ops.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/model_filters.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/pydantic_cli.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/sdk_utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/ssh_utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/cli/ui.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/compute_validation.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/exceptions.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/github_issues.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/inference.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/observability.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/client/value_sets.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/code_repository_context.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/code_repository_skills.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/defaults.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/instrumentation/__init__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/instrumentation/utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/logconf.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/repository_identity_security.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/runtime_credential_exchange.py +7 -7
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/runtime_flags.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/scaffold_skills.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/__init__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/_mcp_skills_upstream/__init__.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/_mcp_skills_upstream/server.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/_mcp_skills_upstream/shared.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/caller_assertions.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/fastapi.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence/server/mcp_skills.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence.egg-info/dependency_links.txt +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence.egg-info/entry_points.txt +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence.egg-info/requires.txt +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/mainsequence.egg-info/top_level.txt +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/setup.cfg +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_auth_bootstrap.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_auth_precedence.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_caller_assertions.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_cli_auth_contract.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_cli_browser_auth.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_cli_request_budget.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_cli_secure_storage.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_code_repository_branch_contract.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_code_repository_documentation_contract.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_code_repository_runtime_context.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_credential_repr.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_dependency_extras.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_dev_release_version.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_environment_response_contracts.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_fastapi_mcp.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_fastapi_request_identity.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_github_issues_client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_http_retry_budget.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_independent_context.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_inference_client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_instrumentation.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_job_client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_local_ops.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_logconf.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_mcp_skills.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_models_user_request_bound_auth.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_notification_uid_contract.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_observability_client.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_runtime_credential_exchange.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_scaffold_skills.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_secret_client_model.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_source_ownership.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_ssh_utils.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_team_memberships.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_tolerant_response_reading.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_tolerant_value_sets.py +0 -0
- {mainsequence-9.0.27 → mainsequence-9.0.29}/tests/test_user_application_facts.py +0 -0
{mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/mainsequence-inference/SKILL.md
RENAMED
|
@@ -50,15 +50,18 @@ credential storage and must not appear in messages or `provider_options`.
|
|
|
50
50
|
|
|
51
51
|
Pass optional `custom_id="openai-work"` to `client.complete()` to select that named
|
|
52
52
|
credential within the caller's Environment. Omit it to retain the first available
|
|
53
|
-
owned credential, then the first
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
identifier and do not accept
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
owned credential, then the first credential of another person that the caller may
|
|
54
|
+
use through its policies. A missing or ambiguous explicit name fails; do not retry
|
|
55
|
+
using a different credential. Recorded requests retain the exact credential UID for
|
|
56
|
+
replay. Custom endpoints use their existing provider identifier and do not accept
|
|
57
|
+
`custom_id`.
|
|
58
|
+
|
|
59
|
+
A credential's `user` policy authorizes its holders, including workload users,
|
|
60
|
+
to use it and receive it in local Tau; a custom model provider's `user` policy lets
|
|
61
|
+
them send requests through it and receive its stored authentication in local Tau.
|
|
62
|
+
Holders may copy a delivered credential or authentication; detaching the policy
|
|
63
|
+
cannot remove copies already delivered. Explain this before guiding someone
|
|
64
|
+
through giving the `user` policy. This inference client executes on the server;
|
|
62
65
|
provider management remains with the existing provider clients.
|
|
63
66
|
|
|
64
67
|
## Construct a completion envelope
|
{mainsequence-9.0.27 → mainsequence-9.0.29}/agent_scaffold/skills/maintenance/bug_auditor/SKILL.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: doc-bug-auditor
|
|
3
|
-
description:
|
|
3
|
+
description: Diagnose failures and assess requested work in the current repository using code, logs, tests, and the installed Main Sequence SDK. Use for failure classification, SDK contract mismatches, and evidence-based completion checks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Main Sequence Bug Auditor
|
|
@@ -17,6 +17,11 @@ Use this skill to inspect a checked-out Main Sequence CodeRepository and determi
|
|
|
17
17
|
|
|
18
18
|
This skill is for diagnosis and assessment. Default behavior is read-only unless the task explicitly asks for edits.
|
|
19
19
|
|
|
20
|
+
Limit the assessment to the requested work in the current repository. Use this
|
|
21
|
+
skill directly; no prior routing skill or platform catalog is required. Local
|
|
22
|
+
diagnosis needs no signed-in session. Authenticate only when the requested
|
|
23
|
+
investigation requires live platform verification.
|
|
24
|
+
|
|
20
25
|
## This Skill Can Do
|
|
21
26
|
|
|
22
27
|
- inspect CodeRepository state and summarize completion status
|
|
@@ -45,13 +50,12 @@ This skill must not claim ownership of:
|
|
|
45
50
|
|
|
46
51
|
This skill audits. It does not implement by default.
|
|
47
52
|
|
|
48
|
-
##
|
|
53
|
+
## Related Skills When Needed
|
|
54
|
+
|
|
55
|
+
Consult these only when the failing operation needs their contract or the user
|
|
56
|
+
requests follow-up work. They are not prerequisites for starting or completing
|
|
57
|
+
an audit:
|
|
49
58
|
|
|
50
|
-
- Product architecture, platform ontology, and CodeRepository Blueprint work:
|
|
51
|
-
use the matching platform-owned design skill declared by the installed
|
|
52
|
-
platform catalog; do not assume its filesystem path
|
|
53
|
-
- bootstrap, routing, and repository structure:
|
|
54
|
-
`.agents/skills/mainsequence/sdk_code_repository_execution/SKILL.md`
|
|
55
59
|
- MetaTable and table-update implementation issues: use the installed
|
|
56
60
|
`metatables` package skill that owns the affected contract
|
|
57
61
|
- Command Center FastAPI contract or release issues:
|
|
@@ -11,6 +11,9 @@ authentication, scaffold, and Git behavior. Select and sequence commands here;
|
|
|
11
11
|
do not reproduce their Python implementation or replace them with ad hoc shell
|
|
12
12
|
workflows.
|
|
13
13
|
|
|
14
|
+
Use this skill directly for the current checkout and the requested maintenance
|
|
15
|
+
task. No prior routing skill or platform catalog is required.
|
|
16
|
+
|
|
14
17
|
## Preserve The Boundary
|
|
15
18
|
|
|
16
19
|
Own:
|
|
@@ -22,16 +25,13 @@ Own:
|
|
|
22
25
|
|
|
23
26
|
Do not own:
|
|
24
27
|
|
|
25
|
-
- platform ontology or CodeRepository Blueprint design;
|
|
26
28
|
- domain implementation for data packages, APIs, jobs, or releases;
|
|
27
29
|
- backend repository reconciliation;
|
|
28
30
|
- MCP authorization policy, OAuth token storage, or access-token extraction;
|
|
29
31
|
- repository-owned skills outside `.agents/skills/mainsequence/`.
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
`maintenance/bug_auditor` when diagnosis extends beyond the maintenance
|
|
34
|
-
workflow itself.
|
|
33
|
+
For an unexplained failure, consult `maintenance/bug_auditor` when deeper
|
|
34
|
+
diagnosis is needed. This is an optional handoff, not a maintenance prerequisite.
|
|
35
35
|
|
|
36
36
|
The local identity contract is Git-native. The containing repository remote,
|
|
37
37
|
attached branch, and exact HEAD commit select the platform CodeRepository and
|
|
@@ -45,19 +45,21 @@ fall back to credential claims or injected CodeRepositoryBranch values.
|
|
|
45
45
|
|
|
46
46
|
## Inspect Before Changing State
|
|
47
47
|
|
|
48
|
-
1. Follow repository instructions, including `AGENTS.md` when present
|
|
49
|
-
|
|
48
|
+
1. Follow repository instructions, including `AGENTS.md` when present. Consult
|
|
49
|
+
domain-specific instructions only when relevant to the requested operation.
|
|
50
|
+
The SDK never scaffolds or edits repository `AGENTS.md`.
|
|
50
51
|
2. Confirm the repository root and the user's requested maintenance outcome.
|
|
51
|
-
3. Inspect
|
|
52
|
+
3. Inspect SDK and Git state:
|
|
52
53
|
|
|
53
54
|
```bash
|
|
54
|
-
mainsequence code-repository current --debug --json
|
|
55
55
|
mainsequence code-repository sdk-status --path . --json
|
|
56
56
|
git status --short
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Before branch-owned platform operations,
|
|
60
|
-
`
|
|
59
|
+
Before branch-owned platform operations, also inspect
|
|
60
|
+
`mainsequence code-repository current --debug --json` and require the current
|
|
61
|
+
Git branch, `code_repository_branch_uid`, and
|
|
62
|
+
`code_repository_branch_status=resolved`.
|
|
61
63
|
Local environment and skill updates do not require a registered platform
|
|
62
64
|
branch or a signed-in session.
|
|
63
65
|
|
|
@@ -316,7 +318,7 @@ second:
|
|
|
316
318
|
|
|
317
319
|
```yaml
|
|
318
320
|
# .mainsequence/workflows/api-production.yaml
|
|
319
|
-
api_version: "
|
|
321
|
+
api_version: "3.0.0"
|
|
320
322
|
name: api-production
|
|
321
323
|
scope:
|
|
322
324
|
environments: [production]
|
|
@@ -333,7 +335,7 @@ resources:
|
|
|
333
335
|
|
|
334
336
|
```yaml
|
|
335
337
|
# .mainsequence/workflows/api-development.yaml
|
|
336
|
-
api_version: "
|
|
338
|
+
api_version: "3.0.0"
|
|
337
339
|
name: api-development
|
|
338
340
|
scope:
|
|
339
341
|
environments: [development] # the development Environment's exact name
|