wenjin272 opened a new issue, #1459:
URL: https://github.com/apache/flink-agents/issues/1459

   ## Description
   
   Implement API identification rules and Java/Python lifecycle markers as the 
first foundation of the [API Stability and Compatibility 
Policy](https://github.com/apache/flink-agents/discussions/1449), sections 3 
and 5.1.
   
   Parent: https://github.com/apache/flink-agents/issues/1458
   
   ## Scope
   
   - Add a repository-root `API.md` describing the covered paths, 
identification rules, and exclusions from the proposal, and reference it from 
`AGENTS.md`.
   - Provide Java `@Stable(since = "...")`, `@Experimental(since = "...")`, 
`@Experimental(inProgress = true)`, and `@Internal` markers for types and 
members. Use standard Java `@Deprecated(since = "...")` separately, with 
migration guidance in Javadoc.
   - Provide Python `@stable`, `@experimental`, `@internal`, and separate 
`@deprecated` metadata for classes, functions, and methods. Stability 
decorators must not change invocation behavior.
   - Support member classification inheritance from the enclosing type and 
explicit overrides, with consistent semantics in Java and Python.
   - Document usage and add focused tests for metadata, inheritance/overrides, 
deprecation composition, and unchanged Python invocation behavior.
   
   ## Metadata rules
   
   - `since` identifies the first formal release under the current 
classification.
   - An incomplete public interface is `Experimental` with `in_progress` and no 
`since`. Once complete and aligned across applicable interfaces, remove 
`in_progress` and set `since` to that release.
   - `Internal` denotes internal implementation and does not require `since`.
   - Deprecation information is separate and retains the original stability 
classification and `since`.
   - An unmarked interface without an inherited classification is missing a 
marker; it does not implicitly become `Internal`.
   - Newly added user-facing interfaces and members must be explicitly 
`Experimental`, including new members of an already published `Stable` type.
   
   ## Dependencies and follow-up
   
   This can proceed alongside the `ConfigOption` extension after agreeing on 
shared lifecycle semantics. Include representative examples and tests here; 
repository-wide classification, YAML/configuration migration, and CI 
enforcement are separate tasks under the umbrella.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to