Skip to content

Commit e09b7b9

Browse files
committed
Merge origin/dev and apply fail-closed update recovery (policy A)
Merge dev (768 commits, v2.10.0 line) into the update-recovery branch and finish the two remaining review items on top of it: - Log sanitizer now redacts space-containing profile paths: anchor-based matching redacts through spaced Windows/POSIX profiles up to the npm/cache anchors (.npm, _cacache, _npx, .opencodex-, ocx.mjs) instead of stopping at the first space (Wibias reproduction: 'C:\Users\Alice Smith\.npm\...' previously leaked whole). - Policy A (maintainer decision, Wibias recommendation): a failed GUI npm installer no longer triggers automatic proxy recovery. The failed installer may still be mutating the global package tree, so the update job stays failed and the log names the manual path ('ocx service install' or 'ocx start --port N'). Observation steps (healthy probe, pre-update PID identity, replacement detection) are kept; the launcher discovery/restart machinery and recovery-tree-scan worker are removed. - dev's hardened restart/service path is taken wholesale; branch-side preflight, sanitizer, fail-closed recovery, and liveness capture are re-applied on top. - docs-site lifecycle reference (en/ja/ko/ru/zh-cn) documents the npm cache pre-flight and the fail-closed manual recovery path. Supersedes #533; original work by @WZBbiao (imported commits preserve the wzb author identity, which GitHub does not link).
2 parents b0434ea + f9b9440 commit e09b7b9

1,381 files changed

Lines changed: 175662 additions & 16340 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.codexclaw/goalplans/opencodex-4-pabcd-work-phase-wp1-wp2-dev2-go-pr/goalplan.json

Lines changed: 0 additions & 356 deletions
This file was deleted.

.codexclaw/goalplans/opencodex-4-pabcd-work-phase-wp1-wp2-dev2-go-pr/ledger.jsonl

Lines changed: 0 additions & 21 deletions
This file was deleted.

.codexclaw/goalplans/opencodex-live-unfinished-issues-and-prs-triage/goalplan.json

Lines changed: 0 additions & 365 deletions
This file was deleted.

.codexclaw/goalplans/opencodex-live-unfinished-issues-and-prs-triage/ledger.jsonl

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/AGENTS.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# GitHub automation instructions
2+
3+
This file applies to `.github/` and inherits the repository-wide rules in `/AGENTS.md`.
4+
5+
## Security boundary
6+
7+
Every workflow, ownership, branch-enforcement, release, or repository-automation
8+
change requires explicit security review under `MAINTAINERS.md`.
9+
10+
## Workflow rules
11+
12+
- Grant the minimum required `permissions`.
13+
- Pin third-party actions to immutable full commit SHAs.
14+
- Preserve the human-readable version comment beside each pinned action.
15+
- Do not run untrusted pull-request code with secrets or write permissions.
16+
- Treat `pull_request_target`, workflow dispatch, reusable workflows, artifacts, caches, and generated command input as trust boundaries.
17+
- Do not broaden triggers, write permissions, token exposure, release eligibility, or publish capability without an explicit task requirement.
18+
- Preserve cross-platform coverage where the workflow currently promises Linux, macOS, and Windows behavior.
19+
- Keep branch-enforcement text synchronized with `AGENTS.md`, `MAINTAINERS.md`, and the public contributing guide.
20+
21+
## Validation
22+
23+
- Inspect the complete workflow diff, including event triggers, permissions, conditions, interpolation, and shell behavior.
24+
- Run the local commands represented by changed workflow steps where possible.
25+
- Run `bun run prepush` for CI, release, dependency, packaging, or cross-platform workflow changes.
26+
- Do not claim the workflow itself passed until GitHub Actions reports success for the exact commit.

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
/src/server/management-api.ts @lidge-jun @Ingwannu
1515

1616
# Governance and security policy
17+
/AGENTS.md @lidge-jun @Ingwannu
18+
**/AGENTS.md @lidge-jun @Ingwannu
1719
/MAINTAINERS.md @lidge-jun @Ingwannu
1820
/SECURITY.md @lidge-jun @Ingwannu

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ body:
3535
- Dashboard
3636
- Provider adapter
3737
- Authentication and account pool
38+
- Catalog / models
39+
- Streaming
40+
- Tools / MCP / web search
3841
- Installation or packaging
3942
- Service lifecycle
43+
- Platform (Windows / macOS / Linux)
4044
- Documentation
4145
- Other
4246
validations:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3+
- name: Report a security vulnerability (private)
4+
url: https://github.com/lidge-jun/opencodex/security/advisories/new
5+
about: Report undisclosed vulnerabilities privately to the maintainers. Do not open a public issue.
36
- name: Security policy
47
url: https://github.com/lidge-jun/opencodex/blob/main/SECURITY.md
58
about: Read the supported-version and reporting guidance before sharing security-sensitive details.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ body:
1919
- Dashboard
2020
- Provider adapters
2121
- Authentication and account pool
22+
- Catalog / models
23+
- Streaming
24+
- Tools / MCP / web search
2225
- Installation or packaging
2326
- Service lifecycle
27+
- Platform (Windows / macOS / Linux)
2428
- Documentation
2529
- Multiple areas
2630
- Other

.github/ISSUE_TEMPLATE/provider_compatibility.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Provider or API compatibility
22
description: Report an incompatible provider, endpoint, request shape, response shape, or client integration.
33
labels:
44
- provider-compatibility
5+
- provider
56
body:
67
- type: markdown
78
attributes:

0 commit comments

Comments
 (0)