保存微信首次登录修复及当前生产可写预检
这个提交包含在:
1 父节点
8c2f226d43
当前提交
d944ad8652
10 个文件已更改
+987
-1
没有与搜索条件相匹配的文件
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T14:54:13.755789+00:00",
|
||||
"sourceCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"sha256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"size": 14302,
|
||||
"mode": "0o700"
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sha256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"size": 14099,
|
||||
"mode": "0o700"
|
||||
}
|
||||
],
|
||||
"diagnostics": {
|
||||
"DayuColorAttempts": 13,
|
||||
"oauthProofNotWritten": 13,
|
||||
"explicitProofRequiredDenials": 12
|
||||
},
|
||||
"productionWritable": false,
|
||||
"status": "baseline saved locally; production unchanged"
|
||||
}
|
||||
@@ -0,0 +1,430 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T14:57:46.246034+00:00",
|
||||
"pass": true,
|
||||
"sourceBaseCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"baselineReproductions": [
|
||||
{
|
||||
"suite": "wechat_callback.php",
|
||||
"baselineFailed": true,
|
||||
"failure": "FAIL DayuColor first scan writes OAuth proof without any prior UUID binding"
|
||||
},
|
||||
{
|
||||
"suite": "online_luts.php",
|
||||
"baselineFailed": true,
|
||||
"failure": "FAIL callback denial immediately stops installed client polling with the actual reason"
|
||||
}
|
||||
],
|
||||
"suites": {
|
||||
"wechat_callback.php": {
|
||||
"pass": true,
|
||||
"count": 17,
|
||||
"scope": "Actual scoped theme callback with synthetic OAuth and WordPress services; no live scan or user data.",
|
||||
"checks": [
|
||||
{
|
||||
"name": "DayuColor first scan writes OAuth proof without any prior UUID binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "proof binds this login session, hardware UUID and provider identity",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "proof has a fresh server timestamp",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "transient fallback matches proof across PHP session boundaries",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "successful proof is visible in existing login diagnostics",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXQwen3ASR",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXPython",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: FCPXSoundEffects",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: qwenzhiyin",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: DayuDownie",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing app callback preserved: DayuLightFactory",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unrecognized apps do not receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "foreign redirect host cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "wrong callback action cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "invalid login session cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "non-hardware UUID cannot receive proof",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "browser cookie or redirect alone cannot bypass provider state",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"online_luts.php": {
|
||||
"pass": true,
|
||||
"count": 50,
|
||||
"scope": "Isolated PHP/GD contracts; synthetic users, purchases and frames; no production credentials or account data.",
|
||||
"checks": [
|
||||
{
|
||||
"name": "ordinary account denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 14421",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 15792",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "active member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "lifetime member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "expired member denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "legacy active membership supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "deleted user denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UUID alone cannot mint an online session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "forged shared login token rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "non-hardware UUID format rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing bound account restored without granting unpaid access",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "shared login user must match current hardware binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unbound hardware cannot resume another account",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "restored session can be revoked normally",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "pending login cannot mint a credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "first unbound device can wait for WeChat approval",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "approval cannot bypass missing UUID binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "missing binding does not consume the login session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "callback denial immediately stops installed client polling with the actual reason",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "expired callback stops installed client polling",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "past session deadline stops polling",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "another product login rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "approved product login exchanges a random token",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "credential responses cannot be cached",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "one-time login replay rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous catalogue rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous file rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous frame rejected before decoding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "signed-in unpaid account has no online permission",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unpaid catalogue denied server-side",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "new purchase is recognized without another login",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "device rebind revokes previous session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue excludes private drafts",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "SQL string identifiers and sizes serialize as JSON numbers for the native client",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized published LUT streams original bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "private LUT cannot be downloaded by guessed ID",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue path traversal rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "server rejects modified LUT bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer returns a PNG",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer preserves source aspect and size",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "known inverse LUT transforms pixel values correctly",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized frame route returns the actual LUT effect",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "malformed image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "over-limit image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "truncated LUT rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UTF-16 BOM LUT supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "permission revoked before another frame is processed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logout invalidates server credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logged-out token cannot be reused",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"totalChecks": 67,
|
||||
"syntax": "PHP lint for both production files and test suites; Python AST parse passed",
|
||||
"deploymentReview": {
|
||||
"mode": "review",
|
||||
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
|
||||
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"files": [
|
||||
{
|
||||
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
|
||||
"sourceSHA256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
|
||||
"productionSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
|
||||
"writable": false
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sourceSHA256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
|
||||
"productionSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"writable": false
|
||||
}
|
||||
],
|
||||
"contracts": [
|
||||
{
|
||||
"suite": "wechat_callback.php",
|
||||
"count": 17,
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"suite": "online_luts.php",
|
||||
"count": 50,
|
||||
"passed": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"deployed": false,
|
||||
"productionUnchanged": true,
|
||||
"clientBinaryChanged": false,
|
||||
"installedVersion": "1.22.1 (133)",
|
||||
"liveUnboundScanVerified": false,
|
||||
"blockers": [
|
||||
"NAS production target parents are read-only in this session.",
|
||||
"Git checkpoint lock creation denied at /Users/mac/.codex/git-backup-locks; no new commit or push was performed.",
|
||||
"Remote Git readback also failed because dayu.media could not be resolved in this session."
|
||||
],
|
||||
"diffCheckPassed": true,
|
||||
"remoteReadback": {
|
||||
"verified": false,
|
||||
"reason": "git ls-remote failed: Could not resolve host: dayu.media"
|
||||
},
|
||||
"followups": [
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:33:48.944437+00:00",
|
||||
"userFeedback": "未检测到本次微信OAuth确认",
|
||||
"latestDeniedAtShanghai": [
|
||||
"2026-11-13T00:01:52+08:00",
|
||||
"2026-11-13T00:03:09+08:00"
|
||||
],
|
||||
"cause": "Production callback still omits DayuColor; both fresh attempts logged oauth_proof_not_written followed by wechat_oauth_proof_required.",
|
||||
"productionStillMatchesOriginalBaseline": true,
|
||||
"nasWritable": false,
|
||||
"gitLockWritable": false,
|
||||
"deployed": false,
|
||||
"testsRerun": false,
|
||||
"testsRerunReason": "No implementation changes since the 67 passing checks."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:36:49.701920+00:00",
|
||||
"userFeedback": "授权并部署",
|
||||
"deploymentAuthorized": true,
|
||||
"authorizationPersists": true,
|
||||
"preflightContractsPassed": 67,
|
||||
"deploymentCommand": "python3 Backend/deploy_wechat_login.py --apply",
|
||||
"deploymentExit": 1,
|
||||
"deploymentError": "AssertionError: 目标共享不可写",
|
||||
"stoppedBeforeProductionWrite": true,
|
||||
"productionUnchanged": true,
|
||||
"gitLockWritable": false,
|
||||
"remoteReadbackError": "Could not resolve host: dayu.media",
|
||||
"deployed": false,
|
||||
"nextStep": "Change effective session filesystem/network permissions; user deployment consent is already granted and must not be requested again."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T16:41:10.872423+00:00",
|
||||
"userFeedback": "完整访问权限已开启截图;询问为何仍有权限问题",
|
||||
"clientFullAccessEnabled": true,
|
||||
"localConfigSandboxMode": "danger-full-access",
|
||||
"localConfigApprovalPolicy": "never",
|
||||
"processUID": 501,
|
||||
"gitLockOwnerUID": 501,
|
||||
"gitLockMode": "0755",
|
||||
"nasDirectoryOwnerUID": 501,
|
||||
"nasDirectoryMode": "0700",
|
||||
"nasMountMarkedReadOnly": false,
|
||||
"actualGitLockWritable": false,
|
||||
"actualNASWritable": false,
|
||||
"gitNetworkResult": "Could not resolve host: dayu.media",
|
||||
"conclusion": "Client setting and local config enable full access, but current command execution still has restrictions; exact propagation/root cause not confirmed. Do not ask user to grant consent again or describe NAS as mounted read-only.",
|
||||
"deployed": false
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:01:07.274628+00:00",
|
||||
"userFeedback": "使用用户指定的账号信息通过 NAS SSH 修复权限",
|
||||
"credentialFileRead": true,
|
||||
"credentialValuesLogged": false,
|
||||
"passwordSent": false,
|
||||
"sshEndpointAttempted": "192.168.31.21:22",
|
||||
"portSource": "standard SSH default; supplied credential file contains account and password only",
|
||||
"authenticationMode": "BatchMode connectivity test; no password authentication attempted",
|
||||
"remoteCommandRequested": "id",
|
||||
"exit": 255,
|
||||
"error": "ssh: connect to host 192.168.31.21 port 22: Operation not permitted",
|
||||
"reachedRemoteAuthentication": false,
|
||||
"remoteCommandExecuted": false,
|
||||
"remotePermissionsChanged": false,
|
||||
"deployed": false,
|
||||
"conclusion": "Direct LAN SSH is denied locally before authentication; cannot diagnose or alter NAS permissions from this execution environment. Do not change server permissions merely to address local session restrictions."
|
||||
},
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:02:26.800970+00:00",
|
||||
"userEvidence": "NAS SSH settings screenshot",
|
||||
"sshEnabled": true,
|
||||
"sshPortConfirmed": 22,
|
||||
"dayuLoginAllowed": true,
|
||||
"evidenceSource": "user screenshot",
|
||||
"newConnectionAttempt": false,
|
||||
"reason": "Same endpoint already failed locally with Operation not permitted before authentication; no execution permission change observed.",
|
||||
"serverPermissionsChanged": false,
|
||||
"deployed": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"checkedAt": "2026-11-12T17:14:36.786427+00:00",
|
||||
"productionMatchesOriginalBaseline": true,
|
||||
"smBRootListCreateRenameDeleteProbePassed": true,
|
||||
"productionTargetParentsWritable": true,
|
||||
"gitLockRootWritable": true,
|
||||
"remoteMain": "8c2f226d4369d5117ec626c20a05543be95143c5",
|
||||
"isolatedChecksPassed": 67,
|
||||
"nasPermissionsChanged": false,
|
||||
"nativeMetadataBefore": {
|
||||
"wp-content/themes/ripro5/inc/oauth/weixin/callback.php": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0705",
|
||||
"xattrNames": [
|
||||
"user.DOSATTRIB"
|
||||
]
|
||||
},
|
||||
"wp-content/mu-plugins/dayu-color-online-luts.php": {
|
||||
"uid": 1000,
|
||||
"gid": 1001,
|
||||
"mode": "0700",
|
||||
"xattrNames": [
|
||||
"user.DOSATTRIB"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deploymentAuthorized": true,
|
||||
"deployed": false
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户