Skip to content

Preserve placeholder notation in blocked build-readiness guidance (AKB-FU-01) - #82

Open
AmanitaHouse wants to merge 18 commits into
ApolloTeam-dev:mainfrom
AmanitaHouse:upstream-contrib/15-readiness-placeholder
Open

AmanitaHouse wants to merge 18 commits into
ApolloTeam-dev:mainfrom
AmanitaHouse:upstream-contrib/15-readiness-placeholder

Conversation

@AmanitaHouse

Copy link
Copy Markdown

DEPENDENCY — REVIEW NOW, MERGE AFTER PREREQUISITES

This correction depends on upstream PR #78 and its preceding contribution chain.

Review is welcome immediately. Merge only after those prerequisites have been integrated and the incremental change revalidated.


Summary

Resolves AKB-FU-01: preserves unambiguous placeholder notation in generated build-readiness guidance.

  • Root cause: ools/resolve_compiler.py (
    esolve_prefix) emitted ApolloCrossDev/Projects/ for out-of-tree v1.0 Makefiles, while �locked_build_body strips < and > to satisfy write_project_files.py's AGENTS.md placeholder guard and prevent raw angle-bracket/HTML injection from user-provided paths. As a result, generated AGENTS.md guidance rendered ApolloCrossDev/Projects/name, making the placeholder look like a literal path.
  • Fix: Use ApolloCrossDev/Projects/{project-name} in ools/resolve_compiler.py and keep �kb/tools/resolve_compiler.py byte-identical. Angle-bracket sanitization for user-provided input, readiness decisions, and upload-safety classification remain unchanged.
  • Regression coverage: Extended ools/check_shared_workflows.py (check_build_readiness) to verify placeholder preservation and angle-bracket sanitization for out-of-tree v1.0 projects (with unresolved compiler and NDK), missing required NDK directories, and ready projects.

Provenance and incremental diff

Validation

deryk and others added 18 commits November 22, 2026 14:37
Cursor and Claude Code use the same POSIX entry points. .gitattributes
stops a Windows checkout from putting CR into those scripts, which breaks
sh under WSL. The Claude plugin identity is unchanged.
Point manifests, docs, skills and scaffolding defaults at
ApolloTeam-dev/ApolloKnowledgeBase while still accepting a developer-named
alternate clone such as AmanitaHouse.
The marketplace plugin entry included metadata the published schema rejects. Pin those schemas and fail the static check when an entry uses an unsupported field.
The GitHub marketplace indexer does not install a root source of "." or "./".
Generate a self-contained akb/ from the canonical files and fail when that copy drifts.
Git was normalising those akb copies to LF, so the package freshness check failed on Linux.
Ground apollo-build and guided project setup on a shared classifier so missing or upload-capable targets are never treated as safe compile commands.
apollo-build now distinguishes resolvable v1.0/v1.2 PREFIX shapes and wired
C_INCL_NDK usage from uncertain cases, so a Dev/Stable label alone cannot
invent a compiler path or elevate an informational finding to PROBLEM=.
Reject unknown languages, report that the C-style main.c starter is not a dedicated C++ or assembler program, and keep default workflow checks fixture-only unless --run-toolchain is passed.
… regression check.

Omits the skill and C-starter edits already submitted in upstream PR ApolloTeam-dev#66; those land separately. This remainder covers the experimental C++ starter comment, generated akb/ mirrors and the shared-workflow regression.
Document that the v1.2 label alone does not identify Make targets, and that the inspected installer creates ndk-include rather than the Makefile ndk32/ndk39 paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant