Repository navigation
Fix the security pages, the reviewed pages, and remove duplicate pages - #108
Open
DavidLambauer wants to merge 7 commits into
Open
DavidLambauer wants to merge 7 commits into
DavidLambauer wants to merge 7 commits into
Conversation
Delete the 13 pages that are not in the navigation. Each is an older copy of a linked page (acl, di, routes, ...) or of the API pages, and they still render at their own URLs and show up in search. Also delete five linked pages that carry no usable content: the empty tutorials collection, the architecture diagrams page (placeholder boxes), the Magento application admin tour, the case studies (they invent an XML file and a module) and the extension use cases (invented extensions and APIs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page told readers to email security@example.com and to encrypt with an example.com PGP key. Replace it with the routes from the Mage-OS security policy: security@mage-os.org for Mage-OS-only issues, Adobe's HackerOne program or psirt@adobe.com for code shared with Magento Open Source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
These four pages carry no AI banner, so readers trust them most, but their samples failed when copied: - module-development: add registration.php and module:enable, use etc/frontend/routes.xml and the controller path /custom reaches, map the web API interface with a di.xml preference, use explicit nullable types for PHP 8.4, declare the GraphQL type, and fix the dev:tests:run options. - installation-guide: install with OpenSearch (Mage-OS rejects elasticsearch7), say the search engine is required, fix the invalid JSON, add the missing download step to the Warden setup, stop re-enabling every cache after disabling some, and describe the Mage-OS 4 bin/magento install wizard. - add-custom-shipping-carrier: register the module under one name (Vendor_ShippingCarrier; MageOS_ is Mage-OS's own prefix), use the Magento_Store config.xsd, and describe shipping_cost correctly. - directory-structure: drop the invented bin/setup and the duplicate dev entry, and describe app/etc, app/i18n, generated/ and vendor/mage-os correctly. Lines 1-45 of installation-guide.md are untouched; #107 updates them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page presented an include() guarded by escapeHtml() as safe (it allows ../ traversal), hashed passwords with getHash() without a salt, called admin 2FA optional, recommended chmod 644 on every file, and pointed to settings that don't exist (cookie_secure, Uploader::isValid()). Correct or remove each of these, describe Argon2id hashing, mandatory 2FA and Mage-OS 4 passkeys, and link the reporting page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every sample, command and the install wizard were run on a Mage-OS 4.0.0 store. Corrections: - installation-guide: config:set --lock-env for the 2FA provider list writes an array to env.php that breaks every bin/magento command, so the Warden 2FA step no longer locks it; the wizard's "disable 2FA" step fails on 4.0, so the guide gives the module:disable command for passkeys and 2FA together; the cron line matches what cron:install writes; the dead mirror-list link is replaced. - module-development: the API interface file name didn't match its class; template output is escaped; new routes and layouts need a cache:flush; the test command no longer reports FAILED on success. - security-features: setup:install generates a random admin path, so there is no default "admin" path to change; adds the 12-character admin password rule and the stored hash format, and that the upload check accepts a PHP file named .jpg. - add-custom-shipping-carrier: rates were confirmed through REST; the file tree and the country restriction are corrected. - directory-structure, reporting-security-issues: small corrections. Lines 1-45 of installation-guide.md stay untouched (#107). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Every deleted duplicate has a kept _xml version, and no other open PR links to any of the 18 deleted pages. One claim is wrong, and the other issues are minor.
|
This was referenced Nov 30, 2026
This was referenced Nov 30, 2026
… rule on the quick-win pages Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
Thanks, checked each point against the code and Adobe's pages (head now 33c5a3f):
🤖 Generated with Claude Code |
gregor-RW
approved these changes
Nov 30, 2026
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.
First batch of fixes from a content audit of the docs. Every change was checked against the Mage-OS 4.0.0 code.
Security
security@example.comand to use an example.com PGP key. It now gives the routes from Mage-OS'sSECURITY.md:security@mage-os.orgfor issues that affect only Mage-OS, and Adobe's HackerOne program orpsirt@adobe.comfor code shared with Magento Open Source.include()"secured" withescapeHtml(), which still allows../traversal;getHash()for passwords;chmod 644on every file;cookie_secure,Uploader::isValid()).Reviewed pages
These four pages have
communityNote: false, so readers trust them most, but their samples failed when copied.module-development:
registration.phpandmodule:enable;di.xmlpreference the API needs;dev:tests:runoptions.installation-guide:
elasticsearch7), and the search engine is now marked as required;bin/magento installwizard.Lines 1–45 are untouched, because Add system requirements for Mage-OS 2.1.0 to 4.0.0 #107 changes them.
add-custom-shipping-carrier:
Vendor_ShippingCarrier.MageOS_is the prefix of Mage-OS's own modules, and the registered name didn't match the module.xml name;config.xsd.directory-structure: removes the invented
bin/setup, and correctsapp/etc,app/i18n,generated/andvendor/mage-os.Removed pages
13 unlinked duplicates:
acl,cron_groups,db_schema,di,extension_attributes,fieldset,indexer,menu,routes;webapiandwidget;rest-apis-soap-apis,the-magento-application-and-service-contracts.They weren't in the navigation but still rendered at their own URLs.
5 linked pages with no usable content:
The navigation and the
excludeFileslist incontext7.jsonare updated to match. The site has no redirects, so the removed URLs return 404.All XML samples validate against the 4.0.0 XSD files with
xmllint, and all PHP samples passphp -lon PHP 8.4.Tested on a running store
Every command and code sample on these pages was then run on a Mage-OS 4.0.0 store in Warden (PHP 8.4, MariaDB 11.8, OpenSearch 3.4, Valkey 8.1, Varnish 8.0, RabbitMQ 4.2), and the pages were corrected wherever the store behaved differently from what the code suggested. What needs several servers or outside services was checked in the code only.
Merge mage-os/devdocs-website#74 first: this pull request removes pages, and until that change is live the website answers a request for a removed page with a 500. #151 adds the redirects to the pages that replace them.
Merge order and notes for reviewers: #115.
🤖 Generated with Claude Code