Repository navigation
Delete unused admin and console paths - #509
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This deletes admin, console and TS-client paths that no current code produces. It is part of the AGENTS.md alignment (T3b in the architecture audit: "expose no setting without a caller", "no compatibility layers").
000092dropsadmin_resource_owners,admin_asset_copiesandadmin_audit_log.result_ids, none of which any route writes.ResourceOwnerbecomes{resource_id, api_key}, andadminauditlosesResultIDs.admin-api.mdandconsole-api-usage.md(en and zh),PRODUCT.mdandDESIGN.mdare updated, andcore.openapi.yamlis regenerated.issuedkeys. Thestaticandconsolearms are deleted inwriteaudit, the TS client and Web.unrecognized: [].listSessionsTolerant,TolerantSessionList,UnrecognizedSessionand the unrecognized rows and strings are deleted.CoreProjectReadermoves into Web asProjectClient.__OAC_WEB_*defines, theVITE_AGENT_*typings,docker-guide-config.ts,vite-config.test.ts, the.env.exampleentries and theOAC_WEB_*assignments inbuild-core-distribution.share deleted.sandbox_adminconsole gate.services/webnever sends it.node_artifactsallowance andSandboxPageAccess.tsxare deleted./console/api-keysguard inservices/weband its test are deleted.services/web/node_installation.gois deleted.oac initalways publishesreleases/<rev>/plusactive.jsoninto the data volume Web serves.compose-smoke.pyis unchanged: its flat layout isoac init's input, not Web's.Behaviour
/core/v1resource owners losesourceandadmin_audit_id, and audit entries loseresult_ids. Historical admin-copy provenance shows as "Unknown".issuedis rejected as malformed./console/configis now an error.OAC_WEB_NODE_PAYLOAD_DIRis set, it must hold a validactive.json.Checks
go build ./..., module vet, andservices/webvet and tests.make check-sqlcandmake check-openapi.make check-docs,check-names.py.Net: non-test −501 lines, test −477 lines, generated −64 lines.
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.